hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HDFS-7084) FsDatasetImpl#copyBlockFiles debug log can be improved
Date Thu, 18 Sep 2014 18:15:37 GMT

     [ https://issues.apache.org/jira/browse/HDFS-7084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Arpit Agarwal resolved HDFS-7084.
---------------------------------
       Resolution: Fixed
    Fix Version/s: HDFS-6581
     Hadoop Flags: Reviewed

+1, committed to the feature branch.

Thanks Xiaoyu! The old log message was incorrect.

> 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: HDFS-6581
>
>         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