hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kanaka Kumar Avvaru (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-9120) Metric logging values are truncated in NN Metrics log.
Date Wed, 23 Sep 2015 05:49:04 GMT

    [ https://issues.apache.org/jira/browse/HDFS-9120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14904002#comment-14904002
] 

Kanaka Kumar Avvaru commented on HDFS-9120:
-------------------------------------------

Thanks for reporting the issue [~archanat].

I think message was truncated to avoid excessive logging. But true there should be option
to get the complete information or limit the content size in different way by extracting 
important details (Ex- Log only live node name ignoring all other details like infoAddr,etc.)

For simplicity I am thinking to make the truncate length configurable and don't truncate by
default . [~arpitagarwal], do you have any other view on this?

> 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)

Mime
View raw message