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 D8376200CBF for ; Sat, 8 Jul 2017 19:44:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D6B7D16B1F1; Sat, 8 Jul 2017 17:44:04 +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 29BB416B1F0 for ; Sat, 8 Jul 2017 19:44:04 +0200 (CEST) Received: (qmail 70999 invoked by uid 500); 8 Jul 2017 17:44: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 70983 invoked by uid 99); 8 Jul 2017 17:44:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Jul 2017 17:44:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id B6EC7C1302 for ; Sat, 8 Jul 2017 17:44:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.011 X-Spam-Level: X-Spam-Status: No, score=-100.011 tagged_above=-999 required=6.31 tests=[SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id x1Pb4cmTdG_Q for ; Sat, 8 Jul 2017 17:44:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 31D5C5FB7F for ; Sat, 8 Jul 2017 17:44: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 81757E08B7 for ; Sat, 8 Jul 2017 17:44:00 +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 3A86B24692 for ; Sat, 8 Jul 2017 17:44:00 +0000 (UTC) Date: Sat, 8 Jul 2017 17:44:00 +0000 (UTC) From: "Surendra Singh Lilhore (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-10285) Storage Policy Satisfier in Namenode MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 08 Jul 2017 17:44:05 -0000 [ https://issues.apache.org/jira/browse/HDFS-10285?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Surendra Singh Lilhore updated HDFS-10285: ------------------------------------------ Attachment: HDFS-SPS-TestReport-20170708.pdf Attached test report for SPS feature. All the test cases are passing. Please review.. > Storage Policy Satisfier in Namenode > ------------------------------------ > > Key: HDFS-10285 > URL: https://issues.apache.org/jira/browse/HDFS-10285 > Project: Hadoop HDFS > Issue Type: New Feature > Components: datanode, namenode > Affects Versions: HDFS-10285 > Reporter: Uma Maheswara Rao G > Assignee: Uma Maheswara Rao G > Attachments: HDFS-SPS-TestReport-20170708.pdf, Storage-Policy-Sat= isfier-in-HDFS-June-20-2017.pdf, Storage-Policy-Satisfier-in-HDFS-May10.pdf > > > Heterogeneous storage in HDFS introduced the concept of storage policy. T= hese policies can be set on directory/file to specify the user preference, = where to store the physical block. When user set the storage policy before = writing data, then the blocks could take advantage of storage policy prefer= ences and stores physical block accordingly.=20 > If user set the storage policy after writing and completing the file, the= n the blocks would have been written with default storage policy (nothing b= ut DISK). User has to run the =E2=80=98Mover tool=E2=80=99 explicitly by sp= ecifying all such file names as a list. In some distributed system scenario= s (ex: HBase) it would be difficult to collect all the files and run the to= ol as different nodes can write files separately and file can have differen= t paths. > Another scenarios is, when user rename the files from one effected storag= e policy file (inherited policy from parent directory) to another storage p= olicy effected directory, it will not copy inherited storage policy from so= urce. So it will take effect from destination file/dir parent storage polic= y. This rename operation is just a metadata change in Namenode. The physica= l blocks still remain with source storage policy. > So, Tracking all such business logic based file names could be difficult = for admins from distributed nodes(ex: region servers) and running the Mover= tool.=20 > Here the proposal is to provide an API from Namenode itself for trigger t= he storage policy satisfaction. A Daemon thread inside Namenode should trac= k such calls and process to DN as movement commands.=20 > Will post the detailed design thoughts document soon.=20 -- 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