title: Configuring Hadoop, HBase and Hive Cluster
body: <p>I am a newbie to Hadoop, HBase and Hive. I installed Hadoop, HBase and Hive in pseudodistributed mode and everything works fine.
  Now I am planning to set up an simple Hadoop Cluster (5 nodes) with Hive, HBase and ZooKeeper. I´ve read several documentations and instructions before but i could not find a good explanation for my question. I´m not sure, where to run all the daemons. This is my consideration:</p>
  <p><strong>Node_1</strong> (Master)</p>
  <ul>
  <li><p>NameNode</p>
  </li>
  <li><p>JobTrakcer</p>
  </li>
  <li><p>HBase Master</p>
  </li>
  <li><p>ZooKeeper (Standalone node; managed by HBase)</p>
  <br/>
  </li>
  </ul>
  <p><strong>Node_2</strong> (Backup_Master)</p>
  <ul>
  <li><p>SecondaryNameNode</p>
  <br/>
  </li>
  </ul>
  <p><strong>Node_3</strong> (Slave1)</p>
  <ul>
  <li><p>DataNode1</p>
  </li>
  <li><p>TaskTracker1</p>
  </li>
  <li><p>RegionServer1</p>
  <br/>
  </li>
  </ul>
  <p><strong>Node_4</strong> (Slave2)</p>
  <ul>
  <li><p>DataNode2</p>
  </li>
  <li><p>TaskTracker2</p>
  </li>
  <li><p>RegionServer2</p>
  <br/>
  </li>
  </ul>
  <p><strong>Node_5</strong> (Slave3)</p>
  <ul>
  <li>DataNode3</li>
  <li>TaskTracker3</li>
  <li>RegionServer3</li>
  </ul>
  <br/>
  <p>I know, in production it is recommended to run ZooKeeper ensemble at an odd number of nodes (seperate Cluster). But for a simple cluster, is it OK to set up a standalone ZooKeeper node which runs on the master node?</p>
  <p>Another question is regarding Hive: I know that Hive is a Hadoop client. Should I also install Hive on the master node? Does it make sense?</p>
  <p>Thanks for all tips and comments!
  Hakan</p>
  <p>Note: I have just 5 machines to simulate a cluster.</p>