[GitHub] zookeeper issue #178: ZOOKEEPER-2696: Eclipse ant ask no longer determines c...

2017-02-22 Thread afine
Github user afine commented on the issue:

https://github.com/apache/zookeeper/pull/178
  
Sorry @rakeshadr, I misunderstood your previous comment.

So I have concerns about changing the way dependencies are pulled for the 
test build for what is a very minor developer inconvenience (a few extra lines 
in the .classpath file).

While I was unable to get checkstyle to run against branch-3.4 (would 
appreciate any insight you have on actually doing this) I was able to confirm 
that changing the way transitives are handled for the checkstyle dependency in 
branch-3.5 does break the checkstyle ant task.

You did mention that 

> the related libraries are not needed now

Are you saying that checkstyle is not being used at all in branch-3.4? I 
could not find much info while dgging through JIRA.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (ZOOKEEPER-2696) Eclipse ant task no longer determines correct classpath for tests after ZOOKEEPER-2689

2017-02-22 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15879900#comment-15879900
 ] 

ASF GitHub Bot commented on ZOOKEEPER-2696:
---

Github user afine commented on the issue:

https://github.com/apache/zookeeper/pull/178
  
Sorry @rakeshadr, I misunderstood your previous comment.

So I have concerns about changing the way dependencies are pulled for the 
test build for what is a very minor developer inconvenience (a few extra lines 
in the .classpath file).

While I was unable to get checkstyle to run against branch-3.4 (would 
appreciate any insight you have on actually doing this) I was able to confirm 
that changing the way transitives are handled for the checkstyle dependency in 
branch-3.5 does break the checkstyle ant task.

You did mention that 

> the related libraries are not needed now

Are you saying that checkstyle is not being used at all in branch-3.4? I 
could not find much info while dgging through JIRA.


> Eclipse ant task no longer determines correct classpath for tests after 
> ZOOKEEPER-2689
> --
>
> Key: ZOOKEEPER-2696
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2696
> Project: ZooKeeper
>  Issue Type: Bug
>Affects Versions: 3.4.10
>Reporter: Abraham Fine
>Assignee: Abraham Fine
>
> Following the changes made in ZOOKEEPER-2689 IDE's using the .classpath file 
> generated by the eclipse ant task (I tested both idea and eclipse) cannot 
> compile the tests.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


ZooKeeper_branch34_jdk7 - Build # 1416 - Still Failing

2017-02-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch34_jdk7/1416/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 31.17 MB...]
[junit] 2017-02-23 02:42:30,176 [myid:] - INFO  
[main:SessionTrackerImpl@225] - Shutting down
[junit] 2017-02-23 02:42:30,176 [myid:] - INFO  
[main:PrepRequestProcessor@764] - Shutting down
[junit] 2017-02-23 02:42:30,176 [myid:] - INFO  
[main:SyncRequestProcessor@208] - Shutting down
[junit] 2017-02-23 02:42:30,177 [myid:] - INFO  [ProcessThread(sid:0 
cport:11221)::PrepRequestProcessor@143] - PrepRequestProcessor exited loop!
[junit] 2017-02-23 02:42:30,177 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@186] - SyncRequestProcessor exited!
[junit] 2017-02-23 02:42:30,177 [myid:] - INFO  
[main:FinalRequestProcessor@402] - shutdown of request processor complete
[junit] 2017-02-23 02:42:30,178 [myid:] - INFO  
[main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221
[junit] 2017-02-23 02:42:30,178 [myid:] - INFO  [main:JMXEnv@147] - 
ensureOnly:[]
[junit] 2017-02-23 02:42:30,179 [myid:] - INFO  [main:ClientBase@445] - 
STARTING server
[junit] 2017-02-23 02:42:30,180 [myid:] - INFO  [main:ClientBase@366] - 
CREATING server instance 127.0.0.1:11221
[junit] 2017-02-23 02:42:30,180 [myid:] - INFO  
[main:NIOServerCnxnFactory@89] - binding to port 0.0.0.0/0.0.0.0:11221
[junit] 2017-02-23 02:42:30,180 [myid:] - INFO  [main:ClientBase@341] - 
STARTING server instance 127.0.0.1:11221
[junit] 2017-02-23 02:42:30,181 [myid:] - INFO  [main:ZooKeeperServer@173] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_jdk7/build/test/tmp/test669065517919943617.junit.dir/version-2
 snapdir 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_jdk7/build/test/tmp/test669065517919943617.junit.dir/version-2
[junit] 2017-02-23 02:42:30,184 [myid:] - ERROR [main:ZooKeeperServer@472] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2017-02-23 02:42:30,184 [myid:] - INFO  
[main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221
[junit] 2017-02-23 02:42:30,185 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@192] - 
Accepted socket connection from /127.0.0.1:36486
[junit] 2017-02-23 02:42:30,185 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@838] - Processing 
stat command from /127.0.0.1:36486
[junit] 2017-02-23 02:42:30,186 [myid:] - INFO  
[Thread-4:NIOServerCnxn$StatCommand@674] - Stat command output
[junit] 2017-02-23 02:42:30,186 [myid:] - INFO  
[Thread-4:NIOServerCnxn@1019] - Closed socket connection for client 
/127.0.0.1:36486 (no session established for client)
[junit] 2017-02-23 02:42:30,186 [myid:] - INFO  [main:JMXEnv@230] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2017-02-23 02:42:30,188 [myid:] - INFO  [main:JMXEnv@247] - 
expect:InMemoryDataTree
[junit] 2017-02-23 02:42:30,188 [myid:] - INFO  [main:JMXEnv@251] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221,name1=InMemoryDataTree
[junit] 2017-02-23 02:42:30,188 [myid:] - INFO  [main:JMXEnv@247] - 
expect:StandaloneServer_port
[junit] 2017-02-23 02:42:30,188 [myid:] - INFO  [main:JMXEnv@251] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221
[junit] 2017-02-23 02:42:30,189 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@58] - Memory used 35676
[junit] 2017-02-23 02:42:30,189 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@63] - Number of threads 20
[junit] 2017-02-23 02:42:30,189 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@78] - FINISHED TEST METHOD testQuota
[junit] 2017-02-23 02:42:30,189 [myid:] - INFO  [main:ClientBase@522] - 
tearDown starting
[junit] 2017-02-23 02:42:30,256 [myid:] - INFO  [main:ZooKeeper@684] - 
Session: 0x15a68d93608 closed
[junit] 2017-02-23 02:42:30,257 [myid:] - INFO  [main:ClientBase@492] - 
STOPPING server
[junit] 2017-02-23 02:42:30,257 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@519] - EventThread shut down for 
session: 0x15a68d93608
[junit] 2017-02-23 02:42:30,257 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@219] - 
NIOServerCnxn factory exited run method
[junit] 2017-02-23 02:42:30,257 [myid:] - INFO  [main:ZooKeeperServer@505] 
- shutting down
[junit] 2017-02-23 02:42:30,257 [myid:] - ERROR [main:ZooKeeperServer@472] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2017-02-23 02:42:30,258 

[jira] [Created] (ZOOKEEPER-2704) Run Jepsen against branch-3.5 / master of ZooKeeper

2017-02-22 Thread Michael Han (JIRA)
Michael Han created ZOOKEEPER-2704:
--

 Summary: Run Jepsen against branch-3.5 / master of ZooKeeper
 Key: ZOOKEEPER-2704
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2704
 Project: ZooKeeper
  Issue Type: Sub-task
  Components: tests
Affects Versions: 3.5.2
Reporter: Michael Han
 Fix For: 3.6.0


The [Jepsen report|https://aphyr.com/posts/291-jepsen-zookeeper] on ZooKeeper 
was using an old version of ZooKeeper (3.4.5). It would be good to run Jepsen 
on trunk / branch-3.5 and see what happens. This will also give our confidence 
on the quality of the upcoming 3.5 stable release.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (ZOOKEEPER-2693) DOS attack on wchp/wchc four letter words (4lw)

2017-02-22 Thread Michael Han (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15879633#comment-15879633
 ] 

Michael Han commented on ZOOKEEPER-2693:


bq. But for 3.5.3 releasing, we need both whitelist config and deprecating 4lw 
tasks together.
[~rakeshr] I am thinking we can deprecating 4lw usage for 3.5 later, it does 
not sound a must have for addressing the specific security concern raised in 
this JIRA. I think the current patch is ready to land after we figure out how 
to deal with isro and srvr command currently used by ZK.

> DOS attack on wchp/wchc four letter words (4lw)
> ---
>
> Key: ZOOKEEPER-2693
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2693
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: security, server
>Affects Versions: 3.4.0, 3.5.1, 3.5.2
>Reporter: Patrick Hunt
>Assignee: Michael Han
>Priority: Blocker
> Fix For: 3.4.10, 3.5.3
>
> Attachments: ZOOKEEPER-2693-01.patch
>
>
> The wchp/wchc four letter words can be exploited in a DOS attack on the ZK 
> client port - typically 2181. The following POC attack was recently published 
> on the web:
> https://webcache.googleusercontent.com/search?q=cache:_CNGIz10PRYJ:https://www.exploit-db.com/exploits/41277/+=14=en=clnk=us
> The most straightforward way to block this attack is to not allow access to 
> the client port to non-trusted clients - i.e. firewall the ZooKeeper service 
> and only allow access to trusted applications using it for coordination.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


ZooKeeper_branch34 - Build # 1845 - Still Failing

2017-02-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch34/1845/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 3.23 KB...]
  collisions:0 txqueuelen:0 
  RX bytes:177447773954 (177.4 GB)  TX bytes:177447773954 (177.4 GB)

core file size  (blocks, -c) 0
data seg size   (kbytes, -d) unlimited
scheduling priority (-e) 0
file size   (blocks, -f) unlimited
pending signals (-i) 386178
max locked memory   (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files  (-n) 6
pipe size(512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority  (-r) 0
stack size  (kbytes, -s) 8192
cpu time   (seconds, -t) unlimited
max user processes  (-u) 10240
virtual memory  (kbytes, -v) unlimited
file locks  (-x) unlimited
6
/home/jenkins/tools/ant/latest/bin/ant clean
Exception in thread "main" java.lang.UnsupportedClassVersionError: 
org/apache/tools/ant/launch/Launcher : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
Exception in thread "main" java.lang.UnsupportedClassVersionError: 
org/apache/tools/ant/launch/Launcher : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
mv: cannot stat 'build/*.tar.gz': No such file or directory
mv: cannot stat 'build/*.jar': No such file or directory
mv: cannot stat 'build/test/findbugs': No such file or directory
mv: cannot stat 'build/docs/api': No such file or directory
Build Failed
Build step 'Execute shell' marked build as failure
Recording test results
ERROR: Step ?Publish JUnit test result report? failed: No test report files 
were found. Configuration error?
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any



###
## FAILED TESTS (if any) 
##
No tests ran.

ZooKeeper-trunk - Build # 3289 - Still Failing

2017-02-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk/3289/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 3.74 KB...]
POSIX message queues (bytes, -q) 819200
real-time priority  (-r) 0
stack size  (kbytes, -s) 8192
cpu time   (seconds, -t) unlimited
max user processes  (-u) 10240
virtual memory  (kbytes, -v) unlimited
file locks  (-x) unlimited
6
/home/jenkins/tools/ant/latest/bin/ant clean
Exception in thread "main" java.lang.UnsupportedClassVersionError: 
org/apache/tools/ant/launch/Launcher : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
Exception in thread "main" java.lang.UnsupportedClassVersionError: 
org/apache/tools/ant/launch/Launcher : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
mv: cannot stat 'build/*.tar.gz': No such file or directory
mv: cannot stat 'build/*.jar': No such file or directory
mv: cannot stat 'build/test/findbugs': No such file or directory
mv: cannot stat 'build/docs/api': No such file or directory
Build Failed
Build step 'Execute shell' marked build as failure
[FINDBUGS] Skipping publisher since build result is FAILURE
[WARNINGS] Skipping publisher since build result is FAILURE
Archiving artifacts
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
Recording fingerprints
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
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?
Publishing Javadoc
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
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



###
## FAILED TESTS (if any) 
##
No tests ran.

ZooKeeper_branch34_jdk8 - Build # 893 - Still Failing

2017-02-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch34_jdk8/893/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 31.17 MB...]
[junit] 2017-02-22 22:57:48,755 [myid:] - INFO  
[main:SessionTrackerImpl@225] - Shutting down
[junit] 2017-02-22 22:57:48,755 [myid:] - INFO  
[main:PrepRequestProcessor@764] - Shutting down
[junit] 2017-02-22 22:57:48,755 [myid:] - INFO  
[main:SyncRequestProcessor@208] - Shutting down
[junit] 2017-02-22 22:57:48,755 [myid:] - INFO  [ProcessThread(sid:0 
cport:11221)::PrepRequestProcessor@143] - PrepRequestProcessor exited loop!
[junit] 2017-02-22 22:57:48,755 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@186] - SyncRequestProcessor exited!
[junit] 2017-02-22 22:57:48,755 [myid:] - INFO  
[main:FinalRequestProcessor@402] - shutdown of request processor complete
[junit] 2017-02-22 22:57:48,755 [myid:] - INFO  
[main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221
[junit] 2017-02-22 22:57:48,756 [myid:] - INFO  [main:JMXEnv@147] - 
ensureOnly:[]
[junit] 2017-02-22 22:57:48,757 [myid:] - INFO  [main:ClientBase@445] - 
STARTING server
[junit] 2017-02-22 22:57:48,757 [myid:] - INFO  [main:ClientBase@366] - 
CREATING server instance 127.0.0.1:11221
[junit] 2017-02-22 22:57:48,757 [myid:] - INFO  
[main:NIOServerCnxnFactory@89] - binding to port 0.0.0.0/0.0.0.0:11221
[junit] 2017-02-22 22:57:48,757 [myid:] - INFO  [main:ClientBase@341] - 
STARTING server instance 127.0.0.1:11221
[junit] 2017-02-22 22:57:48,758 [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/test3190633856898099141.junit.dir/version-2
 snapdir 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_jdk8/build/test/tmp/test3190633856898099141.junit.dir/version-2
[junit] 2017-02-22 22:57:48,760 [myid:] - ERROR [main:ZooKeeperServer@472] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2017-02-22 22:57:48,760 [myid:] - INFO  
[main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221
[junit] 2017-02-22 22:57:48,760 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@192] - 
Accepted socket connection from /127.0.0.1:34654
[junit] 2017-02-22 22:57:48,760 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@838] - Processing 
stat command from /127.0.0.1:34654
[junit] 2017-02-22 22:57:48,761 [myid:] - INFO  
[Thread-4:NIOServerCnxn$StatCommand@674] - Stat command output
[junit] 2017-02-22 22:57:48,761 [myid:] - INFO  
[Thread-4:NIOServerCnxn@1019] - Closed socket connection for client 
/127.0.0.1:34654 (no session established for client)
[junit] 2017-02-22 22:57:48,761 [myid:] - INFO  [main:JMXEnv@230] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2017-02-22 22:57:48,762 [myid:] - INFO  [main:JMXEnv@247] - 
expect:InMemoryDataTree
[junit] 2017-02-22 22:57:48,763 [myid:] - INFO  [main:JMXEnv@251] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221,name1=InMemoryDataTree
[junit] 2017-02-22 22:57:48,763 [myid:] - INFO  [main:JMXEnv@247] - 
expect:StandaloneServer_port
[junit] 2017-02-22 22:57:48,763 [myid:] - INFO  [main:JMXEnv@251] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221
[junit] 2017-02-22 22:57:48,763 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@58] - Memory used 35518
[junit] 2017-02-22 22:57:48,763 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@63] - Number of threads 20
[junit] 2017-02-22 22:57:48,763 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@78] - FINISHED TEST METHOD testQuota
[junit] 2017-02-22 22:57:48,764 [myid:] - INFO  [main:ClientBase@522] - 
tearDown starting
[junit] 2017-02-22 22:57:48,844 [myid:] - INFO  [main:ZooKeeper@684] - 
Session: 0x15a680b8062 closed
[junit] 2017-02-22 22:57:48,844 [myid:] - INFO  [main:ClientBase@492] - 
STOPPING server
[junit] 2017-02-22 22:57:48,844 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@519] - EventThread shut down for 
session: 0x15a680b8062
[junit] 2017-02-22 22:57:48,844 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@219] - 
NIOServerCnxn factory exited run method
[junit] 2017-02-22 22:57:48,844 [myid:] - INFO  [main:ZooKeeperServer@505] 
- shutting down
[junit] 2017-02-22 22:57:48,845 [myid:] - ERROR [main:ZooKeeperServer@472] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2017-02-22 22:57:48,845 

[jira] [Commented] (ZOOKEEPER-2703) [MASTER ISSUE] Create benchmark/stability tests

2017-02-22 Thread Shawn Heisey (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15879261#comment-15879261
 ] 

Shawn Heisey commented on ZOOKEEPER-2703:
-

Awesome idea.

https://home.apache.org/~mikemccand/lucenebench/

> [MASTER ISSUE] Create benchmark/stability tests
> ---
>
> Key: ZOOKEEPER-2703
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2703
> Project: ZooKeeper
>  Issue Type: Test
>  Components: java client, recipes, tests
>Reporter: Jordan Zimmerman
>
> It would be useful to have objective tests/benchmarks. These tests/benchmarks 
> can be used to validate future changes to ZooKeeper, compare against other 
> similar products (etcd/consul, etc.) or to help promote ZooKeeper. Possible 
> candidates include:
> * leader election tests/benchmarks
> * service discovery tests/benchmarks
> * distributed locks tests/benchmarks
> * ...
> Note: each test/benchmark should be a sub-task under this master task



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


ZooKeeper-trunk-openjdk7 - Build # 1375 - Still Failing

2017-02-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-openjdk7/1375/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 61.64 MB...]
[junit] 2017-02-22 20:02:19,746 [myid:127.0.0.1:24810] - WARN  
[main-SendThread(127.0.0.1:24810):ClientCnxn$SendThread@1235] - Session 
0x102925b121a for server 127.0.0.1/127.0.0.1:24810, 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:739)
[junit] at 
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
[junit] at 
org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
[junit] 2017-02-22 20:02:20,128 [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-02-22 20:02:20,129 [myid:127.0.0.1:24687] - WARN  
[main-SendThread(127.0.0.1:24687):ClientCnxn$SendThread@1235] - Session 
0x10292572464 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:739)
[junit] at 
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
[junit] at 
org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
[junit] 2017-02-22 20:02:20,414 [myid:127.0.0.1:24813] - INFO  
[main-SendThread(127.0.0.1:24813):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:24813. Will not attempt to 
authenticate using SASL (unknown error)
[junit] 2017-02-22 20:02:20,414 [myid:127.0.0.1:24813] - WARN  
[main-SendThread(127.0.0.1:24813):ClientCnxn$SendThread@1235] - Session 
0x202925b11c5 for server 127.0.0.1/127.0.0.1:24813, 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:739)
[junit] at 
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
[junit] at 
org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
[junit] 2017-02-22 20:02:20,589 [myid:] - INFO  [ProcessThread(sid:0 
cport:24933)::PrepRequestProcessor@617] - Processed session termination for 
sessionid: 0x102925e7d8c
[junit] 2017-02-22 20:02:20,590 [myid:] - INFO  
[SyncThread:0:MBeanRegistry@128] - Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port24933,name1=Connections,name2=127.0.0.1,name3=0x102925e7d8c]
[junit] 2017-02-22 20:02:20,591 [myid:] - INFO  [main:ZooKeeper@1324] - 
Session: 0x102925e7d8c closed
[junit] 2017-02-22 20:02:20,591 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x102925e7d8c
[junit] 2017-02-22 20:02:20,591 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 189787
[junit] 2017-02-22 20:02:20,591 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 2428
[junit] 2017-02-22 20:02:20,591 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testWatcherAutoResetWithLocal
[junit] 2017-02-22 20:02:20,591 [myid:] - INFO  [main:ClientBase@558] - 
tearDown starting
[junit] 2017-02-22 20:02:20,592 [myid:] - INFO  [main:ClientBase@528] - 
STOPPING server
[junit] 2017-02-22 20:02:20,592 [myid:] - INFO  
[main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:24933
[junit] 2017-02-22 20:02:20,595 [myid:] - INFO  [main:ZooKeeperServer@542] 
- shutting down
[junit] 2017-02-22 20:02:20,596 [myid:] - ERROR [main:ZooKeeperServer@506] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2017-02-22 20:02:20,596 [myid:] - INFO  
[main:SessionTrackerImpl@232] - Shutting down
[junit] 2017-02-22 20:02:20,596 [myid:] - INFO  
[main:PrepRequestProcessor@1008] - Shutting down
[junit] 2017-02-22 20:02:20,596 [myid:] - INFO  
[main:SyncRequestProcessor@191] - Shutting down
[junit] 2017-02-22 20:02:20,596 [myid:] - INFO  [ProcessThread(sid:0 
cport:24933)::PrepRequestProcessor@157] - PrepRequestProcessor exited loop!
[junit] 2017-02-22 

[jira] [Updated] (ZOOKEEPER-2703) [MASTER ISSUE] Create benchmark/stability tests

2017-02-22 Thread Jordan Zimmerman (JIRA)

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

Jordan Zimmerman updated ZOOKEEPER-2703:

Description: 
It would be useful to have objective tests/benchmarks. These tests/benchmarks 
can be used to validate future changes to ZooKeeper, compare against other 
similar products (etcd/consul, etc.) or to help promote ZooKeeper. Possible 
candidates include:

* leader election tests/benchmarks
* service discovery tests/benchmarks
* distributed locks tests/benchmarks
* ...

Note: each test/benchmark should be a sub-task under this master task

  was:
It would be useful to have objective tests/benchmarks. These tests/benchmarks 
can be used to validate future changes to ZooKeeper, compare against other 
similar products (etcd/consul, etc.) or to help promote ZooKeeper. Possible 
candidates include:

* leader election tests/benchmarks
* service discovery tests/benchmarks
* distributed locks tests/benchmarks
* ...

Note: each test should be a sub-task under this master task


> [MASTER ISSUE] Create benchmark/stability tests
> ---
>
> Key: ZOOKEEPER-2703
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2703
> Project: ZooKeeper
>  Issue Type: Test
>  Components: java client, recipes, tests
>Reporter: Jordan Zimmerman
>
> It would be useful to have objective tests/benchmarks. These tests/benchmarks 
> can be used to validate future changes to ZooKeeper, compare against other 
> similar products (etcd/consul, etc.) or to help promote ZooKeeper. Possible 
> candidates include:
> * leader election tests/benchmarks
> * service discovery tests/benchmarks
> * distributed locks tests/benchmarks
> * ...
> Note: each test/benchmark should be a sub-task under this master task



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (ZOOKEEPER-2703) [MASTER ISSUE] Create benchmark/stability tests

2017-02-22 Thread Jordan Zimmerman (JIRA)

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

Jordan Zimmerman updated ZOOKEEPER-2703:

Description: 
It would be useful to have objective tests/benchmarks. These tests/benchmarks 
can be used to validate future changes to ZooKeeper, compare against other 
similar products (etcd/consul, etc.) or to help promote ZooKeeper. Possible 
candidates include:

* leader election tests/benchmarks
* service discovery tests/benchmarks
* distributed locks tests/benchmarks
* ...

Note: each test should be a sub-task under this master task

  was:
It would be useful to have objective tests/benchmarks. These tests/benchmarks 
can be used to validate future changes to ZooKeeper, compare against other 
similar products (etcd/consul, etc.) or to help promote ZooKeeper. Possible 
candidates include:

* leader election tests/benchmarks
* service discovery tests/benchmarks
* distributed locks tests/benchmarks
* ...


> [MASTER ISSUE] Create benchmark/stability tests
> ---
>
> Key: ZOOKEEPER-2703
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2703
> Project: ZooKeeper
>  Issue Type: Test
>  Components: java client, recipes, tests
>Reporter: Jordan Zimmerman
>
> It would be useful to have objective tests/benchmarks. These tests/benchmarks 
> can be used to validate future changes to ZooKeeper, compare against other 
> similar products (etcd/consul, etc.) or to help promote ZooKeeper. Possible 
> candidates include:
> * leader election tests/benchmarks
> * service discovery tests/benchmarks
> * distributed locks tests/benchmarks
> * ...
> Note: each test should be a sub-task under this master task



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (ZOOKEEPER-2703) [MASTER ISSUE] Create benchmark/stability tests

2017-02-22 Thread Jordan Zimmerman (JIRA)
Jordan Zimmerman created ZOOKEEPER-2703:
---

 Summary: [MASTER ISSUE] Create benchmark/stability tests
 Key: ZOOKEEPER-2703
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2703
 Project: ZooKeeper
  Issue Type: Test
  Components: java client, recipes, tests
Reporter: Jordan Zimmerman


It would be useful to have objective tests/benchmarks. These tests/benchmarks 
can be used to validate future changes to ZooKeeper, compare against other 
similar products (etcd/consul, etc.) or to help promote ZooKeeper. Possible 
candidates include:

* leader election tests/benchmarks
* service discovery tests/benchmarks
* distributed locks tests/benchmarks
* ...



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


ZooKeeper_branch35_solaris - Build # 448 - Still Failing

2017-02-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch35_solaris/448/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 59.14 MB...]
[junit] 2017-02-22 17:15:05,574 [myid:] - INFO  [main:ClientBase@361] - 
STARTING server instance 127.0.0.1:11222
[junit] 2017-02-22 17:15:05,574 [myid:] - INFO  [main:ZooKeeperServer@907] 
- minSessionTimeout set to 6000
[junit] 2017-02-22 17:15:05,574 [myid:] - INFO  [main:ZooKeeperServer@916] 
- maxSessionTimeout set to 6
[junit] 2017-02-22 17:15:05,574 [myid:] - INFO  [main:ZooKeeperServer@159] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/build/test/tmp/test6133701323866422046.junit.dir/version-2
 snapdir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/build/test/tmp/test6133701323866422046.junit.dir/version-2
[junit] 2017-02-22 17:15:05,575 [myid:] - INFO  [main:FileSnap@83] - 
Reading snapshot 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/build/test/tmp/test6133701323866422046.junit.dir/version-2/snapshot.b
[junit] 2017-02-22 17:15:05,577 [myid:] - INFO  [main:FileTxnSnapLog@320] - 
Snapshotting: 0xb to 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch35_solaris/build/test/tmp/test6133701323866422046.junit.dir/version-2/snapshot.b
[junit] 2017-02-22 17:15:05,578 [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-02-22 17:15:05,578 [myid:] - INFO  
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 11222
[junit] 2017-02-22 17:15:05,579 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:58722
[junit] 2017-02-22 17:15:05,579 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@485] - Processing stat command from 
/127.0.0.1:58722
[junit] 2017-02-22 17:15:05,579 [myid:] - INFO  
[NIOWorkerThread-1:StatCommand@49] - Stat command output
[junit] 2017-02-22 17:15:05,580 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@614] - Closed socket connection for client 
/127.0.0.1:58722 (no session established for client)
[junit] 2017-02-22 17:15:05,580 [myid:] - INFO  [main:JMXEnv@228] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2017-02-22 17:15:05,581 [myid:] - INFO  [main:JMXEnv@245] - 
expect:InMemoryDataTree
[junit] 2017-02-22 17:15:05,581 [myid:] - INFO  [main:JMXEnv@249] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11222,name1=InMemoryDataTree
[junit] 2017-02-22 17:15:05,582 [myid:] - INFO  [main:JMXEnv@245] - 
expect:StandaloneServer_port
[junit] 2017-02-22 17:15:05,582 [myid:] - INFO  [main:JMXEnv@249] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11222
[junit] 2017-02-22 17:15:05,582 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 18083
[junit] 2017-02-22 17:15:05,582 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 24
[junit] 2017-02-22 17:15:05,582 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testQuota
[junit] 2017-02-22 17:15:05,582 [myid:] - INFO  [main:ClientBase@543] - 
tearDown starting
[junit] 2017-02-22 17:15:05,662 [myid:] - INFO  [main:ZooKeeper@1324] - 
Session: 0x126e3ca8ac0 closed
[junit] 2017-02-22 17:15:05,662 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x126e3ca8ac0
[junit] 2017-02-22 17:15:05,662 [myid:] - INFO  [main:ClientBase@513] - 
STOPPING server
[junit] 2017-02-22 17:15:05,662 [myid:] - INFO  
[ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - 
ConnnectionExpirerThread interrupted
[junit] 2017-02-22 17:15:05,662 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-1:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
[junit] 2017-02-22 17:15:05,662 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-0:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
[junit] 2017-02-22 17:15:05,662 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@219]
 - accept thread exitted run method
[junit] 2017-02-22 17:15:05,663 [myid:] - INFO  [main:ZooKeeperServer@541] 
- shutting down
[junit] 2017-02-22 17:15:05,663 [myid:] - ERROR [main:ZooKeeperServer@505] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 

[jira] [Commented] (ZOOKEEPER-2251) Add Client side packet response timeout to avoid infinite wait.

2017-02-22 Thread Mel Martinez (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15878608#comment-15878608
 ] 

Mel Martinez commented on ZOOKEEPER-2251:
-

Update:  I'm sorry, but I've been pulled away from this in my tasking.   This 
is still a real concern for us, and I think I'll eventually be able to get back 
to it, but it won't happen real quick.

> Add Client side packet response timeout to avoid infinite wait.
> ---
>
> Key: ZOOKEEPER-2251
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2251
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: java client
>Affects Versions: 3.4.9, 3.5.2
>Reporter: nijel
>Assignee: Mohammad Arshad
>Priority: Critical
>  Labels: fault
> Fix For: 3.5.3, 3.6.0, 3.4.11
>
> Attachments: ZOOKEEPER-2251-01.patch, ZOOKEEPER-2251-02.patch, 
> ZOOKEEPER-2251-03.patch, ZOOKEEPER-2251-04.patch
>
>
> I came across one issue related to Client side packet response timeout In my 
> cluster many packet drops happened for some time.
> One observation is the zookeeper client got hanged. As per the thread dump it 
> is waiting for the response/ACK for the operation performed (synchronous API 
> used here).
> I am using 
> zookeeper.serverCnxnFactory=org.apache.zookeeper.server.NIOServerCnxnFactory
> Since only few packets missed there is no DISCONNECTED event occurred.
> Need add a "response time out" for the operations or packets.
> *Comments from [~rakeshr]*
> My observation about the problem:-
> * Can use tools like 'Wireshark' to simulate the artificial packet loss.
> * Assume there is only one packet in the 'outgoingQueue' and unfortunately 
> the server response packet lost. Now, client will enter into infinite 
> waiting. 
> https://github.com/apache/zookeeper/blob/trunk/src/java/main/org/apache/zookeeper/ClientCnxn.java#L1515
> * Probably we can discuss more about this problem and possible solutions(add 
> packet ACK timeout or another better approach) in the jira.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


Failed: ZOOKEEPER-2251 PreCommit Build #3579

2017-02-22 Thread Apache Jenkins Server
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-2251
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3579/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 788 B...]
 > git --version # timeout=10
 > git fetch --tags --progress git://git.apache.org/zookeeper.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision d13d2f08c730a81d73d58f64a0ae448639dede2b 
(refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f d13d2f08c730a81d73d58f64a0ae448639dede2b
 > git rev-list d13d2f08c730a81d73d58f64a0ae448639dede2b # timeout=10
No emails were triggered.
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
[PreCommit-ZOOKEEPER-Build] $ /bin/bash /tmp/hudson9006030984970120141.sh
/home/jenkins/tools/java/latest1.7/bin/java
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
core file size  (blocks, -c) 0
data seg size   (kbytes, -d) unlimited
scheduling priority (-e) 0
file size   (blocks, -f) unlimited
pending signals (-i) 386177
max locked memory   (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files  (-n) 6
pipe size(512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority  (-r) 0
stack size  (kbytes, -s) 8192
cpu time   (seconds, -t) unlimited
max user processes  (-u) 10240
virtual memory  (kbytes, -v) unlimited
file locks  (-x) unlimited
Exception in thread "main" java.lang.UnsupportedClassVersionError: 
org/apache/tools/ant/launch/Launcher : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
Build step 'Execute shell' marked build as failure
Archiving artifacts
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
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?
[description-setter] Could not determine description.
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
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7



###
## FAILED TESTS (if any) 
##
No tests ran.

[jira] [Resolved] (ZOOKEEPER-2699) Restrict 4lw commands based on client IP

2017-02-22 Thread Mohammad Arshad (JIRA)

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

Mohammad Arshad resolved ZOOKEEPER-2699.

Resolution: Won't Fix

> Restrict 4lw commands based on client IP
> 
>
> Key: ZOOKEEPER-2699
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2699
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: security, server
>Reporter: Mohammad Arshad
>Assignee: Mohammad Arshad
>
> Currently 4lw commands are executed without authentication and can be 
> accessed from any IP which has access to ZooKeeper server. ZOOKEEPER-2693 
> attempts to limit the 4lw commands which are enabled by default or enabled by 
> configuration.
> In addition to ZOOKEEPER-2693 we should also restrict 4lw commands based on 
> client IP as well. It is required for following scenario
> # User wants to enable all the 4lw commands
> # User wants to limit the access of the commands which are considered to be 
> safe by default.
>  
> *Implementation:*
> we can introduce new property 4lw.commands.host.whitelist
> # By default we allow all the hosts, but off course only on the 4lw exposed 
> commands as per the ZOOKEEPER-2693
> # It can be configured to allow individual IPs(192.168.1.2,192.168.1.3 etc.)
> # It can also be configured to allow group of IPs like 192.168.1.*



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (ZOOKEEPER-2699) Restrict 4lw commands based on client IP

2017-02-22 Thread Mohammad Arshad (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15878428#comment-15878428
 ] 

Mohammad Arshad commented on ZOOKEEPER-2699:


Thanks [~revans2] for the information. yes, IP based restriction will not be 
effective.

> Restrict 4lw commands based on client IP
> 
>
> Key: ZOOKEEPER-2699
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2699
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: security, server
>Reporter: Mohammad Arshad
>Assignee: Mohammad Arshad
>
> Currently 4lw commands are executed without authentication and can be 
> accessed from any IP which has access to ZooKeeper server. ZOOKEEPER-2693 
> attempts to limit the 4lw commands which are enabled by default or enabled by 
> configuration.
> In addition to ZOOKEEPER-2693 we should also restrict 4lw commands based on 
> client IP as well. It is required for following scenario
> # User wants to enable all the 4lw commands
> # User wants to limit the access of the commands which are considered to be 
> safe by default.
>  
> *Implementation:*
> we can introduce new property 4lw.commands.host.whitelist
> # By default we allow all the hosts, but off course only on the 4lw exposed 
> commands as per the ZOOKEEPER-2693
> # It can be configured to allow individual IPs(192.168.1.2,192.168.1.3 etc.)
> # It can also be configured to allow group of IPs like 192.168.1.*



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (ZOOKEEPER-2695) Handle unknown error for rolling upgrade old client new server scenario

2017-02-22 Thread Mohammad Arshad (JIRA)

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

Mohammad Arshad updated ZOOKEEPER-2695:
---
Attachment: ZOOKEEPER-2695-01.patch

Submitting the fix, throwing {{SystemErrorException}} for all errors which are 
not known to client 

> Handle unknown error for rolling upgrade old client new server scenario
> ---
>
> Key: ZOOKEEPER-2695
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2695
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: java client
>Reporter: Mohammad Arshad
>Assignee: Mohammad Arshad
> Attachments: ZOOKEEPER-2695-01.patch
>
>
> In Zookeeper rolling upgrade scenario where server is new but client is old, 
> when sever sends error code which is not understood by the client, client 
> throws NullPointerException. 
> KeeperException.SystemErrorException should be thrown for all unknown error 
> code.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (ZOOKEEPER-2695) Handle unknown error for rolling upgrade old client new server scenario

2017-02-22 Thread Mohammad Arshad (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15878375#comment-15878375
 ] 

Mohammad Arshad commented on ZOOKEEPER-2695:


IllegalArgumentException is thrown only for known error code, as per the 
current source code, only 0 and -12 can throw IllegalArgumentException. So 
IllegalArgumentException is thrown only for know error codes. My earlier 
understanding on this was wrong.

> Handle unknown error for rolling upgrade old client new server scenario
> ---
>
> Key: ZOOKEEPER-2695
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2695
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: java client
>Reporter: Mohammad Arshad
>Assignee: Mohammad Arshad
>
> In Zookeeper rolling upgrade scenario where server is new but client is old, 
> when sever sends error code which is not understood by the client, client 
> throws NullPointerException. 
> KeeperException.SystemErrorException should be thrown for all unknown error 
> code.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (ZOOKEEPER-2695) Handle unknown error for rolling upgrade old client new server scenario

2017-02-22 Thread Mohammad Arshad (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15878376#comment-15878376
 ] 

Mohammad Arshad commented on ZOOKEEPER-2695:


For unknown errors, clients always throw NullPointerException
Suppose in new version of server for getChildren() API for new scenario new 
error code is added.
This new error code will be unknown error code for the old clients. Old clients 
will throw NullPointerException while processing these unknown
{code}
java.lang.NullPointerException
at org.apache.zookeeper.KeeperException.create(KeeperException.java:91)
at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:2465)
{code}

> Handle unknown error for rolling upgrade old client new server scenario
> ---
>
> Key: ZOOKEEPER-2695
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2695
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: java client
>Reporter: Mohammad Arshad
>Assignee: Mohammad Arshad
>
> In Zookeeper rolling upgrade scenario where server is new but client is old, 
> when sever sends error code which is not understood by the client, client 
> throws NullPointerException. 
> KeeperException.SystemErrorException should be thrown for all unknown error 
> code.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (ZOOKEEPER-2695) Handle unknown error for rolling upgrade old client new server scenario

2017-02-22 Thread Mohammad Arshad (JIRA)

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

Mohammad Arshad updated ZOOKEEPER-2695:
---
Description: 
In Zookeeper rolling upgrade scenario where server is new but client is old, 
when sever sends error code which is not understood by the client, client 
throws NullPointerException. 
KeeperException.SystemErrorException should be thrown for all unknown error 
code.



  was:
In Zookeeper rolling upgrade scenario where server is new but client is old, 
when sever sends error code which is not understood by the client, client 
throws IllegalArgumentException. Generally IllegalArgumentException is not 
handled by any of the ZK applications. 

KeeperException.SystemErrorException should be thrown instead of 
IllegalArgumentException




> Handle unknown error for rolling upgrade old client new server scenario
> ---
>
> Key: ZOOKEEPER-2695
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2695
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: java client
>Reporter: Mohammad Arshad
>Assignee: Mohammad Arshad
>
> In Zookeeper rolling upgrade scenario where server is new but client is old, 
> when sever sends error code which is not understood by the client, client 
> throws NullPointerException. 
> KeeperException.SystemErrorException should be thrown for all unknown error 
> code.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


ZooKeeper_branch34_openjdk7 - Build # 1401 - Still Failing

2017-02-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch34_openjdk7/1401/

###
## LAST 60 LINES OF THE CONSOLE 
###
Started by timer
[EnvInject] - Loading node environment variables.
Building remotely on H22 (ubuntu) in workspace 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_openjdk7
Cloning the remote Git repository
Cloning repository git://git.apache.org/zookeeper.git
 > git init /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch34_openjdk7 # 
 > timeout=10
Fetching upstream changes from git://git.apache.org/zookeeper.git
 > git --version # timeout=10
 > git fetch --tags --progress git://git.apache.org/zookeeper.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url git://git.apache.org/zookeeper.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 
 > timeout=10
 > git config remote.origin.url git://git.apache.org/zookeeper.git # timeout=10
Cleaning workspace
 > git rev-parse --verify HEAD # timeout=10
No valid HEAD. Skipping the resetting
 > git clean -fdx # timeout=10
Fetching upstream changes from git://git.apache.org/zookeeper.git
 > git fetch --tags --progress git://git.apache.org/zookeeper.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/branch-3.4^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/branch-3.4^{commit} # timeout=10
Checking out Revision 373b82bab843cc84c22b99f6511f8fea974fd2b4 
(refs/remotes/origin/branch-3.4)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 373b82bab843cc84c22b99f6511f8fea974fd2b4
 > git rev-list 373b82bab843cc84c22b99f6511f8fea974fd2b4 # timeout=10
No emails were triggered.
[ZooKeeper_branch34_openjdk7] $ /home/jenkins/tools/ant/latest/bin/ant 
-Dtest.output=yes -Dtest.junit.threads=8 -Dtest.junit.output.format=xml 
-Djavac.target=1.7 clean test-core-java
Error: JAVA_HOME is not defined correctly.
  We cannot execute /usr/lib/jvm/java-7-openjdk-amd64//bin/java
Build step 'Invoke Ant' marked build as failure
Recording test results
ERROR: Step ?Publish JUnit test result report? failed: No test report files 
were found. Configuration error?
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any



###
## FAILED TESTS (if any) 
##
No tests ran.

ZooKeeper_branch34_solaris - Build # 1482 - Still Failing

2017-02-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch34_solaris/1482/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 26.02 MB...]
[junit] 2017-02-22 13:59:53,994 [myid:] - INFO  [ProcessThread(sid:0 
cport:11221)::PrepRequestProcessor@143] - PrepRequestProcessor exited loop!
[junit] 2017-02-22 13:59:53,994 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@186] - SyncRequestProcessor exited!
[junit] 2017-02-22 13:59:53,994 [myid:] - INFO  
[main:FinalRequestProcessor@402] - shutdown of request processor complete
[junit] 2017-02-22 13:59:53,994 [myid:] - INFO  
[main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221
[junit] 2017-02-22 13:59:53,995 [myid:] - INFO  [main:JMXEnv@147] - 
ensureOnly:[]
[junit] 2017-02-22 13:59:53,995 [myid:] - INFO  [main:ClientBase@445] - 
STARTING server
[junit] 2017-02-22 13:59:53,996 [myid:] - INFO  [main:ClientBase@366] - 
CREATING server instance 127.0.0.1:11221
[junit] 2017-02-22 13:59:53,996 [myid:] - INFO  
[main:NIOServerCnxnFactory@89] - binding to port 0.0.0.0/0.0.0.0:11221
[junit] 2017-02-22 13:59:53,996 [myid:] - INFO  [main:ClientBase@341] - 
STARTING server instance 127.0.0.1:11221
[junit] 2017-02-22 13:59:53,997 [myid:] - INFO  [main:ZooKeeperServer@173] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch34_solaris/build/test/tmp/test4598309053564768091.junit.dir/version-2
 snapdir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper_branch34_solaris/build/test/tmp/test4598309053564768091.junit.dir/version-2
[junit] 2017-02-22 13:59:53,999 [myid:] - ERROR [main:ZooKeeperServer@472] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2017-02-22 13:59:53,999 [myid:] - INFO  
[main:FourLetterWordMain@62] - connecting to 127.0.0.1 11221
[junit] 2017-02-22 13:59:54,000 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxnFactory@192] - 
Accepted socket connection from /127.0.0.1:39560
[junit] 2017-02-22 13:59:54,000 [myid:] - INFO  
[NIOServerCxn.Factory:0.0.0.0/0.0.0.0:11221:NIOServerCnxn@838] - Processing 
stat command from /127.0.0.1:39560
[junit] 2017-02-22 13:59:54,000 [myid:] - INFO  
[Thread-5:NIOServerCnxn$StatCommand@674] - Stat command output
[junit] 2017-02-22 13:59:54,000 [myid:] - INFO  
[Thread-5:NIOServerCnxn@1019] - Closed socket connection for client 
/127.0.0.1:39560 (no session established for client)
[junit] 2017-02-22 13:59:54,001 [myid:] - INFO  [main:JMXEnv@230] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2017-02-22 13:59:54,001 [myid:] - INFO  
[SessionTracker:SessionTrackerImpl@162] - SessionTrackerImpl exited loop!
[junit] 2017-02-22 13:59:54,001 [myid:] - INFO  
[SessionTracker:SessionTrackerImpl@162] - SessionTrackerImpl exited loop!
[junit] 2017-02-22 13:59:54,002 [myid:] - INFO  [main:JMXEnv@247] - 
expect:InMemoryDataTree
[junit] 2017-02-22 13:59:54,002 [myid:] - INFO  [main:JMXEnv@251] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221,name1=InMemoryDataTree
[junit] 2017-02-22 13:59:54,002 [myid:] - INFO  [main:JMXEnv@247] - 
expect:StandaloneServer_port
[junit] 2017-02-22 13:59:54,002 [myid:] - INFO  [main:JMXEnv@251] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11221
[junit] 2017-02-22 13:59:54,003 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@58] - Memory used 11642
[junit] 2017-02-22 13:59:54,003 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@63] - Number of threads 18
[junit] 2017-02-22 13:59:54,003 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@78] - FINISHED TEST METHOD testQuota
[junit] 2017-02-22 13:59:54,003 [myid:] - INFO  [main:ClientBase@522] - 
tearDown starting
[junit] 2017-02-22 13:59:54,082 [myid:] - INFO  [main:ZooKeeper@684] - 
Session: 0x15a661f06d0 closed
[junit] 2017-02-22 13:59:54,082 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@519] - EventThread shut down for 
session: 0x15a661f06d0
[junit] 2017-02-22 13:59:54,082 [myid:] - INFO  [main:ClientBase@492] - 
STOPPING server
[junit] 2017-02-22 13:59:54,084 [myid:] - INFO  [main:ZooKeeperServer@505] 
- shutting down
[junit] 2017-02-22 13:59:54,084 [myid:] - ERROR [main:ZooKeeperServer@472] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2017-02-22 13:59:54,084 [myid:] - INFO  
[main:SessionTrackerImpl@225] - Shutting down
[junit] 2017-02-22 13:59:54,084 [myid:] - INFO  
[main:PrepRequestProcessor@764] - 

[jira] [Comment Edited] (ZOOKEEPER-2702) zookeeper ensemble took 20 minutes to come back up after leader failed

2017-02-22 Thread gopalakrishna (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15878125#comment-15878125
 ] 

gopalakrishna edited comment on ZOOKEEPER-2702 at 2/22/17 12:52 PM:


I have attached my log files.

myid 1 = zk1.com

myid 2 = zk2.com

myid 3 = zk3.com



> zookeeper ensemble took 20 minutes to come back up after leader failed
> --
>
> Key: ZOOKEEPER-2702
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2702
> Project: ZooKeeper
>  Issue Type: Bug
>Affects Versions: 3.4.9
> Environment: OS version is ubuntu 14.04(trusty)
>Reporter: gopalakrishna
> Attachments: zk1log.tar.bz2, zk2log.tar.bz2, zk3log.tar.bz2
>
>
> Zookeeper version : 3.4.9
> OS version is ubuntu 14.04(trusty)
> Default configuration of zoo.cfg 
> tickTime=2000
> initLimit=10
> syncLimit=5
> I have setup the zookeeper ensemble with three servers zk1.com, zk2.com, 
> zk3.com.
> Initial State:
> ZK1(FOLLOWER)---ZK2(LEADER)---ZK3(FOLLOWER)
> This morning, ZK2(LEADER) went down and it became a FOLLOWER with in fraction 
> of seconds. It took 20 minutes for new LEADER to be decided for the ensemble. 
> ZK3 was the new LEADER.
> New State:
> ZK(FOLLOWER)ZK2(FOLLOWER)-ZK3(LEADER) (after 20 minutes).
> Can somone help me to debug what happened? 
> Zookeeper is managing the solr cloud 2shards, 4 nodes. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (ZOOKEEPER-2702) zookeeper ensemble took 20 minutes to come back up after leader failed

2017-02-22 Thread gopalakrishna (JIRA)
gopalakrishna created ZOOKEEPER-2702:


 Summary: zookeeper ensemble took 20 minutes to come back up after 
leader failed
 Key: ZOOKEEPER-2702
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2702
 Project: ZooKeeper
  Issue Type: Bug
Affects Versions: 3.4.9
 Environment: OS version is ubuntu 14.04(trusty)
Reporter: gopalakrishna


Zookeeper version : 3.4.9

OS version is ubuntu 14.04(trusty)

Default configuration of zoo.cfg 
tickTime=2000
initLimit=10
syncLimit=5

I have setup the zookeeper ensemble with three servers zk1.com, zk2.com, 
zk3.com.

Initial State:

ZK1(FOLLOWER)---ZK2(LEADER)---ZK3(FOLLOWER)


This morning, ZK2(LEADER) went down and it became a FOLLOWER with in fraction 
of seconds. It took 20 minutes for new LEADER to be decided for the ensemble. 
ZK3 was the new LEADER.

New State:
ZK(FOLLOWER)ZK2(FOLLOWER)-ZK3(LEADER) (after 20 minutes).


Can somone help me to debug what happened? 

Zookeeper is managing the solr cloud 2shards, 4 nodes. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


Failed: ZOOKEEPER-2694 PreCommit Build #3578

2017-02-22 Thread Apache Jenkins Server
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-2694
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3578/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 1.16 KB...]
Fetching upstream changes from git://git.apache.org/zookeeper.git
 > git fetch --tags --progress git://git.apache.org/zookeeper.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision d13d2f08c730a81d73d58f64a0ae448639dede2b 
(refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f d13d2f08c730a81d73d58f64a0ae448639dede2b
 > git rev-list d13d2f08c730a81d73d58f64a0ae448639dede2b # timeout=10
No emails were triggered.
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
[PreCommit-ZOOKEEPER-Build] $ /bin/bash /tmp/hudson2913893585077490910.sh
/home/jenkins/tools/java/latest1.7/bin/java
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
core file size  (blocks, -c) 0
data seg size   (kbytes, -d) unlimited
scheduling priority (-e) 0
file size   (blocks, -f) unlimited
pending signals (-i) 386178
max locked memory   (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files  (-n) 6
pipe size(512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority  (-r) 0
stack size  (kbytes, -s) 8192
cpu time   (seconds, -t) unlimited
max user processes  (-u) 10240
virtual memory  (kbytes, -v) unlimited
file locks  (-x) unlimited
Exception in thread "main" java.lang.UnsupportedClassVersionError: 
org/apache/tools/ant/launch/Launcher : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
Build step 'Execute shell' marked build as failure
Archiving artifacts
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
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?
[description-setter] Could not determine description.
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
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7



###
## FAILED TESTS (if any) 
##
No tests ran.

[jira] [Updated] (ZOOKEEPER-2694) sync CLI command does not wait for result from server

2017-02-22 Thread Mohammad Arshad (JIRA)

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

Mohammad Arshad updated ZOOKEEPER-2694:
---
Attachment: ZOOKEEPER-2694-01.patch

> sync CLI command does not wait for result from server
> -
>
> Key: ZOOKEEPER-2694
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2694
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: java client
>Reporter: Mohammad Arshad
>Assignee: Mohammad Arshad
> Attachments: ZOOKEEPER-2694-01.patch
>
>
> sync CLI command does not wait for result from server. It returns immediately 
> after invoking the sync's asynchronous API.
> Executing bellow command does not give the expected result
>  {{/bin/zkCli.sh -server host:port sync /}}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


Failed: ZOOKEEPER-2272 PreCommit Build #3577

2017-02-22 Thread Apache Jenkins Server
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-2272
Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3577/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 788 B...]
 > git --version # timeout=10
 > git fetch --tags --progress git://git.apache.org/zookeeper.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision d13d2f08c730a81d73d58f64a0ae448639dede2b 
(refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f d13d2f08c730a81d73d58f64a0ae448639dede2b
 > git rev-list 434a7eef271fab02306bcc9c8ad29ec2fe2e # timeout=10
No emails were triggered.
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
[PreCommit-ZOOKEEPER-Build] $ /bin/bash /tmp/hudson9130146715325303420.sh
/home/jenkins/tools/java/latest1.7/bin/java
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
core file size  (blocks, -c) 0
data seg size   (kbytes, -d) unlimited
scheduling priority (-e) 0
file size   (blocks, -f) unlimited
pending signals (-i) 386177
max locked memory   (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files  (-n) 6
pipe size(512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority  (-r) 0
stack size  (kbytes, -s) 8192
cpu time   (seconds, -t) unlimited
max user processes  (-u) 10240
virtual memory  (kbytes, -v) unlimited
file locks  (-x) unlimited
Exception in thread "main" java.lang.UnsupportedClassVersionError: 
org/apache/tools/ant/launch/Launcher : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
Build step 'Execute shell' marked build as failure
Archiving artifacts
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7
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?
[description-setter] Could not determine description.
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
Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7



###
## FAILED TESTS (if any) 
##
No tests ran.

[jira] [Comment Edited] (ZOOKEEPER-2272) Code clean up in ZooKeeperServer and KerberosName

2017-02-22 Thread Stevo Slavic (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15877868#comment-15877868
 ] 

Stevo Slavic edited comment on ZOOKEEPER-2272 at 2/22/17 9:47 AM:
--

There should be more thorough cleanup of configuration management code and 
documentation. Seems every class implements it's own way of obtaining 
configuration and as consequence there's lots of inconsistency. E.g. in 
{{ZooKeeperServer}} _allowSaslFailedClients_ is _true/false_, while in 
{{PrepRequestProcessor}} _skipACL_ is _yes/no_.
Some properties are defined via config file, some via system properties but not 
both. Because of lack of consistency or even proper configuration design, that 
inconsistency is reflected in poor documentation as well.

For good configuration design, implementation and documentation ideas please 
have a look at Apache Kafka (especially bit where they generate configuration 
documentation from source), Apache Commons Configuration 
({{AbstractConfiguration}} abstraction, extended in Netflix Archaius Core with 
{{DynamicPropertyFactory}}), and Spring framework {{PropertySource}} 
abstraction.


was (Author: sslavic):
There should be more thorough cleanup of configuration management code and 
documentation. Seems every class implements it's own way of obtaining 
configuration and as consequence there's lots of inconsistency. E.g. in 
{{ZooKeeperServer}} __allowSaslFailedClients__ is __true__/__false__, while in 
{{PrepRequestProcessor}} __skipACL__ is __yes__/__no__
Some properties are defined via config file, some via system properties but not 
both. Because of lack of consistency or even proper configuration design, that 
inconsistency is reflected in poor documentation as well.

For good configuration design, implementation and documentation ideas please 
have a look at Apache Kafka (especially bit where they generate configuration 
documentation from source), Apache Commons Configuration 
({{AbstractConfiguration}} abstraction, extended in Netflix Archaius Core with 
{{DynamicPropertyFactory}}), and Spring framework {{PropertySource}} 
abstraction.

> Code clean up in ZooKeeperServer and KerberosName
> -
>
> Key: ZOOKEEPER-2272
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2272
> Project: ZooKeeper
>  Issue Type: Improvement
>  Components: server
>Affects Versions: 3.5.0
>Reporter: Mohammad Arshad
>Assignee: Mohammad Arshad
>Priority: Trivial
> Fix For: 3.5.3
>
> Attachments: ZOOKEEPER-2272-01.patch
>
>
> # Following code in {{org.apache.zookeeper.server.ZooKeeperServer}} should be 
> cleaned up. Some how it got missed in code review
> {code}
> if ((System.getProperty("zookeeper.allowSaslFailedClients") != null)
>   &&  
> (System.getProperty("zookeeper.allowSaslFailedClients").equals("true"))) {
> {code}
> should be replaced with 
> {code}
> if(Boolean.getBoolean("zookeeper.allowSaslFailedClients"))
> {code}
> # Similar code clean up can be done in 
> {{org.apache.zookeeper.server.auth.KerberosName}}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (ZOOKEEPER-2272) Code clean up in ZooKeeperServer and KerberosName

2017-02-22 Thread Stevo Slavic (JIRA)

[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15877868#comment-15877868
 ] 

Stevo Slavic commented on ZOOKEEPER-2272:
-

There should be more thorough cleanup of configuration management code and 
documentation. Seems every class implements it's own way of obtaining 
configuration and as consequence there's lots of inconsistency. E.g. in 
{{ZooKeeperServer}} __allowSaslFailedClients__ is __true__/__false__, while in 
{{PrepRequestProcessor}} __skipACL__ is __yes__/__no__
Some properties are defined via config file, some via system properties but not 
both. Because of lack of consistency or even proper configuration design, that 
inconsistency is reflected in poor documentation as well.

For good configuration design, implementation and documentation ideas please 
have a look at Apache Kafka (especially bit where they generate configuration 
documentation from source), Apache Commons Configuration 
({{AbstractConfiguration}} abstraction, extended in Netflix Archaius Core with 
{{DynamicPropertyFactory}}), and Spring framework {{PropertySource}} 
abstraction.

> Code clean up in ZooKeeperServer and KerberosName
> -
>
> Key: ZOOKEEPER-2272
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2272
> Project: ZooKeeper
>  Issue Type: Improvement
>  Components: server
>Affects Versions: 3.5.0
>Reporter: Mohammad Arshad
>Assignee: Mohammad Arshad
>Priority: Trivial
> Fix For: 3.5.3
>
> Attachments: ZOOKEEPER-2272-01.patch
>
>
> # Following code in {{org.apache.zookeeper.server.ZooKeeperServer}} should be 
> cleaned up. Some how it got missed in code review
> {code}
> if ((System.getProperty("zookeeper.allowSaslFailedClients") != null)
>   &&  
> (System.getProperty("zookeeper.allowSaslFailedClients").equals("true"))) {
> {code}
> should be replaced with 
> {code}
> if(Boolean.getBoolean("zookeeper.allowSaslFailedClients"))
> {code}
> # Similar code clean up can be done in 
> {{org.apache.zookeeper.server.auth.KerberosName}}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


ZooKeeper_branch35_jdk7 - Build # 860 - Still Failing

2017-02-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper_branch35_jdk7/860/

###
## LAST 60 LINES OF THE CONSOLE 
###
Started by timer
[EnvInject] - Loading node environment variables.
Building remotely on proserpina-test (ubuntu) in workspace 
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch35_jdk7
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url git://git.apache.org/zookeeper.git # timeout=10
Cleaning workspace
 > git rev-parse --verify HEAD # timeout=10
Resetting working tree
 > git reset --hard # timeout=10
 > git clean -fdx # timeout=10
Fetching upstream changes from git://git.apache.org/zookeeper.git
 > git --version # timeout=10
 > git fetch --tags --progress git://git.apache.org/zookeeper.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/branch-3.5^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/branch-3.5^{commit} # timeout=10
Checking out Revision 1912fa8d63e6bbfdb5bb96bec85efa7c94e131e9 
(refs/remotes/origin/branch-3.5)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 1912fa8d63e6bbfdb5bb96bec85efa7c94e131e9
 > git rev-list 1912fa8d63e6bbfdb5bb96bec85efa7c94e131e9 # timeout=10
No emails were triggered.
[ZooKeeper_branch35_jdk7] $ /home/jenkins/tools/ant/latest/bin/ant 
-Dtest.output=yes -Dtest.junit.threads=8 -Dtest.junit.output.format=xml 
-Djavac.target=1.7 clean test-core-java
Exception in thread "main" java.lang.UnsupportedClassVersionError: 
org/apache/tools/ant/launch/Launcher : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
Build step 'Invoke Ant' marked build as failure
Recording test results
ERROR: Step ?Publish JUnit test result report? failed: No test report files 
were found. Configuration error?
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any



###
## FAILED TESTS (if any) 
##
No tests ran.

ZooKeeper-trunk-solaris - Build # 1516 - Still Failing

2017-02-22 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk-solaris/1516/

###
## LAST 60 LINES OF THE CONSOLE 
###
[...truncated 58.63 MB...]
[junit] 2017-02-22 08:23:10,328 [myid:] - INFO  [main:ClientBase@376] - 
STARTING server instance 127.0.0.1:11222
[junit] 2017-02-22 08:23:10,328 [myid:] - INFO  [main:ZooKeeperServer@908] 
- minSessionTimeout set to 6000
[junit] 2017-02-22 08:23:10,329 [myid:] - INFO  [main:ZooKeeperServer@917] 
- maxSessionTimeout set to 6
[junit] 2017-02-22 08:23:10,329 [myid:] - INFO  [main:ZooKeeperServer@160] 
- Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 
6 datadir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/build/test/tmp/test8864537983339373962.junit.dir/version-2
 snapdir 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/build/test/tmp/test8864537983339373962.junit.dir/version-2
[junit] 2017-02-22 08:23:10,329 [myid:] - INFO  [main:FileSnap@83] - 
Reading snapshot 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/build/test/tmp/test8864537983339373962.junit.dir/version-2/snapshot.b
[junit] 2017-02-22 08:23:10,332 [myid:] - INFO  [main:FileTxnSnapLog@346] - 
Snapshotting: 0xb to 
/zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/ZooKeeper-trunk-solaris/build/test/tmp/test8864537983339373962.junit.dir/version-2/snapshot.b
[junit] 2017-02-22 08:23:10,333 [myid:] - ERROR [main:ZooKeeperServer@506] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
[junit] 2017-02-22 08:23:10,333 [myid:] - INFO  
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 11222
[junit] 2017-02-22 08:23:10,333 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@296]
 - Accepted socket connection from /127.0.0.1:63787
[junit] 2017-02-22 08:23:10,334 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@485] - Processing stat command from 
/127.0.0.1:63787
[junit] 2017-02-22 08:23:10,334 [myid:] - INFO  
[NIOWorkerThread-1:StatCommand@49] - Stat command output
[junit] 2017-02-22 08:23:10,335 [myid:] - INFO  
[NIOWorkerThread-1:NIOServerCnxn@614] - Closed socket connection for client 
/127.0.0.1:63787 (no session established for client)
[junit] 2017-02-22 08:23:10,335 [myid:] - INFO  [main:JMXEnv@228] - 
ensureParent:[InMemoryDataTree, StandaloneServer_port]
[junit] 2017-02-22 08:23:10,336 [myid:] - INFO  [main:JMXEnv@245] - 
expect:InMemoryDataTree
[junit] 2017-02-22 08:23:10,337 [myid:] - INFO  [main:JMXEnv@249] - 
found:InMemoryDataTree 
org.apache.ZooKeeperService:name0=StandaloneServer_port11222,name1=InMemoryDataTree
[junit] 2017-02-22 08:23:10,337 [myid:] - INFO  [main:JMXEnv@245] - 
expect:StandaloneServer_port
[junit] 2017-02-22 08:23:10,337 [myid:] - INFO  [main:JMXEnv@249] - 
found:StandaloneServer_port 
org.apache.ZooKeeperService:name0=StandaloneServer_port11222
[junit] 2017-02-22 08:23:10,337 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 17913
[junit] 2017-02-22 08:23:10,337 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 24
[junit] 2017-02-22 08:23:10,337 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testQuota
[junit] 2017-02-22 08:23:10,338 [myid:] - INFO  [main:ClientBase@558] - 
tearDown starting
[junit] 2017-02-22 08:23:10,412 [myid:] - INFO  [main:ZooKeeper@1324] - 
Session: 0x126e1e38fa7 closed
[junit] 2017-02-22 08:23:10,412 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x126e1e38fa7
[junit] 2017-02-22 08:23:10,412 [myid:] - INFO  [main:ClientBase@528] - 
STOPPING server
[junit] 2017-02-22 08:23:10,412 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-0:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
[junit] 2017-02-22 08:23:10,413 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-1:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
[junit] 2017-02-22 08:23:10,412 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:11222:NIOServerCnxnFactory$AcceptThread@219]
 - accept thread exitted run method
[junit] 2017-02-22 08:23:10,412 [myid:] - INFO  
[ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - 
ConnnectionExpirerThread interrupted
[junit] 2017-02-22 08:23:10,413 [myid:] - INFO  [main:ZooKeeperServer@542] 
- shutting down
[junit] 2017-02-22 08:23:10,413 [myid:] - ERROR [main:ZooKeeperServer@506] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR