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-7084) FsDatasetImpl#copyBlockFiles debug log can be improved
Date Thu, 02 Oct 2014 10:45:05 GMT

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

Hudson commented on HDFS-7084:
------------------------------

FAILURE: Integrated in Hadoop-Yarn-trunk #698 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/698/])
HDFS-7084. FsDatasetImpl#copyBlockFiles debug log can be improved. (Contributed by Xiaoyu
Yao) (arp: rev 5e4627d0fb2a2d608c0e67fd6ad835523ed3259d)
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/FsDatasetImpl.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-6581.txt


> FsDatasetImpl#copyBlockFiles debug log can be improved
> ------------------------------------------------------
>
>                 Key: HDFS-7084
>                 URL: https://issues.apache.org/jira/browse/HDFS-7084
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode
>    Affects Versions: HDFS-6581
>            Reporter: Xiaoyu Yao
>            Assignee: Xiaoyu Yao
>            Priority: Minor
>             Fix For: 3.0.0
>
>         Attachments: HDFS-7084.0.patch
>
>
> "addBlock: Moved" should be replaced with "Copied " or "lazyPersistReplica : Copied"
to avoid confusion.
> {code}
>   static File[] copyBlockFiles(long blockId, long genStamp,
>                                File srcMeta, File srcFile, File destRoot)
>   {
>    ... 
>     if (LOG.isDebugEnabled()) {
>       LOG.debug("addBlock: Moved " + srcMeta + " to " + dstMeta);
>       LOG.debug("addBlock: Moved " + srcFile + " to " + dstFile);
>     }
>   }
> {code}



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

Mime
View raw message