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-9625) set replication for empty file failed when set storage policy
Date Thu, 21 Jan 2016 14:22:40 GMT

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

Hudson commented on HDFS-9625:
------------------------------

FAILURE: Integrated in Hadoop-trunk-Commit #9147 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/9147/])
HDFS-9625. set replication for empty file failed when set storage policy (vinayakumarb: rev
b7372b7166a13111b98794602ca4c166dfd78d29)
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirectory.java
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestSetrepIncreasing.java


> set replication for empty file  failed when set storage policy
> --------------------------------------------------------------
>
>                 Key: HDFS-9625
>                 URL: https://issues.apache.org/jira/browse/HDFS-9625
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 2.7.1
>            Reporter: DENG FEI
>            Assignee: DENG FEI
>             Fix For: 2.7.3
>
>         Attachments: HDFS-9625.003.patch, HDFS-9625.004.patch, patch.HDFS-9625.002, patch_HDFS-9625.20160107
>
>
>      When setReplication, the FSDirectory#updateCount need calculate the related storageTypes
quota,but will check the file consume the ds quota is positive.
>      Actually,it's may set replication after create file,like  JobSplitWriter#createSplitFiles.
>     It's also can reproduce on command shell:
>     1.  hdfs storagepolicies -setStoragePolicy -path /tmp -policy HOT
>     2.  hdfs dfs -touchz /tmp/test
>     3.  hdfs dfs -setrep 5 /tmp/test



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message