ZooKeeper_branch34_jdk8 - Build # 1162 - Failure
See https://builds.apache.org/job/ZooKeeper_branch34_jdk8/1162/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 31.64 MB...] [junit] 2017-10-12 23:20:55,109 [myid:] - INFO [main:PrepRequestProcessor@769] - Shutting down [junit] 2017-10-12 23:20:55,109 [myid:] - INFO [main:SyncRequestProcessor@208] - Shutting down [junit] 2017-10-12 23:20:55,109 [myid:] - INFO [ProcessThread(sid:0 cport:11221)::PrepRequestProcessor@144] - PrepRequestProcessor exited loop! [junit] 2017-10-12 23:20:55,110 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@186] - SyncRequestProcessor exited! [junit] 2017-10-12 23:20:55,110 [myid:] - INFO [main:FinalRequestProcessor@403] - shutdown of request processor complete [junit] 2017-10-12 23:20:55,111 [myid:] - INFO [main:FourLetterWordMain@65] - connecting to 127.0.0.1 11221 [junit] 2017-10-12 23:20:55,111 [myid:] - INFO [main:JMXEnv@147] - ensureOnly:[] [junit] 2017-10-12 23:20:55,113 [myid:] - INFO [main:ClientBase@489] - STARTING server [junit] 2017-10-12 23:20:55,113 [myid:] - INFO [main:ClientBase@410] - CREATING server instance 127.0.0.1:11221 [junit] 2017-10-12 23:20:55,114 [myid:] - INFO [main:ServerCnxnFactory@117] - Using org.apache.zookeeper.server.NIOServerCnxnFactory as server connection factory [junit] 2017-10-12 23:20:55,114 [myid:] - INFO [main:NIOServerCnxnFactory@89] - binding to port 0.0.0.0/0.0.0.0:11221 [junit] 2017-10-12 23:20:55,114 [myid:] - INFO [main:ClientBase@385] - STARTING server instance 127.0.0.1:11221 [junit] 2017-10-12 23:20:55,115 [myid:] - INFO [main:ZooKeeperServer@173] - Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 6 datadir /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_jdk8/build/test/tmp/test680045926673423872.junit.dir/version-2 snapdir /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_jdk8/build/test/tmp/test680045926673423872.junit.dir/version-2 [junit] 2017-10-12 23:20:55,119 [myid:] - ERROR [main:ZooKeeperServer@468] - ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes [junit] 2017-10-12 23:20:55,119 [myid:] - INFO [main:FourLetterWordMain@65] - connecting to 127.0.0.1 11221 [junit] 2017-10-12 23:20:55,120 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@215] - Accepted socket connection from /127.0.0.1:60658 [junit] 2017-10-12 23:20:55,120 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@892] - Processing stat command from /127.0.0.1:60658 [junit] 2017-10-12 23:20:55,121 [myid:] - INFO [Thread-4:NIOServerCnxn$StatCommand@683] - Stat command output [junit] 2017-10-12 23:20:55,122 [myid:] - INFO [Thread-4:NIOServerCnxn@1040] - Closed socket connection for client /127.0.0.1:60658 (no session established for client) [junit] 2017-10-12 23:20:55,122 [myid:] - INFO [main:JMXEnv@230] - ensureParent:[InMemoryDataTree, StandaloneServer_port] [junit] 2017-10-12 23:20:55,124 [myid:] - INFO [main:JMXEnv@247] - expect:InMemoryDataTree [junit] 2017-10-12 23:20:55,125 [myid:] - INFO [main:JMXEnv@251] - found:InMemoryDataTree org.apache.ZooKeeperService:name0=StandaloneServer_port11221,name1=InMemoryDataTree [junit] 2017-10-12 23:20:55,125 [myid:] - INFO [main:JMXEnv@247] - expect:StandaloneServer_port [junit] 2017-10-12 23:20:55,125 [myid:] - INFO [main:JMXEnv@251] - found:StandaloneServer_port org.apache.ZooKeeperService:name0=StandaloneServer_port11221 [junit] 2017-10-12 23:20:55,125 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@58] - Memory used 31590 [junit] 2017-10-12 23:20:55,126 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@63] - Number of threads 20 [junit] 2017-10-12 23:20:55,126 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@78] - FINISHED TEST METHOD testQuota [junit] 2017-10-12 23:20:55,126 [myid:] - INFO [main:ClientBase@566] - tearDown starting [junit] 2017-10-12 23:20:55,188 [myid:] - INFO [main:ZooKeeper@687] - Session: 0x101721ae204 closed [junit] 2017-10-12 23:20:55,188 [myid:] - INFO [main:ClientBase@536] - STOPPING server [junit] 2017-10-12 23:20:55,188 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@520] - EventThread shut down for session: 0x101721ae204 [junit] 2017-10-12 23:20:55,189 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@242] - NIOServerCnxn factory exited run method [junit] 2017-10-12 23:20:55,189 [myid:] - INFO [main:ZooKeeperServer@501] - shutting down [junit] 2017-10-12 23:20:55,189 [myid:] - ERROR [main:ZooKeeperServer@468] - ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or S
[jira] [Commented] (ZOOKEEPER-2814) Ignore space after comma in connection string
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16202374#comment-16202374 ] ASF GitHub Bot commented on ZOOKEEPER-2814: --- Github user mfenes commented on the issue: https://github.com/apache/zookeeper/pull/371 Regex implementation would be shorter to ignore the spaces and empty strings as ``` connectString.replaceAll("\\s", "").replaceAll(",+", ",").split(",") ``` does the same thing as the new StringUtils.split(String value, String separator) implementation in this PR. > Ignore space after comma in connection string > - > > Key: ZOOKEEPER-2814 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2814 > Project: ZooKeeper > Issue Type: Bug >Affects Versions: 3.5.3 >Reporter: Viliam Durina >Assignee: Nikhil Bhide >Priority: Minor > > I'm using the following connection string: > {{10.0.0.179:2181,10.0.0.176:2181}} > However, I get: > {{java.net.UnknownHostException: 10.0.0.176: Name or service not known > at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) > at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928) > at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323) > at java.net.InetAddress.getAllByName0(InetAddress.java:1276) > at java.net.InetAddress.getAllByName(InetAddress.java:1192) > at java.net.InetAddress.getAllByName(InetAddress.java:1126) > at > org.apache.zookeeper.client.StaticHostProvider.(StaticHostProvider.java:61) > at org.apache.zookeeper.ZooKeeper.(ZooKeeper.java:445) > at ... > ...}} > The problem was the space after the comma. I suggest to either make the space > optional or produce error on it, as this is a real pain to spot. Using the > space also makes the connect string more readable. Spaces are not allowed in > domain names. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[GitHub] zookeeper issue #371: ZOOKEEPER-2814: Ignore space after comma in connection...
Github user mfenes commented on the issue: https://github.com/apache/zookeeper/pull/371 Regex implementation would be shorter to ignore the spaces and empty strings as ``` connectString.replaceAll("\\s", "").replaceAll(",+", ",").split(",") ``` does the same thing as the new StringUtils.split(String value, String separator) implementation in this PR. ---
ZooKeeper_branch34_openjdk7 - Build # 1682 - Failure
See https://builds.apache.org/job/ZooKeeper_branch34_openjdk7/1682/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 32.63 MB...] [junit] 2017-10-12 15:15:37,037 [myid:] - INFO [main:FinalRequestProcessor@403] - shutdown of request processor complete [junit] 2017-10-12 15:15:37,037 [myid:] - INFO [main:FourLetterWordMain@65] - connecting to 127.0.0.1 11221 [junit] 2017-10-12 15:15:37,037 [myid:] - INFO [main:JMXEnv@147] - ensureOnly:[] [junit] 2017-10-12 15:15:37,038 [myid:] - INFO [main:ClientBase@489] - STARTING server [junit] 2017-10-12 15:15:37,038 [myid:] - INFO [main:ClientBase@410] - CREATING server instance 127.0.0.1:11221 [junit] 2017-10-12 15:15:37,038 [myid:] - INFO [main:ServerCnxnFactory@117] - Using org.apache.zookeeper.server.NIOServerCnxnFactory as server connection factory [junit] 2017-10-12 15:15:37,039 [myid:] - INFO [main:NIOServerCnxnFactory@89] - binding to port 0.0.0.0/0.0.0.0:11221 [junit] 2017-10-12 15:15:37,039 [myid:] - INFO [main:ClientBase@385] - STARTING server instance 127.0.0.1:11221 [junit] 2017-10-12 15:15:37,039 [myid:] - INFO [main:ZooKeeperServer@173] - Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 6 datadir /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_openjdk7/build/test/tmp/test6962590045902536430.junit.dir/version-2 snapdir /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_openjdk7/build/test/tmp/test6962590045902536430.junit.dir/version-2 [junit] 2017-10-12 15:15:37,042 [myid:] - ERROR [main:ZooKeeperServer@468] - ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes [junit] 2017-10-12 15:15:37,042 [myid:] - INFO [main:FourLetterWordMain@65] - connecting to 127.0.0.1 11221 [junit] 2017-10-12 15:15:37,043 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@215] - Accepted socket connection from /127.0.0.1:57785 [junit] 2017-10-12 15:15:37,043 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@892] - Processing stat command from /127.0.0.1:57785 [junit] 2017-10-12 15:15:37,043 [myid:] - INFO [Thread-4:NIOServerCnxn$StatCommand@683] - Stat command output [junit] 2017-10-12 15:15:37,043 [myid:] - INFO [Thread-4:NIOServerCnxn@1040] - Closed socket connection for client /127.0.0.1:57785 (no session established for client) [junit] 2017-10-12 15:15:37,044 [myid:] - INFO [main:JMXEnv@230] - ensureParent:[InMemoryDataTree, StandaloneServer_port] [junit] 2017-10-12 15:15:37,045 [myid:] - INFO [main:JMXEnv@247] - expect:InMemoryDataTree [junit] 2017-10-12 15:15:37,045 [myid:] - INFO [main:JMXEnv@251] - found:InMemoryDataTree org.apache.ZooKeeperService:name0=StandaloneServer_port11221,name1=InMemoryDataTree [junit] 2017-10-12 15:15:37,045 [myid:] - INFO [main:JMXEnv@247] - expect:StandaloneServer_port [junit] 2017-10-12 15:15:37,045 [myid:] - INFO [main:JMXEnv@251] - found:StandaloneServer_port org.apache.ZooKeeperService:name0=StandaloneServer_port11221 [junit] 2017-10-12 15:15:37,046 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@58] - Memory used 20136 [junit] 2017-10-12 15:15:37,046 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@63] - Number of threads 20 [junit] 2017-10-12 15:15:37,046 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@78] - FINISHED TEST METHOD testQuota [junit] 2017-10-12 15:15:37,046 [myid:] - INFO [main:ClientBase@566] - tearDown starting [junit] 2017-10-12 15:15:37,124 [myid:] - INFO [main:ZooKeeper@687] - Session: 0x104cd8485a3 closed [junit] 2017-10-12 15:15:37,124 [myid:] - INFO [main:ClientBase@536] - STOPPING server [junit] 2017-10-12 15:15:37,124 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@520] - EventThread shut down for session: 0x104cd8485a3 [junit] 2017-10-12 15:15:37,125 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@242] - NIOServerCnxn factory exited run method [junit] 2017-10-12 15:15:37,125 [myid:] - INFO [main:ZooKeeperServer@501] - shutting down [junit] 2017-10-12 15:15:37,125 [myid:] - ERROR [main:ZooKeeperServer@468] - ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes [junit] 2017-10-12 15:15:37,125 [myid:] - INFO [main:SessionTrackerImpl@226] - Shutting down [junit] 2017-10-12 15:15:37,125 [myid:] - INFO [main:PrepRequestProcessor@769] - Shutting down [junit] 2017-10-12 15:15:37,125 [myid:] - INFO [main:SyncRequestProcessor@208] - Shutting down [junit] 2017-10-12 15:15:37,125 [myid:] - INFO [ProcessThread(sid:0 cport:11221)::PrepRequestProcessor@144] - PrepRequestProce
ZooKeeper_branch35_jdk8 - Build # 714 - Still Failing
See https://builds.apache.org/job/ZooKeeper_branch35_jdk8/714/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 165.17 MB...] [junit] 2017-10-12 12:20:09,602 [myid:3] - INFO [WorkerReceiver[myid=3]:FastLeaderElection@688] - Notification: 2 (message format version), 1 (n.leader), 0x2 (n.zxid), 0x3 (n.round), LOOKING (n.state), 1 (n.sid), 0x2 (n.peerEPoch), LOOKING (my state)0 (n.config version) [junit] 2017-10-12 12:20:09,602 [myid:3] - INFO [WorkerReceiver[myid=3]:FastLeaderElection@688] - Notification: 2 (message format version), 1 (n.leader), 0x2 (n.zxid), 0x3 (n.round), LOOKING (n.state), 1 (n.sid), 0x2 (n.peerEPoch), LOOKING (my state)0 (n.config version) [junit] 2017-10-12 12:20:09,603 [myid:3] - INFO [WorkerReceiver[myid=3]:FastLeaderElection@688] - Notification: 2 (message format version), 1 (n.leader), 0x2 (n.zxid), 0x3 (n.round), LOOKING (n.state), 1 (n.sid), 0x2 (n.peerEPoch), LOOKING (my state)0 (n.config version) [junit] 2017-10-12 12:20:09,603 [myid:3] - INFO [WorkerReceiver[myid=3]:FastLeaderElection@688] - Notification: 2 (message format version), 1 (n.leader), 0x2 (n.zxid), 0x3 (n.round), LOOKING (n.state), 1 (n.sid), 0x2 (n.peerEPoch), LOOKING (my state)0 (n.config version) [junit] 2017-10-12 12:20:09,603 [myid:3] - INFO [WorkerReceiver[myid=3]:FastLeaderElection@688] - Notification: 2 (message format version), 1 (n.leader), 0x2 (n.zxid), 0x3 (n.round), LOOKING (n.state), 1 (n.sid), 0x2 (n.peerEPoch), LOOKING (my state)0 (n.config version) [junit] 2017-10-12 12:20:09,603 [myid:3] - INFO [WorkerReceiver[myid=3]:FastLeaderElection@688] - Notification: 2 (message format version), 1 (n.leader), 0x2 (n.zxid), 0x3 (n.round), LOOKING (n.state), 1 (n.sid), 0x2 (n.peerEPoch), LOOKING (my state)0 (n.config version) [junit] 2017-10-12 12:20:09,604 [myid:3] - INFO [WorkerReceiver[myid=3]:FastLeaderElection@688] - Notification: 2 (message format version), 1 (n.leader), 0x2 (n.zxid), 0x3 (n.round), LOOKING (n.state), 1 (n.sid), 0x2 (n.peerEPoch), LOOKING (my state)0 (n.config version) [junit] 2017-10-12 12:20:09,604 [myid:3] - INFO [WorkerReceiver[myid=3]:FastLeaderElection@688] - Notification: 2 (message format version), 1 (n.leader), 0x2 (n.zxid), 0x3 (n.round), LOOKING (n.state), 1 (n.sid), 0x2 (n.peerEPoch), LOOKING (my state)0 (n.config version) [junit] 2017-10-12 12:20:09,604 [myid:3] - INFO [WorkerReceiver[myid=3]:FastLeaderElection@688] - Notification: 2 (message format version), 1 (n.leader), 0x2 (n.zxid), 0x3 (n.round), LOOKING (n.state), 1 (n.sid), 0x2 (n.peerEPoch), LOOKING (my state)0 (n.config version) [junit] 2017-10-12 12:20:09,605 [myid:3] - INFO [WorkerReceiver[myid=3]:FastLeaderElection@688] - Notification: 2 (message format version), 1 (n.leader), 0x2 (n.zxid), 0x3 (n.round), LOOKING (n.state), 1 (n.sid), 0x2 (n.peerEPoch), LOOKING (my state)0 (n.config version) [junit] 2017-10-12 12:20:09,605 [myid:3] - INFO [WorkerReceiver[myid=3]:FastLeaderElection@688] - Notification: 2 (message format version), 1 (n.leader), 0x2 (n.zxid), 0x3 (n.round), LOOKING (n.state), 1 (n.sid), 0x2 (n.peerEPoch), LOOKING (my state)0 (n.config version) [junit] 2017-10-12 12:20:09,605 [myid:3] - INFO [WorkerReceiver[myid=3]:FastLeaderElection@688] - Notification: 2 (message format version), 1 (n.leader), 0x2 (n.zxid), 0x3 (n.round), LOOKING (n.state), 1 (n.sid), 0x2 (n.peerEPoch), LOOKING (my state)0 (n.config version) [junit] 2017-10-12 12:20:09,700 [myid:3] - INFO [WorkerReceiver[myid=3]:FastLeaderElection@688] - Notification: 2 (message format version), 1 (n.leader), 0x2 (n.zxid), 0x3 (n.round), LOOKING (n.state), 1 (n.sid), 0x2 (n.peerEPoch), LOOKING (my state)0 (n.config version) [junit] 2017-10-12 12:20:09,701 [myid:3] - INFO [WorkerReceiver[myid=3]:FastLeaderElection@688] - Notification: 2 (message format version), 1 (n.leader), 0x2 (n.zxid), 0x3 (n.round), LOOKING (n.state), 1 (n.sid), 0x2 (n.peerEPoch), LOOKING (my state)0 (n.config version) [junit] 2017-10-12 12:20:09,701 [myid:3] - INFO [WorkerReceiver[myid=3]:FastLeaderElection@688] - Notification: 2 (message format version), 1 (n.leader), 0x2 (n.zxid), 0x3 (n.round), LOOKING (n.state), 1 (n.sid), 0x2 (n.peerEPoch), LOOKING (my state)0 (n.config version) [junit] 2017-10-12 12:20:09,702 [myid:3] - INFO [WorkerReceiver[myid=3]:FastLeaderElection@688] - Notification: 2 (message format version), 1 (n.leader), 0x2 (n.zxid), 0x3 (n.round), LOOKING (n.state), 1 (n.sid), 0x2 (n.peerEPoch), LOOKING (my state)0 (n.config version) [junit] 2017-10-12 12:20:09,702 [myid:3] - INFO [WorkerReceiver[myid=3]:FastLeaderElection@688] - Notification: 2 (message format version),
ZooKeeper-trunk-jdk8 - Build # 1241 - Still Failing
See https://builds.apache.org/job/ZooKeeper-trunk-jdk8/1241/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 66.54 MB...] [junit] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214) [junit] 2017-10-12 12:01:13,243 [myid:127.0.0.1:24687] - INFO [main-SendThread(127.0.0.1:24687):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:24687. Will not attempt to authenticate using SASL (unknown error) [junit] 2017-10-12 12:01:13,243 [myid:127.0.0.1:24687] - WARN [main-SendThread(127.0.0.1:24687):ClientCnxn$SendThread@1235] - Session 0x689d99c8a for server 127.0.0.1/127.0.0.1:24687, unexpected error, closing socket connection and attempting reconnect [junit] java.net.ConnectException: Connection refused [junit] at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) [junit] at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) [junit] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357) [junit] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214) [junit] 2017-10-12 12:01:13,314 [myid:127.0.0.1:24687] - INFO [main-SendThread(127.0.0.1:24687):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:24687. Will not attempt to authenticate using SASL (unknown error) [junit] 2017-10-12 12:01:13,314 [myid:127.0.0.1:24687] - WARN [main-SendThread(127.0.0.1:24687):ClientCnxn$SendThread@1235] - Session 0x689d99c8a0001 for server 127.0.0.1/127.0.0.1:24687, unexpected error, closing socket connection and attempting reconnect [junit] java.net.ConnectException: Connection refused [junit] at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) [junit] at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) [junit] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357) [junit] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214) [junit] 2017-10-12 12:01:13,550 [myid:127.0.0.1:24690] - INFO [main-SendThread(127.0.0.1:24690):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:24690. Will not attempt to authenticate using SASL (unknown error) [junit] 2017-10-12 12:01:13,550 [myid:127.0.0.1:24690] - WARN [main-SendThread(127.0.0.1:24690):ClientCnxn$SendThread@1235] - Session 0x10689d99eaf0001 for server 127.0.0.1/127.0.0.1:24690, unexpected error, closing socket connection and attempting reconnect [junit] java.net.ConnectException: Connection refused [junit] at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) [junit] at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) [junit] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357) [junit] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214) [junit] 2017-10-12 12:01:13,972 [myid:127.0.0.1:24690] - INFO [main-SendThread(127.0.0.1:24690):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:24690. Will not attempt to authenticate using SASL (unknown error) [junit] 2017-10-12 12:01:13,973 [myid:127.0.0.1:24690] - WARN [main-SendThread(127.0.0.1:24690):ClientCnxn$SendThread@1235] - Session 0x10689d99eaf for server 127.0.0.1/127.0.0.1:24690, unexpected error, closing socket connection and attempting reconnect [junit] java.net.ConnectException: Connection refused [junit] at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) [junit] at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) [junit] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357) [junit] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214) [junit] 2017-10-12 12:01:14,613 [myid:127.0.0.1:24687] - INFO [main-SendThread(127.0.0.1:24687):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:24687. Will not attempt to authenticate using SASL (unknown error) [junit] 2017-10-12 12:01:14,613 [myid:127.0.0.1:24687] - WARN [main-SendThread(127.0.0.1:24687):ClientCnxn$SendThread@1235] - Session 0x689d99c8a0001 for server 127.0.0.1/127.0.0.1:24687, unexpected error, closing socket connection and attempting reconnect [junit] java.net.ConnectException: Connection refused [junit] at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) [junit] at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) [junit] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357) [junit] at org.apache.zookeeper.C
[jira] [Commented] (ZOOKEEPER-1703) Please add instructions for running the tutorial
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16201789#comment-16201789 ] ASF GitHub Bot commented on ZOOKEEPER-1703: --- Github user dolphy17 commented on the issue: https://github.com/apache/zookeeper/pull/400 Build is failing again, but I can't see the reason why. > Please add instructions for running the tutorial > > > Key: ZOOKEEPER-1703 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1703 > Project: ZooKeeper > Issue Type: New Feature > Components: documentation >Affects Versions: 3.4.5 > Environment: tutorial > http://zookeeper.apache.org/doc/r3.2.2/zookeeperTutorial.html >Reporter: Hayden Schultz >Assignee: Andor Molnar >Priority: Minor > Labels: newbie > > There's no instructions for running the tutorial. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[GitHub] zookeeper issue #400: ZOOKEEPER-1703: Added instructions on how to run the e...
Github user dolphy17 commented on the issue: https://github.com/apache/zookeeper/pull/400 Build is failing again, but I can't see the reason why. ---
[jira] [Commented] (ZOOKEEPER-1703) Please add instructions for running the tutorial
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16201785#comment-16201785 ] Hadoop QA commented on ZOOKEEPER-1703: -- -1 overall. GitHub Pull Request Build +1 @author. The patch does not contain any @author tags. +0 tests included. The patch appears to be a documentation patch that doesn't require tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs (version 3.0.1) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. -1 core tests. The patch failed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1101//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1101//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1101//console This message is automatically generated. > Please add instructions for running the tutorial > > > Key: ZOOKEEPER-1703 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1703 > Project: ZooKeeper > Issue Type: New Feature > Components: documentation >Affects Versions: 3.4.5 > Environment: tutorial > http://zookeeper.apache.org/doc/r3.2.2/zookeeperTutorial.html >Reporter: Hayden Schultz >Assignee: Andor Molnar >Priority: Minor > Labels: newbie > > There's no instructions for running the tutorial. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (ZOOKEEPER-1703) Please add instructions for running the tutorial
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16201784#comment-16201784 ] Hadoop QA commented on ZOOKEEPER-1703: -- -1 overall. GitHub Pull Request Build +1 @author. The patch does not contain any @author tags. +0 tests included. The patch appears to be a documentation patch that doesn't require tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs (version 3.0.1) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. -1 core tests. The patch failed core unit tests. -1 contrib tests. The patch failed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1100//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1100//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1100//console This message is automatically generated. > Please add instructions for running the tutorial > > > Key: ZOOKEEPER-1703 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1703 > Project: ZooKeeper > Issue Type: New Feature > Components: documentation >Affects Versions: 3.4.5 > Environment: tutorial > http://zookeeper.apache.org/doc/r3.2.2/zookeeperTutorial.html >Reporter: Hayden Schultz >Assignee: Andor Molnar >Priority: Minor > Labels: newbie > > There's no instructions for running the tutorial. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
Failed: ZOOKEEPER- PreCommit Build #1100
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1100/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 34.43 KB...] [exec] +1 javadoc. The javadoc tool did not generate any warning messages. [exec] [exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings. [exec] [exec] +1 findbugs. The patch does not introduce any new Findbugs (version 3.0.1) warnings. [exec] [exec] +1 release audit. The applied patch does not increase the total number of release audit warnings. [exec] [exec] -1 core tests. The patch failed core unit tests. [exec] [exec] -1 contrib tests. The patch failed contrib unit tests. [exec] [exec] Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1100//testReport/ [exec] Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1100//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html [exec] Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1100//console [exec] [exec] This message is automatically generated. [exec] [exec] [exec] == [exec] == [exec] Adding comment to Jira. [exec] == [exec] == [exec] [exec] [exec] Comment added. [exec] eb1dfa708a1409ff109de67b2b1357fe9da0edfb logged out [exec] [exec] [exec] == [exec] == [exec] Finished build. [exec] == [exec] == [exec] [exec] [exec] mv: ‘/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/patchprocess’ and ‘/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/patchprocess’ are the same file BUILD FAILED /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build/build.xml:1713: exec returned: 2 Total time: 3 minutes 1 second Build step 'Execute shell' marked build as failure Archiving artifacts Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 [Fast Archiver] Compressed 577.21 KB of artifacts by 61.0% relative to #1099 Recording test results Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error? Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 [description-setter] Description set: ZOOKEEPER-1703 Putting comment on the pull request Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 ### ## FAILED TESTS (if any) ## No tests ran.
Failed: ZOOKEEPER- PreCommit Build #1101
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1101/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 34.83 KB...] [exec] +1 javadoc. The javadoc tool did not generate any warning messages. [exec] [exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings. [exec] [exec] +1 findbugs. The patch does not introduce any new Findbugs (version 3.0.1) warnings. [exec] [exec] +1 release audit. The applied patch does not increase the total number of release audit warnings. [exec] [exec] -1 core tests. The patch failed core unit tests. [exec] [exec] +1 contrib tests. The patch passed contrib unit tests. [exec] [exec] Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1101//testReport/ [exec] Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1101//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html [exec] Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/1101//console [exec] [exec] This message is automatically generated. [exec] [exec] [exec] == [exec] == [exec] Adding comment to Jira. [exec] == [exec] == [exec] [exec] [exec] Comment added. [exec] 015865325fc932f03926184a134a6dfbaa66945e logged out [exec] [exec] [exec] == [exec] == [exec] Finished build. [exec] == [exec] == [exec] [exec] [exec] mv: ‘/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build@2/patchprocess’ and ‘/home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build@2/patchprocess’ are the same file BUILD FAILED /home/jenkins/jenkins-slave/workspace/PreCommit-ZOOKEEPER-github-pr-build@2/build.xml:1713: exec returned: 1 Total time: 2 minutes 38 seconds Build step 'Execute shell' marked build as failure Archiving artifacts Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 [Fast Archiver] Compressed 307.58 KB of artifacts by 41.6% relative to #1099 Recording test results Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error? Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 [description-setter] Description set: ZOOKEEPER-1703 Putting comment on the pull request Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 ### ## FAILED TESTS (if any) ## No tests ran.
[jira] [Commented] (ZOOKEEPER-1703) Please add instructions for running the tutorial
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16201769#comment-16201769 ] ASF GitHub Bot commented on ZOOKEEPER-1703: --- Github user dolphy17 commented on the issue: https://github.com/apache/zookeeper/pull/400 @afine I've updated the PR with new classpath setting. > Please add instructions for running the tutorial > > > Key: ZOOKEEPER-1703 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1703 > Project: ZooKeeper > Issue Type: New Feature > Components: documentation >Affects Versions: 3.4.5 > Environment: tutorial > http://zookeeper.apache.org/doc/r3.2.2/zookeeperTutorial.html >Reporter: Hayden Schultz >Assignee: Andor Molnar >Priority: Minor > Labels: newbie > > There's no instructions for running the tutorial. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[GitHub] zookeeper issue #400: ZOOKEEPER-1703: Added instructions on how to run the e...
Github user dolphy17 commented on the issue: https://github.com/apache/zookeeper/pull/400 @afine I've updated the PR with new classpath setting. ---
[jira] [Commented] (ZOOKEEPER-2901) Session ID that is negative causes mis-calculation of Ephemeral Type
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16201729#comment-16201729 ] ASF GitHub Bot commented on ZOOKEEPER-2901: --- Github user Randgalt commented on the issue: https://github.com/apache/zookeeper/pull/377 @phunt you reviewed this PR originally so I was hoping you'd merge. @rgs1 can you merge if Pat can't? > Session ID that is negative causes mis-calculation of Ephemeral Type > > > Key: ZOOKEEPER-2901 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2901 > Project: ZooKeeper > Issue Type: Bug > Components: server >Affects Versions: 3.5.3 > Environment: Running 3.5.3-beta in Docker container >Reporter: Mark Johnson >Assignee: Jordan Zimmerman >Priority: Blocker > > In the code that determines the EphemeralType it is looking at the owner > (which is the client ID or connection ID): > EphemeralType.java: >public static EphemeralType get(long ephemeralOwner) { >if (ephemeralOwner == CONTAINER_EPHEMERAL_OWNER) { >return CONTAINER; >} >if (ephemeralOwner < 0) { >return TTL; >} >return (ephemeralOwner == 0) ? VOID : NORMAL; >} > However my connection ID is: > header.getClientId(): -720548323429908480 > This causes the code to think this is a TTL Ephemeral node instead of a > NORMAL Ephemeral node. > This also explains why this is random - if my client ID is non-negative > then the node gets added correctly. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[GitHub] zookeeper issue #377: [ZOOKEEPER-2901] TTL Nodes don't work with Server IDs ...
Github user Randgalt commented on the issue: https://github.com/apache/zookeeper/pull/377 @phunt you reviewed this PR originally so I was hoping you'd merge. @rgs1 can you merge if Pat can't? ---
ZooKeeper_branch35_jdk7 - Build # 1152 - Failure
See https://builds.apache.org/job/ZooKeeper_branch35_jdk7/1152/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 63.79 MB...] [junit] 2017-10-12 08:49:11,284 [myid:] - INFO [ProcessThread(sid:0 cport:30319)::PrepRequestProcessor@611] - Processed session termination for sessionid: 0x1073ac27579 [junit] 2017-10-12 08:49:11,285 [myid:] - INFO [SyncThread:0:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port30319,name1=Connections,name2=127.0.0.1,name3=0x1073ac27579] [junit] 2017-10-12 08:49:11,285 [myid:] - INFO [main:ZooKeeper@1334] - Session: 0x1073ac27579 closed [junit] 2017-10-12 08:49:11,285 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for session: 0x1073ac27579 [junit] 2017-10-12 08:49:11,285 [myid:] - WARN [New I/O worker #9949:NettyServerCnxnFactory$CnxnChannelHandler@142] - Exception caught [id: 0x7ada0793, /127.0.0.1:54056 :> /127.0.0.1:30319] EXCEPTION: java.nio.channels.ClosedChannelException [junit] java.nio.channels.ClosedChannelException [junit] at org.jboss.netty.channel.socket.nio.AbstractNioWorker.cleanUpWriteBuffer(AbstractNioWorker.java:433) [junit] at org.jboss.netty.channel.socket.nio.AbstractNioWorker.close(AbstractNioWorker.java:373) [junit] at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:93) [junit] at org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108) [junit] at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337) [junit] at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89) [junit] at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178) [junit] at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108) [junit] at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42) [junit] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [junit] at java.lang.Thread.run(Thread.java:745) [junit] 2017-10-12 08:49:11,285 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 239195 [junit] 2017-10-12 08:49:11,286 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 2432 [junit] 2017-10-12 08:49:11,286 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD testWatcherAutoResetWithLocal [junit] 2017-10-12 08:49:11,286 [myid:] - INFO [main:ClientBase@586] - tearDown starting [junit] 2017-10-12 08:49:11,286 [myid:] - INFO [main:ClientBase@556] - STOPPING server [junit] 2017-10-12 08:49:11,286 [myid:] - INFO [main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:30319 [junit] 2017-10-12 08:49:11,293 [myid:] - INFO [main:ZooKeeperServer@541] - shutting down [junit] 2017-10-12 08:49:11,293 [myid:] - ERROR [main:ZooKeeperServer@505] - ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes [junit] 2017-10-12 08:49:11,294 [myid:] - INFO [main:SessionTrackerImpl@232] - Shutting down [junit] 2017-10-12 08:49:11,294 [myid:] - INFO [main:PrepRequestProcessor@1005] - Shutting down [junit] 2017-10-12 08:49:11,294 [myid:] - INFO [main:SyncRequestProcessor@191] - Shutting down [junit] 2017-10-12 08:49:11,294 [myid:] - INFO [ProcessThread(sid:0 cport:30319)::PrepRequestProcessor@155] - PrepRequestProcessor exited loop! [junit] 2017-10-12 08:49:11,294 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited! [junit] 2017-10-12 08:49:11,294 [myid:] - INFO [main:FinalRequestProcessor@481] - shutdown of request processor complete [junit] 2017-10-12 08:49:11,294 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port30319,name1=InMemoryDataTree] [junit] 2017-10-12 08:49:11,295 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port30319] [junit] 2017-10-12 08:49:11,295 [myid:] - INFO [main:FourLetterWordMain@87] - connecting to 127.0.0.1 30319 [junit] 2017-10-12 08:49:11,295 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2017-10-12 08:49:11,302 [myid:] - INFO [main:ClientBase@611] - fdcount after test is: 7163 at start it was 7163 [junit] 2017-10-12 08:49:11,313 [myid:] - INFO [main:ZKTestCase$1@68] - SUCCEEDED testWatcherAutoResetWithLocal [junit] 2017-10-12 08:49:11,313 [myid:] - INFO [main:ZKT
[jira] [Commented] (ZOOKEEPER-2079) Stop daemon with "kill" rather than "kill -9"
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16201638#comment-16201638 ] Li Fangning commented on ZOOKEEPER-2079: This issue can be fixed by modifying the zookeeper.service file, add the following line to the "Service" block: {code:java} [Service] .. SuccessExitStatus=SIGKILL {code} > Stop daemon with "kill" rather than "kill -9" > - > > Key: ZOOKEEPER-2079 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2079 > Project: ZooKeeper > Issue Type: Improvement > Components: scripts > Environment: *nix >Reporter: Guillaume ALAUX >Assignee: Guillaume ALAUX >Priority: Minor > Fix For: 3.5.1, 3.6.0 > > Attachments: ZOOKEEPER-2079.patch > > > Script `zkServer.sh` stops zookeeper by sending the java process a `kill -9` > (SIGKILL). As there seems to be no technical reasons to use such a radical > signal rather than the default SIGTERM (-15), I would propose to just use > `kill` rather than `kill -9`. > My use case is for Systemd service files for Zookeeper which always consider > Zookeeper java process as failing when a clean `stop` is issued. > Systemd output showing this "fail": > ---8<--- > # sudo systemctl status zookeeper.service > ● zookeeper.service - Highly reliable distributed coordination server >Loaded: loaded (/usr/lib/systemd/system/zookeeper.service; disabled) >Active: failed (Result: signal) since Wed 2014-11-05 11:23:29 CET; 2s ago > Process: 656 ExecStop=/usr/bin/zkServer.sh stop (code=exited, > status=0/SUCCESS) > Process: 406 ExecStart=/usr/bin/zkServer.sh start (code=exited, > status=0/SUCCESS) > Main PID: 414 (code=killed, signal=KILL) > Nov 05 11:23:29 magenta zookeeper[656]: Stopping zookeeper ... STOPPED > Nov 05 11:23:29 magenta systemd[1]: zookeeper.service: main process > exited, code=killed, status=9/KILL > Nov 05 11:23:29 magenta systemd[1]: Unit zookeeper.service entered failed > state. > ---8<--- > There is no way to make this `status=9/KILL` to be recognized by > Systemd as a regular exit code, even with `SuccessExitStatus=9 KILL > SIGKILL`. On the other hand, turning this `kill -9` into a regular > `kill` (-15 implied) makes it: > ---8<--- > # sudo systemctl status zookeeper.service > ● zookeeper.service - Highly reliable distributed coordination server >Loaded: loaded (/usr/lib/systemd/system/zookeeper.service; disabled) >Active: inactive (dead) > Nov 05 11:14:27 magenta zookeeper[30032]: Using config: > /usr/share/zookeeper/bin/../conf/zoo.cfg > Nov 05 11:14:27 magenta zookeeper[30032]: Stopping zookeeper ... STOPPED > ---8<--- -- This message was sent by Atlassian JIRA (v6.4.14#64029)