accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Vines (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-2985) MAC Can't start in 1.6.1-SNAPSHOT
Date Wed, 09 Jul 2014 20:17:05 GMT

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

John Vines commented on ACCUMULO-2985:
--------------------------------------

It looks like it may be connecting to ZK and then it either goes down or is shut down

{code}2014-07-09 16:12:43,863 INFO  [main-SendThread(localhost:6349)] zookeeper.ClientCnxn
(ClientCnxn.java:primeConnection(947)) - Socket connection established to localhost/127.0.0.1:6349,
initiating session
2014-07-09 16:12:43,875 INFO  [main-SendThread(localhost:6349)] zookeeper.ClientCnxn (ClientCnxn.java:readConnectResult(736))
- Session establishment complete on server localhost/127.0.0.1:6349, sessionid = 0x1471cc1a7290004,
negotiated timeout = 30000
2014-07-09 16:12:47,774 INFO  [main-SendThread(localhost:6349)] zookeeper.ClientCnxn (ClientCnxn.java:run(1183))
- Unable to read additional data from server sessionid 0x1471cc1a7290004, likely server has
closed socket, closing socket connection and attempting reconnect
2014-07-09 16:12:49,183 INFO  [main-SendThread(localhost:6349)] zookeeper.ClientCnxn (ClientCnxn.java:startConnect(1058))
- Opening socket connection to server localhost/127.0.0.1:6349
2014-07-09 16:12:49,185 WARN  [main-SendThread(localhost:6349)] zookeeper.ClientCnxn (ClientCnxn.java:run(1185))
- Session 0x1471cc1a7290004 for server null, unexpected error, closing socket connection and
attempting reconnect
java.net.ConnectException: Connection refused
	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:735)
	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1143){code}

> MAC Can't start in 1.6.1-SNAPSHOT
> ---------------------------------
>
>                 Key: ACCUMULO-2985
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2985
>             Project: Accumulo
>          Issue Type: Bug
>          Components: mini
>            Reporter: John Vines
>            Priority: Blocker
>             Fix For: 1.6.1
>
>
> Using the following code to do some work-
> {code}public class TestMACWithRealInstance {
>   public static void main(String args[]) throws IOException, AccumuloException, AccumuloSecurityException,
TableExistsException, InterruptedException {
>     MiniAccumuloConfig macConfig = new MiniAccumuloConfig(new File("/tmp/mac"), "secret");
>     macConfig.setNumTservers(2);
>     MiniAccumuloCluster mac = new MiniAccumuloCluster(macConfig);
>     mac.start();
>     mac.getConnector("root", "secret").tableOperations().create("macCreated");
>     mac.stop();
>   }
> }
> {code}
> It works fine against 1.6.0, but it seems broken against 01da4f4a8b14a125d3a2e29ef98dd044ab9ec75f
with it waiting for ZK to start in perpetuity.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message