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

Hadoop QA commented on ZOOKEEPER-2213:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12739084/ZOOKEEPER-2213.patch
  against trunk revision 1683878.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified 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 appears to introduce 1 new Findbugs (version 2.0.3) 
warnings.

    +1 release audit.  The applied patch does not increase the total number of 
release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2764//testReport/
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2764//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2764//console

This message is automatically generated.

> Empty path in Set crashes server and prevents restart
> -----------------------------------------------------
>
>                 Key: ZOOKEEPER-2213
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2213
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 3.4.5
>            Reporter: Brian Brazil
>            Assignee: Hongchao Deng
>            Priority: Blocker
>             Fix For: 3.4.7, 3.5.1, 3.6.0
>
>         Attachments: ZOOKEEPER-2213-branch34.patch, ZOOKEEPER-2213.patch, 
> ZOOKEEPER-2213.patch, ZOOKEEPER-2213.patch, ZOOKEEPER-2213.patch
>
>
> See https://github.com/samuel/go-zookeeper/issues/62
> I've reproduced this on 3.4.5 with the code:
>         c, _, _ := zk.Connect([]string{"127.0.0.1"}, time.Second)
>         c.Set("", []byte{}, 0)
> This crashes a local zookeeper 3.4.5 server:
> 2015-06-10 16:21:10,862 [myid:] - ERROR 
> [SyncThread:0:SyncRequestProcessor@151] - Severe unrecoverable error, exiting 
>  
> java.lang.IllegalArgumentException: Invalid path
>         at 
> org.apache.zookeeper.common.PathTrie.findMaxPrefix(PathTrie.java:259)
>         at 
> org.apache.zookeeper.server.DataTree.getMaxPrefixWithQuota(DataTree.java:634)
>         at org.apache.zookeeper.server.DataTree.setData(DataTree.java:616)
>         at org.apache.zookeeper.server.DataTree.processTxn(DataTree.java:807)
>         at 
> org.apache.zookeeper.server.ZKDatabase.processTxn(ZKDatabase.java:329)
>         at 
> org.apache.zookeeper.server.ZooKeeperServer.processTxn(ZooKeeperServer.java:965)
>         at 
> org.apache.zookeeper.server.FinalRequestProcessor.processRequest(FinalRequestProcessor.java:116)
>         at 
> org.apache.zookeeper.server.SyncRequestProcessor.flush(SyncRequestProcessor.java:167)
>         at 
> org.apache.zookeeper.server.SyncRequestProcessor.run(SyncRequestProcessor.java:101)
> On restart the zookeeper server crashes out:
> 2015-06-10 16:22:21,352 [myid:] - ERROR [main:ZooKeeperServerMain@54] - 
> Invalid arguments, exiting abnormally
> java.lang.IllegalArgumentException: Invalid path
>         at 
> org.apache.zookeeper.common.PathTrie.findMaxPrefix(PathTrie.java:259)
>         at 
> org.apache.zookeeper.server.DataTree.getMaxPrefixWithQuota(DataTree.java:634)
>         at org.apache.zookeeper.server.DataTree.setData(DataTree.java:616)
>         at org.apache.zookeeper.server.DataTree.processTxn(DataTree.java:807)
>         at 
> org.apache.zookeeper.server.persistence.FileTxnSnapLog.processTransaction(FileTxnSnapLog.java:198)
>         at 
> org.apache.zookeeper.server.persistence.FileTxnSnapLog.restore(FileTxnSnapLog.java:151)
>         at 
> org.apache.zookeeper.server.ZKDatabase.loadDataBase(ZKDatabase.java:223)
>         at 
> org.apache.zookeeper.server.ZooKeeperServer.loadData(ZooKeeperServer.java:250)
>         at 
> org.apache.zookeeper.server.ZooKeeperServer.startdata(ZooKeeperServer.java:377)
>         at 
> org.apache.zookeeper.server.NIOServerCnxnFactory.startup(NIOServerCnxnFactory.java:122)
>         at 
> org.apache.zookeeper.server.ZooKeeperServerMain.runFromConfig(ZooKeeperServerMain.java:112)
>         at 
> org.apache.zookeeper.server.ZooKeeperServerMain.initializeAndRun(ZooKeeperServerMain.java:86)
>         at 
> org.apache.zookeeper.server.ZooKeeperServerMain.main(ZooKeeperServerMain.java:52)
>         at 
> org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:116)
>         at 
> org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:78)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to