Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 79D1E18DDA for ; Wed, 30 Sep 2015 17:26:41 +0000 (UTC) Received: (qmail 61909 invoked by uid 500); 30 Sep 2015 17:25:29 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 61862 invoked by uid 500); 30 Sep 2015 17:25:29 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 61832 invoked by uid 99); 30 Sep 2015 17:25:29 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Sep 2015 17:25:29 +0000 Date: Wed, 30 Sep 2015 17:25:29 +0000 (UTC) From: "Hudson (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-8364) Erasure coding: fix some minor bugs in EC CLI MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-8364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14937899#comment-14937899 ] Hudson commented on HDFS-8364: ------------------------------ FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #473 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/473/]) HDFS-8364. Erasure coding: fix some minor bugs in EC CLI (Contributed by (zhezhang: rev bba15e06d29d79ab1c379f258e5efb13a1ea39ae) * hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/erasurecode/ECCommand.java * hadoop-hdfs-project/hadoop-hdfs/src/test/resources/testErasureCodingConf.xml * hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs * hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt > Erasure coding: fix some minor bugs in EC CLI > --------------------------------------------- > > Key: HDFS-8364 > URL: https://issues.apache.org/jira/browse/HDFS-8364 > Project: Hadoop HDFS > Issue Type: Sub-task > Reporter: Walter Su > Assignee: Walter Su > Priority: Minor > Fix For: HDFS-7285 > > Attachments: HDFS-8364-HDFS-7285.001.patch, HDFS-8364-HDFS-7285.002.patch > > > issue 1: it's not user-friendly. We should tell user that `hdfs erasurecode` is the entrance to EC commands(HDFS-7349) > {noformat} > # bin/hdfs > Usage: hdfs [--config confdir] [--daemon (start|stop|status)] > [--loglevel loglevel] COMMAND > where COMMAND is one of: > balancer run a cluster balancing utility > cacheadmin configure the HDFS cache > crypto configure HDFS encryption zones > ... > zkfc run the ZK Failover Controller daemon > {noformat} > issue 2: it's not user-friendly > {noformat} > # bin/hdfs erasurecode -getZoneInfo / > -getZoneInfo: Fatal internal error > java.lang.NullPointerException > at org.apache.hadoop.hdfs.tools.erasurecode.ECCommand$GetECZoneInfoCommand.processPath(ECCommand.java:168) > at org.apache.hadoop.fs.shell.Command.processPaths(Command.java:321) > at org.apache.hadoop.fs.shell.Command.processPathArgument(Command.java:293) > at org.apache.hadoop.fs.shell.Command.processArgument(Command.java:275) > at org.apache.hadoop.fs.shell.Command.processArguments(Command.java:259) > at org.apache.hadoop.fs.shell.Command.processRawArguments(Command.java:205) > at org.apache.hadoop.fs.shell.Command.run(Command.java:166) > at org.apache.hadoop.fs.FsShell.run(FsShell.java:291) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) > at org.apache.hadoop.hdfs.tools.erasurecode.ECCli.main(ECCli.java:45) > {noformat} > possible issue 3: We create zone twice at / > {noformat} > # bin/hdfs erasurecode -createZone / > EC Zone created successfully at hdfs://ds-34:9000/ > # bin/hdfs erasurecode -createZone / > createZone: Unable to create EC zone for the path hdfs://ds-34:9000/ > {noformat} > It doesn't print detail error message. -- This message was sent by Atlassian JIRA (v6.3.4#6332)