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 43D01200D08 for ; Thu, 21 Sep 2017 23:56:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 422C01609E1; Thu, 21 Sep 2017 21:56:05 +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 8FE8C1609DB for ; Thu, 21 Sep 2017 23:56:04 +0200 (CEST) Received: (qmail 54762 invoked by uid 500); 21 Sep 2017 21:56:03 -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 54751 invoked by uid 99); 21 Sep 2017 21:56:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Sep 2017 21:56:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 04E6118FB66 for ; Thu, 21 Sep 2017 21:56:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 2Y2OypgMRe1N for ; Thu, 21 Sep 2017 21:56:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id E9CE75FD48 for ; Thu, 21 Sep 2017 21:56:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 3FDEEE0288 for ; Thu, 21 Sep 2017 21:56:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 781DF241CD for ; Thu, 21 Sep 2017 21:56:00 +0000 (UTC) Date: Thu, 21 Sep 2017 21:56:00 +0000 (UTC) From: "Xiao Chen (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-12291) [SPS]: Provide a mechanism to recursively iterate and satisfy storage policy of all the files under the given dir MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 21 Sep 2017 21:56:05 -0000 [ https://issues.apache.org/jira/browse/HDFS-12291?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1617= 5522#comment-16175522 ]=20 Xiao Chen commented on HDFS-12291: ---------------------------------- Thank you for the ping [~umamaheswararao], thanks [~surendrasingh] and all = for the work! A few comments: - {{checkINodeReady}} for SPS should still check the basics of the NN (stan= dby, safemode), since it's running within a readlock. - From existing code, I think we'd better assert no lock is held at the beg= inning of {{throttle}} method. - Not sure if we worry about create/delete inside the base dir during trave= rsal here. This was important for re-encryption, where a bunch of race test= s are added in TestReencryption.=20 - Heads up: there's a recent bug/improvement HDFS-12518 for HDFS-10899, wil= l likely create some conflicts here. Issue itself is mostly for re-encrypti= on though. Otherwise LGTM > [SPS]: Provide a mechanism to recursively iterate and satisfy storage pol= icy of all the files under the given dir > -------------------------------------------------------------------------= ---------------------------------------- > > Key: HDFS-12291 > URL: https://issues.apache.org/jira/browse/HDFS-12291 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode, namenode > Reporter: Rakesh R > Assignee: Surendra Singh Lilhore > Attachments: HDFS-12291-HDFS-10285-01.patch, HDFS-12291-HDFS-1028= 5-02.patch, HDFS-12291-HDFS-10285-03.patch, HDFS-12291-HDFS-10285-04.patch > > > For the given source path directory, presently SPS consider only the file= s immediately under the directory(only one level of scanning) for satisfyin= g the policy. It WON=E2=80=99T do recursive directory scanning and then sch= edules SPS tasks to satisfy the storage policy of all the files till the le= af node.=20 > The idea of this jira is to discuss & implement an efficient recursive di= rectory iteration mechanism and satisfies storage policy for all the files = under the given directory. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org