Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7161

Hashcode is logging while logging block report message

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.7.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Scenario:
      =========

      Start NN and DN.
      Check log messgae in DN..It's coming like following

      2012-03-13 14:34:36,008 INFO org.apache.hadoop.hdfs.server.datanode.DataNode: sent block report, processed command:org.apache.hadoop.hdfs.server.protocol.FinalizeCommand@43deff3
      line num 413 in BpserviceActor.java LOG.info("sent block report, processed command:" + cmd);

      line num 388 in BpserviceActor.java cmd = bpNamenode.blockReport(bpRegistration,bpos.getBlockPoolId(), report);

      It's better log message instead of hashcode

        Attachments

        1. Hadoop-8252.patch
          2 kB
          Ashish Singhi
        2. HDFS-7161.patch
          2 kB
          Brahma Reddy Battula
        3. HDFS-7161-002.patch
          2 kB
          Brahma Reddy Battula

          Issue Links

            Activity

              People

              • Assignee:
                brahmareddy Brahma Reddy Battula
                Reporter:
                brahmareddy Brahma Reddy Battula
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: