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

Steve Loughran commented on HADOOP-11390:
-----------------------------------------


{code}
2014-12-10 04:51:42,037 ERROR [ganglia] impl.MetricsSinkAdapter: Got sink 
exception, retry in 870ms
java.lang.IllegalArgumentException: unresolved address
        at java.net.DatagramPacket.setSocketAddress(DatagramPacket.java:313)
        at java.net.DatagramPacket.<init>(DatagramPacket.java:140)
        at java.net.DatagramPacket.<init>(DatagramPacket.java:175)
        at 
org.apache.hadoop.metrics2.sink.ganglia.AbstractGangliaSink.emitToGangliaHosts(AbstractGangliaSink.java:257)
        at 
org.apache.hadoop.metrics2.sink.ganglia.GangliaSink31.emitMetric(GangliaSink31.java:87)
        at 
org.apache.hadoop.metrics2.sink.ganglia.GangliaSink30.putMetrics(GangliaSink30.java:184)
        at 
org.apache.hadoop.metrics2.impl.MetricsSinkAdapter.consume(MetricsSinkAdapter.java:173)
        at 
org.apache.hadoop.metrics2.impl.MetricsSinkAdapter.consume(MetricsSinkAdapter.java:41)
        at 
org.apache.hadoop.metrics2.impl.SinkQueue.consumeAll(SinkQueue.java:87)
        at 
org.apache.hadoop.metrics2.impl.MetricsSinkAdapter.publishMetricsFromQueue(MetricsSinkAdapter.java:127)
        at 
org.apache.hadoop.metrics2.impl.MetricsSinkAdapter$1.run(MetricsSinkAdapter.java:86)
{code}

> Metrics 2 ganglia provider to include hostname in unresolved address problems
> -----------------------------------------------------------------------------
>
>                 Key: HADOOP-11390
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11390
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: metrics
>    Affects Versions: 2.6.0
>            Reporter: Steve Loughran
>            Priority: Minor
>
> When metrics2/ganglia gets an unresolved hostname it doesn't include the 
> hostname in question, making it harder to track down



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

Reply via email to