Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-7161

Hashcode is logging while logging block report message

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor 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

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

        Issue Links

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development