source: hadoop4win-setup/my_packages/hadoop/bin/start-hadoop-daemon @ 243

Last change on this file since 243 was 243, checked in by jazz, 14 years ago
  • modified start-hadoop-daemon
    • leave safe mode after started
  • modified start-hadoop-daemon
    • configure /opt/hadoop/conf/mapred-site.xml
  • Property svn:executable set to *
File size: 464 bytes
RevLine 
[140]1#!/bin/bash
2/opt/hadoop/bin/hadoop-daemon.sh start namenode
[232]3/opt/hadoop/bin/hadoop-daemon.sh start secondarynamenode
[140]4/opt/hadoop/bin/hadoop-daemon.sh start datanode
5/opt/hadoop/bin/hadoop-daemon.sh start jobtracker
6/opt/hadoop/bin/hadoop-daemon.sh start tasktracker
[243]7/opt/hadoop/bin/hadoop dfsadmin -safemode leave
[140]8echo "=========================================="
[142]9echo "run 'stop-hadoop' to stop hadoop daemons. "
[243]10echo "=========================================="
Note: See TracBrowser for help on using the repository browser.