You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Christopher Tubbs (JIRA)" <ji...@apache.org> on 2017/10/20 21:53:00 UTC

[jira] [Commented] (ACCUMULO-4724) MiniAccumuloCluster does not start

    [ https://issues.apache.org/jira/browse/ACCUMULO-4724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16213303#comment-16213303 ] 

Christopher Tubbs commented on ACCUMULO-4724:
---------------------------------------------

It is possible that you have the wrong version of Thrift on your class path. For 1.8.1, you should have libthrift version 0.9.3

> 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)