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

Metric logging values are truncated in NN Metrics log.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: logging
    • Labels:
      None

      Description

      In namenode-metrics.log when metric name value pair is more than 128 characters, it is truncated as below –

      Example for LiveNodes information is —
      vi namenode-metrics.log

      2015-09-22 10:34:37,891 NameNodeInfo:LiveNodes={"host-10-xx-xxx-88:50076":{"infoAddr":"10.xx.xxx.88:0","infoSecureAddr":"10.xx.xxx.88:52100","xferaddr":"10.xx.xxx.88:50076","l...

      Here complete information of metric value is not logged.
      etc information being displayed as "..."
      Silimarly for other metric values in NN metrics.

      where as DN metric logs complete metric values.

        Attachments

          Activity

            People

            • Assignee:
              kanaka Kanaka Kumar Avvaru
              Reporter:
              archanat Archana T
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: