hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaoyu Yao (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-7084) FsDatasetImpl#copyBlockFiles debug log can be improved
Date Wed, 17 Sep 2014 18:58:33 GMT
Xiaoyu Yao created HDFS-7084:
--------------------------------

             Summary: FsDatasetImpl#copyBlockFiles debug log can be improved
                 Key: HDFS-7084
                 URL: https://issues.apache.org/jira/browse/HDFS-7084
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: datanode
    Affects Versions: 2.6.0
            Reporter: Xiaoyu Yao
            Priority: Minor


"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