TestRefreshUserMappings fails w/o security enabled
--------------------------------------------------

                 Key: HDFS-1375
                 URL: https://issues.apache.org/jira/browse/HDFS-1375
             Project: Hadoop HDFS
          Issue Type: Test
    Affects Versions: 0.22.0
            Reporter: Eli Collins
             Fix For: 0.22.0



{noformat}
------------- Standard Error -----------------
refreshUserToGroupsMappings: Kerberos service principal name isn't configured 
properly (should have 3 parts): 
auth for userL1 failed
auth for userL2 succeeded
refreshSuperUserGroupsConfiguration: Kerberos service principal name isn't 
configured properly (should have 3 parts): 
------------- ---------------- ---------------

Testcase: testGroupMappingRefresh took 9.352 sec
        FAILED
Should be different group: eli1 and eli1
junit.framework.AssertionFailedError: Should be different group: eli1 and eli1
        at 
org.apache.hadoop.security.TestRefreshUserMappings.testGroupMappingRefresh(TestRefreshUserMappings.java:122)

Testcase: testRefreshSuperUserGroupsConfiguration took 2.334 sec
        FAILED
second auth for user2 should've failed 
junit.framework.AssertionFailedError: second auth for user2 should've failed 
        at 
org.apache.hadoop.security.TestRefreshUserMappings.testRefreshSuperUserGroupsConfiguration(TestRefreshUserMappings.java:199)
{noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to