hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Masatake Iwasaki (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12539) GraphiteSink should have default value for server_host and server_port
Date Mon, 02 Nov 2015 07:22:27 GMT

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

Masatake Iwasaki commented on HADOOP-12539:
-------------------------------------------

{noformat}
15/11/02 12:44:27 WARN impl.MetricsSystemImpl: Error creating sink 'graphite'
org.apache.hadoop.metrics2.impl.MetricsConfigException: Error creating plugin: org.apache.hadoop.metrics2.sink.GraphiteSink
	at org.apache.hadoop.metrics2.impl.MetricsConfig.getPlugin(MetricsConfig.java:204)
	at org.apache.hadoop.metrics2.impl.MetricsSystemImpl.newSink(MetricsSystemImpl.java:530)
	at org.apache.hadoop.metrics2.impl.MetricsSystemImpl.configureSinks(MetricsSystemImpl.java:502)
	at org.apache.hadoop.metrics2.impl.MetricsSystemImpl.configure(MetricsSystemImpl.java:478)
	at org.apache.hadoop.metrics2.impl.MetricsSystemImpl.start(MetricsSystemImpl.java:189)
	at org.apache.hadoop.metrics2.impl.MetricsSystemImpl.init(MetricsSystemImpl.java:164)
	at org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.init(DefaultMetricsSystem.java:62)
	at org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.initialize(DefaultMetricsSystem.java:58)
	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1554)
	at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1623)
Caused by: java.lang.NumberFormatException: null
	at java.lang.Integer.parseInt(Integer.java:454)
	at java.lang.Integer.parseInt(Integer.java:527)
	at org.apache.hadoop.metrics2.sink.GraphiteSink.init(GraphiteSink.java:56)
	at org.apache.hadoop.metrics2.impl.MetricsConfig.getPlugin(MetricsConfig.java:201)
	... 9 more
{noformat}


> GraphiteSink should have default value for server_host and server_port
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-12539
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12539
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: metrics
>            Reporter: Masatake Iwasaki
>            Assignee: Masatake Iwasaki
>            Priority: Minor
>
> GraphiteSink throws exception if {{server_port}} is not set in metrics configuration.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message