Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-6581 Write to single replica in memory
  3. HDFS-7084

FsDatasetImpl#copyBlockFiles debug log can be improved

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • HDFS-6581
    • 2.6.0
    • datanode
    • None
    • Reviewed

    Description

      "addBlock: Moved" should be replaced with "Copied " or "lazyPersistReplica : Copied" to avoid confusion.

        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);
          }
        }
      
      

      Attachments

        1. HDFS-7084.0.patch
          1 kB
          Xiaoyu Yao

        Activity

          People

            xyao Xiaoyu Yao
            xyao Xiaoyu Yao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: