[ https://issues.apache.org/jira/browse/HDFS-10346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15277640#comment-15277640 ]
Xiaobing Zhou commented on HDFS-10346: -------------------------------------- Thank you for review. I posted patch v004. It 1. called fixRelativePart and added doc for return value. 2. moved test preparation out of async call test. 3. added two tests, testConservativeConcurrentAsyncAPI and testAggressiveConcurrentAsyncAPI, which limit max #async calls to 100 and unlimited (e.g. 10000, large enough so as not to be hit) 4. removed testPermissionChecking which did similar thing with testAggressiveConcurrentAsyncAPI in patch v003 5. added rename test in the cases of testConservativeConcurrentAsyncAPI and testAggressiveConcurrentAsyncAPI, but assumed specific order/dependency of rename, setPermission and setOwner, otherwise, the test needs to deal with a swamp of non-deterministic results due to dependency of async calls. > Implement asynchronous setPermission/setOwner for DistributedFileSystem > ----------------------------------------------------------------------- > > Key: HDFS-10346 > URL: https://issues.apache.org/jira/browse/HDFS-10346 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: hdfs, hdfs-client > Reporter: Xiaobing Zhou > Assignee: Xiaobing Zhou > Attachments: HDFS-10346-HDFS-9924.000.patch, > HDFS-10346-HDFS-9924.001.patch, HDFS-10346-HDFS-9924.003.patch, > HDFS-10346-HDFS-9924.004.patch > > > This is proposed to implement an asynchronous setPermission and setOwner. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org