Add the new node's DNS name to the conf/slaves file on the master node. Then log in to the new slave node and execute:
If you are using Cloudera's distribution of Hadoop:
service hadoop-0.20-datanode start
service hadoop-0.20-tasktracker start
If you are using Apache distribution of Hadoop:
$ cd path/to/hadoop
$ bin/hadoop-daemon.sh start datanode
$ bin/hadoop-daemon.sh start tasktracker
If you are using Cloudera's distribution of Hadoop:
service hadoop-0.20-datanode start
service hadoop-0.20-tasktracker start
If you are using Apache distribution of Hadoop:
$ cd path/to/hadoop
$ bin/hadoop-daemon.sh start datanode
$ bin/hadoop-daemon.sh start tasktracker
No comments:
Post a Comment
Thank you for Commenting Will reply soon ......