Changes between Version 3 and Version 4 of HowToSetupHadoopCluster
- Timestamp:
- Jan 18, 2010, 10:24:26 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowToSetupHadoopCluster
v3 v4 14 14 where 10.10.10.10 is the ip of the ''slave-N'' machine. [[BR]] 15 15 '''Step 3.5''' Add the same entry added in master's /etc/hosts file to each other slave's /etc/hosts, so that every slave can resolve the name ''slave-N''.[[BR]] 16 '''Step 3.6''' Put the master's ssh public keys to ''slave-N''`s ~/.ssh directory, and check that16 '''Step 3.6''' Put the master's ssh public keys to ''slave-N''`s ~/.ssh/authorized_keys, and check that. 17 17 {{{ 18 18 #ssh slave-N 19 19 }}} 20 20 works without asking a passwsord. [[BR]] 21 '''Step 3.7''' Add a line with ''slave-N'' in the master's <HADOOP_DIR>/conf/slaves file. 21 '''Step 3.7''' Add a line with ''slave-N'' in the master's <HADOOP_DIR>/conf/slaves file. [[BR]] 22 22 '''Step 3.8''' Restart the cluster from the master's console: 23 23 {{{ 24 hadoop# conf/stop-dfs.sh25 hadoop# conf/stop-mapred.sh26 hadoop# conf/start-dfs.sh27 hadoop# conf/start-mapred.sh24 hadoop# conf/stop-dfs.sh 25 hadoop# conf/stop-mapred.sh 26 hadoop# conf/start-dfs.sh 27 hadoop# conf/start-mapred.sh 28 28 }}} 29 29