Reputation: 373
I have 2 hadoop pseudo(standalone) servers, which I created for testing purposes. Now I want to club the two servers into one cluster and make this a Master-Slave configuration. Is there anyway to achieve this? Thanks in advance.
Upvotes: 0
Views: 731
Reputation: 1729
Step 1 Determine which pseudo you want to be master. Once decided add master machine name in file
$hadoop_home/conf/master
Step 2
If u want other pseudo as well as master machine to act as DataNodes then add these machine names in file
$hadoop_home/conf/slaves
Step 3
Make SSH password less connection between master and slave. And change
/etc/hosts
file if necessary if they are getting connected.
Step 4 Now prepare the hadoop MultiNode Cluster to start
Format namenode
$hadoop_home/bin/hadoop namenode -format
Start the cluster
$hadoop_home/bin/start-all.sh
Upvotes: 1
Reputation: 4832
sure you can, just follow Running Hadoop on Ubuntu Linux (Multi-Node Cluster)
Upvotes: 0