[
https://issues.apache.org/jira/browse/ZOOKEEPER-2055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15177295#comment-15177295
]
Hadoop QA commented on ZOOKEEPER-2055:
--------------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12673350/ZOOKEEPER-2055.patch
against trunk revision 1733348.
+1 @author. The patch does not contain any @author tags.
-1 tests included. The patch doesn't appear to include any new or modified
tests.
Please justify why no new tests are needed for this
patch.
Also please list what manual steps were performed to
verify this patch.
+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/3072//testReport/
Findbugs warnings:
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3072//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output:
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/3072//console
This message is automatically generated.
> Don't throw ArrayIndexOutOfBoundsException when SASL username/password isn't
> specified
> --------------------------------------------------------------------------------------
>
> Key: ZOOKEEPER-2055
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2055
> Project: ZooKeeper
> Issue Type: Bug
> Reporter: Steve R
> Assignee: Steve R
> Priority: Minor
> Attachments: ZOOKEEPER-2055.patch
>
>
> When using SASLAuthenticationProvider and the jaas.conf file doesn't have a
> username and/or password for either the server or client configuration, when
> the client tries to connect via zkCli, an ArrayIndexOutOfBoundsException is
> thrown
> Example conf file:
> Server {
> org.apache.zookeeper.server.auth.DigestLoginModule required;
> };
> Client {
> org.apache.zookeeper.server.auth.DigestLoginModule required
> username="bob"
> password="bob123";
> };
> Shows the resuting information:
> INFO [main-SendThread(127.0.0.1:2181)] Client will use DIGEST-MD5 as SASL
> mechanism.
> ERROR[main-SendThread(127.0.0.1:2181)] Exception while trying to create SASL
> client: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)