You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Jorge Machado (JIRA)" <ji...@apache.org> on 2017/10/19 13:45:00 UTC
[jira] [Created] (ACCUMULO-4724) MiniAccumuloCluster does not start
Jorge Machado created ACCUMULO-4724:
---------------------------------------
Summary: MiniAccumuloCluster does not start
Key: ACCUMULO-4724
URL: https://issues.apache.org/jira/browse/ACCUMULO-4724
Project: Accumulo
Issue Type: Bug
Affects Versions: 1.8.1
Environment: Local Mac
Reporter: Jorge Machado
Hi Guys,
I was trying the MiniAccumuloCluster but it seems not to work. It Hangs on the .start()
On the master log from mini accumulo I see :
{code:java}
2017-10-19 15:38:22 INFO TableLoadBalancer:98 - Loaded class org.apache.accumulo.server.master.balancer.DefaultLoadBalancer for table +r
2017-10-19 15:38:22 INFO MetricsSystemImpl:375 - Scheduled snapshot period at 10 second(s).
2017-10-19 15:38:22 INFO MetricsSystemImpl:192 - Accumulo metrics system started
2017-10-19 15:38:22 ERROR Main:193 - Thread 'org.apache.accumulo.master.Master' died.
java.lang.NoSuchMethodError: org.apache.thrift.transport.TNonblockingServerSocket.getPort()I
at org.apache.accumulo.server.rpc.TServerUtils.createNonBlockingServer(TServerUtils.java:202)
at org.apache.accumulo.server.rpc.TServerUtils.startTServer(TServerUtils.java:524)
at org.apache.accumulo.server.rpc.TServerUtils.startTServer(TServerUtils.java:485)
at org.apache.accumulo.server.rpc.TServerUtils.startServer(TServerUtils.java:152)
at org.apache.accumulo.master.Master.run(Master.java:1247)
at org.apache.accumulo.master.Master.main(Master.java:1434)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.accumulo.start.Main$2.run(Main.java:157)
at java.lang.Thread.run(Thread.java:745)
{code}
{code:java}
File loc = new File("./target/minicluster");
FileUtils.deleteDirectory(loc);
loc.mkdir();
loc.deleteOnExit();
accMiniCluster = new MiniAccumuloCluster(new MiniAccumuloConfig(loc,"root"));
accMiniCluster.start();
accCon = accMiniCluster.getConnector("root","root");
accCon.tableOperations().create(tablename);
{code}
Ideas ?!
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)