[ 
https://issues.apache.org/jira/browse/HDDS-1917?focusedWorklogId=293821&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-293821
 ]

ASF GitHub Bot logged work on HDDS-1917:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 13/Aug/19 11:30
            Start Date: 13/Aug/19 11:30
    Worklog Time Spent: 10m 
      Work Description: nandakumar131 commented on issue #1234: HDDS-1917. 
TestOzoneRpcClientAbstract is failing.
URL: https://github.com/apache/hadoop/pull/1234#issuecomment-520797332
 
 
   @xiaoyuyao 
   The problem is that we are not considering `OzoneAclType` while checking if 
a OzoneKey already has the ACL or not. 
   In build machines we have user and group with same name (jenkins), so the 
OzoneKey have ACLs with same name but different type (user & group). Since we 
weren't checking `OzoneAclType` we were updating and removing wrong ACL for the 
key.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 293821)
    Time Spent: 1h 50m  (was: 1h 40m)

> TestOzoneRpcClientAbstract is failing
> -------------------------------------
>
>                 Key: HDDS-1917
>                 URL: https://issues.apache.org/jira/browse/HDDS-1917
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>            Reporter: Nanda kumar
>            Assignee: Nanda kumar
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> TestOzoneRpcClientAbstract is failing with the below error
> {noformat}
> [ERROR] 
> testNativeAclsForKey(org.apache.hadoop.ozone.client.rpc.TestSecureOzoneRpcClient)
>   Time elapsed: 0.113 s  <<< FAILURE!
> java.lang.AssertionError: READ_ACL should exist in current 
> acls:group:jenkins:a[ACCESS]
>       at org.junit.Assert.fail(Assert.java:88)
>       at org.junit.Assert.assertTrue(Assert.java:41)
>       at 
> org.apache.hadoop.ozone.client.rpc.TestOzoneRpcClientAbstract.validateOzoneAccessAcl(TestOzoneRpcClientAbstract.java:2466)
>       at 
> org.apache.hadoop.ozone.client.rpc.TestOzoneRpcClientAbstract.testNativeAclsForKey(TestOzoneRpcClientAbstract.java:2300)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:498)
>       at 
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
>       at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to