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 5124B200C7F for ; Wed, 19 Apr 2017 02:29:46 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4FAF7160BA1; Wed, 19 Apr 2017 00:29:46 +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 9EF85160BAC for ; Wed, 19 Apr 2017 02:29:45 +0200 (CEST) Received: (qmail 28019 invoked by uid 500); 19 Apr 2017 00:29:44 -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 28008 invoked by uid 99); 19 Apr 2017 00:29:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Apr 2017 00:29:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 65ED1C0B3C for ; Wed, 19 Apr 2017 00:29:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id c37GLEsM-HXr for ; Wed, 19 Apr 2017 00:29:43 +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 079295FDEE for ; Wed, 19 Apr 2017 00:29:43 +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 46AAAE0874 for ; Wed, 19 Apr 2017 00:29:42 +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 AB9BB21B52 for ; Wed, 19 Apr 2017 00:29:41 +0000 (UTC) Date: Wed, 19 Apr 2017 00:29:41 +0000 (UTC) From: "Kai Zheng (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-11604) Define and parse erasure code codecs, schemas and policies MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 19 Apr 2017 00:29:46 -0000 [ https://issues.apache.org/jira/browse/HDFS-11604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15973795#comment-15973795 ] Kai Zheng commented on HDFS-11604: ---------------------------------- Quick comments: * {{PolicyLoader}} would be good to be {{ECPolicyLoader}}, as various policy concepts in Hadoop; * The template {{ec_policy_sample.xml}} file would be good to be here: {{hadoop-hdfs-project/hadoop-hdfs/resources}}; * Can we move the policy parser/loader utility into this package in the client module: {{hadoop-hdfs-project/hadoop-hdfs-client/o.a.h.hdfs.util}} * A minor: "Load predefined ec policies from configuration file." => "Load user defined ec policies from a XML configuration file." * Minor: please avoid star/* imports. > Define and parse erasure code codecs, schemas and policies > ---------------------------------------------------------- > > Key: HDFS-11604 > URL: https://issues.apache.org/jira/browse/HDFS-11604 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: erasure-coding > Reporter: Kai Zheng > Assignee: Lin Zeng > Fix For: 3.0.0-alpha3 > > Attachments: ec-config-sample.xml, ec-policy-config-sample-v2.xml, HDFS-11604-v1.patch, HDFS-11604-v2.patch, HDFS-11604-v3.patch, HDFS-11604-v4.patch > > > According to recent discussions with [~andrew.wang] in HDFS-7337, it would be good to support allowing users to define their own erasure code codecs, schemas and policies via an XML file. The XML file can be passed to a CLI cmd to parse and send to NameNode to persist and maintain. > Open this task to define the XML format providing a default sample file to put in the configuration folder for users' reference, and implement the necessary parser utility. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org