accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Medinets <>
Subject Initialized But No /accumulo/instance_id was created in Zookeeper
Date Mon, 11 Jun 2012 01:58:56 GMT
I deleted /accumulo from HDFS. I ran "ls /" in Zookeeper and did not
see /accumulo. So I ran the 'accumulo init' program. No errors.

Then I ran ZooZap with the verbose option and got this error:

12/06/10 21:57:06 ERROR client.ZooKeeperInstance: unable obtain
instance id at /accumulo/instance_id
Exception in thread "main" java.lang.RuntimeException: Accumulo not
initialized, there is no instance id at /accumulo/instance_id
	at org.apache.accumulo.core.client.ZooKeeperInstance.getInstanceIDFromHdfs(
	at org.apache.accumulo.server.client.HdfsZooInstance._getInstanceID(
	at org.apache.accumulo.server.client.HdfsZooInstance.getInstanceID(
	at org.apache.accumulo.server.util.ZooZap.main(

Has something changed in how the accumulo information is stored in Zookeeper?

Looking at Zookeeper, I now see:

[zk: 1] ls /
[accumulo, zookeeper]
[zk: 2] ls /accumulo
[2b64e012-a197-4ec0-a487-dc2e154cbd94, instances]
[zk: 3] ls /accumulo/instances
[zk: 4] ls /accumulo/instances/development
[zk: 5] ls
[tables, tservers, users, problems, next_file, root_tablet,
hdfs_reservations, tracers, gc, table_locks, config, masters]

View raw message