hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-13239) Fix non-empty dir warning message when setting default EC policy
Date Tue, 13 Mar 2018 17:11:00 GMT

    [ https://issues.apache.org/jira/browse/HDFS-13239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16397289#comment-16397289
] 

Hudson commented on HDFS-13239:
-------------------------------

FAILURE: Integrated in Jenkins build Hadoop-trunk-Commit #13824 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/13824/])
HDFS-13239. Fix non-empty dir warning message when setting default EC (xiao: rev d6931c30c5a643ca192109b05a9c44da42a6318c)
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/ECAdmin.java
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/test/resources/testErasureCodingConf.xml


> Fix non-empty dir warning message when setting default EC policy
> ----------------------------------------------------------------
>
>                 Key: HDFS-13239
>                 URL: https://issues.apache.org/jira/browse/HDFS-13239
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Hanisha Koneru
>            Assignee: Bharat Viswanadham
>            Priority: Minor
>             Fix For: 3.1.0, 3.0.2
>
>         Attachments: HDFS-13239.00.patch, HDFS-13239.01.patch, HDFS-13239.02.patch, HDFS-13239.03.patch,
HDFS-13239.04.patch
>
>
> When EC policy is set on a non-empty directory, the following warning message is given:
> {code}
> $hdfs ec -setPolicy -policy RS-6-3-1024k -path /ec1
> Warning: setting erasure coding policy on a non-empty directory will not automatically
convert existing files to RS-6-3-1024k
> {code}
> When we do not specify the -policy parameter when setting EC policy on a directory, it
takes the default EC policy. Setting default EC policy in this way on a non-empty directory
gives the following warning message:
> {code}
> $hdfs ec -setPolicy -path /ec2
> Warning: setting erasure coding policy on a non-empty directory will not automatically
convert existing files to null
> {code}
> Notice that the warning message in the 2nd case has the ecPolicy name shown as null.
We should instead give the default EC policy name in this message.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message