Setting up a Hadoop cluster is usually a pretty involved task. There are certain rules about how the cluster is to be configured. These rules need to be followed strictly for the cluster to work. For example, some nodes need to know how to talk to the other nodes, and some nodes need to allow other nodes to talk to them. Go ahead and check out the official instructions, or this more detailed tutor