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

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 1628224.

    +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 does not introduce any new Findbugs (version 2.0.3) 
warnings.

    -1 release audit.  The applied patch generated 2 release audit warnings 
(more than the trunk's current 0 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-Build/2376//testReport/
Release audit warnings: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2376//artifact/trunk/patchprocess/patchReleaseAuditProblems.txt
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2376//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2376//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
>            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)

Reply via email to