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

Hadoop QA commented on ZOOKEEPER-1373:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  
http://issues.apache.org/jira/secure/attachment/12511740/ZOOKEEPER-1373-TW_3_4.patch
  against trunk revision 1234974.

    +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 1.3.9) 
warnings.

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

    -1 core tests.  The patch failed core unit tests.

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

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

This message is automatically generated.
                
> Hardcoded SASL login context name clashes with Hadoop security configuration 
> override
> -------------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1373
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1373
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: java client
>    Affects Versions: 3.4.2
>            Reporter: Thomas Weise
>            Assignee: Eugene Koontz
>             Fix For: 3.4.3, 3.5.0
>
>         Attachments: ZOOKEEPER-1373-TW_3_4.patch, ZOOKEEPER-1373.patch
>
>
> I'm trying to configure a process with Hadoop security (Hive metastore 
> server) to talk to ZooKeeper 3.4.2 with Kerberos authentication. In this 
> scenario Hadoop controls the SASL configuration 
> (org.apache.hadoop.security.UserGroupInformation.HadoopConfiguration), 
> instead of setting up the ZooKeeper "Client" loginContext via jaas.conf and 
> system property 
> {{-Djava.security.auth.login.config}}
> Using the Hadoop configuration would work, except that ZooKeeper client code 
> expects the loginContextName to be "Client" while Hadoop security will use  
> "hadoop-keytab-kerberos". I verified that by changing the name in the 
> debugger the SASL authentication succeeds while otherwise the login 
> configuration cannot be resolved and the connection to ZooKeeper is 
> unauthenticated. 
> To integrate with Hadoop, the following in ZooKeeperSaslClient would need to 
> change to make the name configurable:
>      {{login = new Login("Client",new ClientCallbackHandler(null));}}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to