You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "John Vines (JIRA)" <ji...@apache.org> on 2014/07/10 19:26:05 UTC

[jira] [Issue Comment Deleted] (ACCUMULO-2985) MAC doesn't stop cleanly in 1.6.1-SNAPSHOT

     [ https://issues.apache.org/jira/browse/ACCUMULO-2985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Vines updated ACCUMULO-2985:
---------------------------------

    Comment: was deleted

(was: 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 doesn't stop cleanly 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 after calling stop() it just sits in the terminal spewing messages about unable to connect to zookeeper



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