Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-7161

Hashcode is logging while logging block report message

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Trivial Trivial
    • Resolution: Unresolved
    • Affects Version/s: 2.0.0-alpha
    • 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. Hadoop-8252.patch
        2 kB
        Ashish Singhi

        Issue Links

          Activity

            People

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

              Dates

              • Created:
                Updated:

                Development