Hi Yamini,
The /tracers node in ZooKeeper was likely initialized previously using
an Accumulo configuration that has a different value for
instance.secret. You can delete this znode to move forward if you have
no other Accumulo instance you intend to run on this ZK instance.
$ $ZOOKEEPER_HOME/bin/zkCli.sh -server m4:2181,m5:2181,m6:2181
> rmr /tracers
You can also set a different value for trace.zookeeper.path in
accumulo-site.xml. After doing this, you can try running a start-all.sh
again to start the tracer.
You also mentioned that the Monitor did not start but did not include an
exception for that service. The error you included only shows that the
Accumulo Master/TabletServer did not correctly start and assign the
system tables (accumulo.root and accumulo.metadata).
Yamini Joshi wrote:
Hello all
I am trying to configure a multinode cluster with accumulo. I am using 3
machines with the config as follows:
M4: Hadoop Master/Acc Slave
M5: Accumulo Master/Monitor/Gc
M6: Slave
I have configured zookeeper ensemble on the cluster with all the 3
nodes. The Hadoop part seems to work fine, I can see the console and run
MR jobs easily. I can also see the zookeeper cluster with M2 as the
leader. My problem is with accumulo, after accumulo init:
bin/accumulo init
which seems to run without any error, after I isuue the command
bin/start-all.sh
the Monitor process can't start. I am getting this error in my tracer log:
[start.Main] ERROR: Thread 'tracer' died.
org.apache.zookeeper.KeeperException$NoAuthException: KeeperErrorCode =
NoAuth for /tracers/trace-
at
org.apache.zookeeper.KeeperException.create(KeeperException.java:113)
at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:783)
at
org.apache.accumulo.fate.zookeeper.ZooUtil.putEphemeralSequential(ZooUtil.java:464)
at
org.apache.accumulo.fate.zookeeper.ZooReaderWriter.putEphemeralSequential(ZooReaderWriter.java:99)
at
org.apache.accumulo.tracer.TraceServer.registerInZooKeeper(TraceServer.java:304)
at org.apache.accumulo.tracer.TraceServer.<init>(TraceServer.java:241)
at org.apache.accumulo.tracer.TraceServer.main(TraceServer.java:346)
at
org.apache.accumulo.tracer.TracerExecutable.execute(TracerExecutable.java:33)
at org.apache.accumulo.start.Main$1.run(Main.java:120)
at java.lang.Thread.run(Thread.java:745)
And this in my monitor debug log:
Failed to locate tablet for table : !0 row : ~err_\100
I can see that the accumulo dir has been created in the HDFS. Can anyone
please guide me set this up? I am attaching my config files here (Rest
all the same generated as a result of bin_config file).
Best regards,
Yamini Joshi