hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10793) AuthFailed as a valid zookeeper state
Date Wed, 19 Mar 2014 21:06:45 GMT

    [ https://issues.apache.org/jira/browse/HBASE-10793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13940987#comment-13940987

Hadoop QA commented on HBASE-10793:

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  against trunk revision .
  ATTACHMENT ID: 12635623

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include any new or modified
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    {color:green}+1 hadoop1.0{color}.  The patch compiles against the hadoop 1.0 profile.

    {color:green}+1 hadoop1.1{color}.  The patch compiles against the hadoop 1.1 profile.

    {color:green}+1 javadoc{color}.  The javadoc tool did not generate any warning messages.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of
javac compiler warnings.

    {color:green}+1 findbugs{color}.  The patch does not introduce any new Findbugs (version
1.3.9) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number
of release audit warnings.

    {color:green}+1 lineLengths{color}.  The patch does not introduce lines longer than 100

  {color:green}+1 site{color}.  The mvn site goal succeeds with this patch.

    {color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/9046//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9046//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-protocol.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9046//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-thrift.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9046//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-client.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9046//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9046//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-examples.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9046//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-prefix-tree.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9046//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-common.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9046//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-server.html
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/9046//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html
Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/9046//console

This message is automatically generated.

> AuthFailed as a valid zookeeper state 
> --------------------------------------
>                 Key: HBASE-10793
>                 URL: https://issues.apache.org/jira/browse/HBASE-10793
>             Project: HBase
>          Issue Type: Bug
>          Components: Zookeeper
>    Affects Versions: 0.96.0
>            Reporter: Demai Ni
>            Assignee: Demai Ni
>             Fix For: 0.96.2, 0.99.0, 0.98.2
>         Attachments: HBASE-10793-trunk-v0.patch
> In kerberos mode, Zookeeper accepts SASL authentication. The AuthFailed message indicates
the client could not be authenticated, but it should proceed anyway, because only access to
znodes that require SASL authentication will be denied and this client may never need to access
them. Furthermore, AuthFailed is a valid event supported by Zookeeper, and following are valid
Zookeeper events:
>                     case    0: return KeeperState.Disconnected;
>                     case    3: return KeeperState.SyncConnected;
>                     case    4: return KeeperState.AuthFailed;
>                     case    5: return KeeperState.ConnectedReadOnly;
>                     case    6: return KeeperState.SaslAuthenticated;
>                     case -112: return KeeperState.Expired;
> Based on above, ZooKeeperWatcher should not throw exception for AuthFailed event as an
invalid event. For this kind of event, Zookeeper already logs it as a warning and proceed
with non-SASL connection.
> {code:title=IllegalStateException from ZookeeperWatcher|borderStyle=solid}
> hbase(main):006:0> list
> TABLE                                                                               
> 14/01/23 17:26:11 ERROR zookeeper.ClientCnxn: Error while calling watcher
> java.lang.IllegalStateException: Received event is not valid: AuthFailed
>     at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.connectionEvent(ZooKeeperWatcher.java:410)
>     at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.process(ZooKeeperWatcher.java:319)
>     at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:519)
>     at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:495)
> BIMonitoring                                                                        
> BIMonitoringSummary                                                                 
> BIMonitoringSummary180                                                              
> BIMonitoringSummary900                                                              
> LogMetadata                                                                         
> LogRecords                                                                          
> Mtable                                                                              
> t1                                                                                  
> t2                                                                                  
> 9 row(s) in 0.4040 seconds
> => ["BIMonitoring", "BIMonitoringSummary", "BIMonitoringSummary180", "BIMonitoringSummary900",
"LogMetadata", "LogRecords", "Mtable", "t1", "t2"]
> {code}
> the patch will be similar as HBase-8757

This message was sent by Atlassian JIRA

View raw message