#!/bin/bash /opt/hadoop/bin/hadoop-daemon.sh start namenode /opt/hadoop/bin/hadoop-daemon.sh start datanode /opt/hadoop/bin/hadoop-daemon.sh start jobtracker /opt/hadoop/bin/hadoop-daemon.sh start tasktracker echo "==========================================" echo "run 'stop-hadoop' to stop hadoop daemons." echo "=========================================="