Hi Rukshan,
How did you start the Monitor?
The MiniAccumuloCluster is actually a thin wrapper around
MiniAccumuloClusterImpl (in recent versions). If you cast to
MiniAccumuloClusterImpl, you should be able to use the exec method to
start the Monitor for you which will do the proper classpath setup for you.
((MiniAccumuloClusterImpl) mac).exec(Monitor.class);
The authentication failure is commonly due to a security measure we have
in place to ensure that rogue services cannot start participating in an
Accumulo cluster. The value of `instance.secret` in accumulo-site.xml is
used to control the ACL in ZooKeeper used to write to certain znodes
(such as those used for service discovery). If you see a
NoAuthException, it's likely that the service you started found the
wrong accumulo-site.xml (or didn't find it at all).
- Josh
Rukshan Chathuranga wrote:
Hi,
i am try to get the Accumulo statistics using
Monitor(org.apache.accumulo.monitor.Monitor) class. But when i try it i
got the exception as below.
Do you have any idea to fix this.
Note that i am running accumulo as mini cluster.
2015-06-05 21:27:58,052 [monitor.Monitor] WARN : Failed to get monitor
lock org.apache.zookeeper.KeeperException$NoAuthException:
/Rukshan Chathuranga./
/Department Of Computer Science & Engineering,
/
/Faculty Of Engineering,
/
/University Of Moratuwa. //Sri Lanka./
/WEB: http://www.rukspot.com/ <http://rukspot.com/>
/