Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 9DE70200AC0 for ; Tue, 10 May 2016 07:26:19 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9C660160A10; Tue, 10 May 2016 05:26:19 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EDFF41609A8 for ; Tue, 10 May 2016 07:26:18 +0200 (CEST) Received: (qmail 25404 invoked by uid 500); 10 May 2016 05:26:13 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 25382 invoked by uid 99); 10 May 2016 05:26:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 May 2016 05:26:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id ECB5A2C1F5D for ; Tue, 10 May 2016 05:26:12 +0000 (UTC) Date: Tue, 10 May 2016 05:26:12 +0000 (UTC) From: "Xiaobing Zhou (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-10346) Implement asynchronous setPermission/setOwner for DistributedFileSystem MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 10 May 2016 05:26:19 -0000 [ 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-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org