Are you running hbase in standalone mode ?

See http://hbase.apache.org/book.html#zookeeper

bq. To toggle HBase management of ZooKeeper, use the HBASE_MANAGES_ZK variable
in conf/hbase-env.sh.

Cheers

On Sun, Nov 2, 2014 at 6:41 AM, beeshma r <beeshm...@gmail.com> wrote:

> HI
>
> When i start hbase fallowing error is occurred .How to  solve this? i
> haven't add any zokeeper path anywhere?
>
> Please suggest this.
>
> 2014-11-01 20:01:51,196 INFO  [main] server.ZooKeeperServer: Server
> environment:java.io.tmpdir=/tmp
> 2014-11-01 20:01:51,196 INFO  [main] server.ZooKeeperServer: Server
> environment:java.compiler=<NA>
> 2014-11-01 20:01:51,196 INFO  [main] server.ZooKeeperServer: Server
> environment:os.name=Linux
> 2014-11-01 20:01:51,196 INFO  [main] server.ZooKeeperServer: Server
> environment:os.arch=amd64
> 2014-11-01 20:01:51,196 INFO  [main] server.ZooKeeperServer: Server
> environment:os.version=3.11.0-12-generic
> 2014-11-01 20:01:51,196 INFO  [main] server.ZooKeeperServer: Server
> environment:user.name=beeshma
> 2014-11-01 20:01:51,196 INFO  [main] server.ZooKeeperServer: Server
> environment:user.home=/home/beeshma
> 2014-11-01 20:01:51,197 INFO  [main] server.ZooKeeperServer: Server
> environment:user.dir=/home/beeshma/hbase-0.98.6.1-hadoop2/bin
> 2014-11-01 20:01:51,202 ERROR [main] master.HMasterCommandLine: Master
> exiting
> java.io.IOException: Unable to create data directory
> /home/beesh_hadoop2/zookeeper/zookeeper_0/version-2
>     at
>
> org.apache.zookeeper.server.persistence.FileTxnSnapLog.<init>(FileTxnSnapLog.java:85)
>     at
>
> org.apache.zookeeper.server.ZooKeeperServer.<init>(ZooKeeperServer.java:213)
>     at
>
> org.apache.hadoop.hbase.zookeeper.MiniZooKeeperCluster.startup(MiniZooKeeperCluster.java:162)
>     at
>
> org.apache.hadoop.hbase.zookeeper.MiniZooKeeperCluster.startup(MiniZooKeeperCluster.java:131)
>     at
>
> org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:165)
>     at
>
> org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:135)
>     at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
>     at
>
> org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:126)
>     at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2785)
>

Reply via email to