Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-2673

While Namenode processing the blocksBeingWrittenReport, it will log incorrect number blocks count

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.0.0
    • Component/s: namenode
    • Labels:
      None
    • Target Version/s:

      Description

      In NameNode#blocksBeingWrittenReport
      we have the following stateChangeLog

      stateChangeLog.info("*BLOCK* NameNode.blocksBeingWrittenReport: "
                 +"from "+nodeReg.getName()+" "+blocks.length +" blocks");
      

      here blocks is long array. Every consecutive 3 elements represents a block ( length, blockid, genstamp).

      So, here in log message, blocks.length should be blocks.length/3.

      1. HDFS-2673.patch
        0.6 kB
        Uma Maheswara Rao G

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Uma Maheswara Rao G
            Reporter:
            Uma Maheswara Rao G
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development