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

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

                Author: ASF GitHub Bot
            Created on: 30/Jul/19 20:39
            Start Date: 30/Jul/19 20:39
    Worklog Time Spent: 10m 
      Work Description: xiaoyuyao commented on issue #1171: HDDS-1834. parent 
directories not found in secure setup due to ACL check
URL: https://github.com/apache/hadoop/pull/1171#issuecomment-516586868
 
 
   @lokeshj1703 getAcl, setAcl, addAcl and removeAcl inside KeyManagerImpl are 
called after OzoneManager#checkAcls() when acl is enabled. So this fix should 
address the original issue when acl is enabled. 
   When acl is not enabled, getAcl, setAcl, addAcl and removeAcl should not be 
allowed. So I think we may need a separate JIRA to block those operations. 
 
----------------------------------------------------------------
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:
[email protected]


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

    Worklog Id:     (was: 285240)
    Time Spent: 1.5h  (was: 1h 20m)

> parent directories not found in secure setup due to ACL check
> -------------------------------------------------------------
>
>                 Key: HDDS-1834
>                 URL: https://issues.apache.org/jira/browse/HDDS-1834
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: Ozone Filesystem
>            Reporter: Doroszlai, Attila
>            Assignee: Doroszlai, Attila
>            Priority: Blocker
>              Labels: pull-request-available
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> ozonesecure-ozonefs acceptance test is failing, because {{ozone fs -mkdir 
> -p}} only creates key for the specific directory, not its parents.
> {noformat}
> ozone fs -mkdir -p o3fs://bucket1.fstest/testdir/deep
> {noformat}
> Previous result:
> {noformat:title=https://ci.anzix.net/job/ozone-nightly/176/artifact/hadoop-ozone/dist/target/ozone-0.5.0-SNAPSHOT/compose/result/log.html#s1-s16-t3-k2}
> $ ozone sh key list o3://om/fstest/bucket1 | grep -v WARN | jq -r 
> '.[].keyName'
> testdir/
> testdir/deep/
> {noformat}
> Current result:
> {noformat:title=https://ci.anzix.net/job/ozone-nightly/177/artifact/hadoop-ozone/dist/target/ozone-0.5.0-SNAPSHOT/compose/result/log.html#s1-s16-t3-k2}
> $ ozone sh key list o3://om/fstest/bucket1 | grep -v WARN | jq -r 
> '.[].keyName'
> testdir/deep/
> {noformat}
> The failure happens on first operation that tries to use {{testdir/}} 
> directly:
> {noformat}
> $ ozone fs -touch o3fs://bucket1.fstest/testdir/TOUCHFILE.txt
> ls: `o3fs://bucket1.fstest/testdir': No such file or directory
> {noformat}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to