[ https://issues.apache.org/jira/browse/HDFS-9120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14906419#comment-14906419 ]
Kanaka Kumar Avvaru commented on HDFS-9120: ------------------------------------------- Yes fine [~arpitagarwal]. Let user configure comma separated prefixes like {{excludekeystartwith = NameNodeInfo:LiveNodes, IPCLoggerChannel}} then NameNodeInfo:LiveNodes and all the metrics like IPCLoggerChannel-XXX will be ignored. Also shall we consider flatten and log values from TabularData & CompositeData types which are ignored currently? > Metric logging values are truncated in NN Metrics log. > ------------------------------------------------------ > > Key: HDFS-9120 > URL: https://issues.apache.org/jira/browse/HDFS-9120 > Project: Hadoop HDFS > Issue Type: Bug > Components: logging > Reporter: Archana T > Assignee: Kanaka Kumar Avvaru > > 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 > {color:red} > 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... > {color} > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)