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

Last change on this file 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
Line 
1#!/bin/bash
2/opt/hadoop/bin/hadoop-daemon.sh start namenode
3/opt/hadoop/bin/hadoop-daemon.sh start secondarynamenode
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
7/opt/hadoop/bin/hadoop dfsadmin -safemode leave
8echo "=========================================="
9echo "run 'stop-hadoop' to stop hadoop daemons. "
10echo "=========================================="
Note: See TracBrowser for help on using the repository browser.