title: HBase has issues with Java 8 and zookeeper
body: <p>I want to install hbase 1.2.4. When I try to run <code>bin/start-hbase.sh</code> I get the following warnings.</p>
  
  <pre><code>OpenJDK 64-Bit Server VM warning: ignoring option PermSize=128m; support was removed in 8.0
  OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0'
  </code></pre>
  
  <p>The <code>hbase shell</code> command generates a huge number of the well known zookeeper exceptions... </p>
  
  <pre><code>ERROR [main] zookeeper.RecoverableZooKeeper: ZooKeeper exists failed after 4 attempts
  WARN  [main] zookeeper.ZKUtil: hconnection-0x1a96d94c0x0, quorum=localhost:2181, baseZNode=/hbase Unable to set watcher on znode (/hbase/hbaseid)
  
  org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/hbaseid
  at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
  at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
  at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1045)
  .....
  .....
  </code></pre>
  
  <p>Hadoop is already running.
  hbase-site.xml contains the following.</p>
  
  <pre><code>   &lt;property&gt;
        &lt;name&gt;hbase.rootdir&lt;/name&gt;
        &lt;value&gt;file:///usr/local/hbase&lt;/value&gt;
     &lt;/property&gt;
     &lt;property&gt;
        &lt;name&gt;hbase.zookeeper.property.dataDir&lt;/name&gt;
        &lt;value&gt;/usr/local/hbase/zookeeper&lt;/value&gt;
     &lt;/property&gt;
     &lt;property&gt;
         &lt;name&gt;zookeeper.znode.parent&lt;/name&gt;
         &lt;value&gt;/hbase&lt;/value&gt;
     &lt;/property&gt;
  </code></pre>
  
  <p>What could be the possible solution? Do the Java warnings about VM actually matter or could be ignored? </p>