You need to deploy jobtracker and namenode on the master node then deploy datanodes on multiple slave nodes.