hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-14200) StatsDSink error reporting to use NetUtils for failure diagnostics
Date Sun, 19 Mar 2017 18:00:43 GMT

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

Steve Loughran commented on HADOOP-14200:
-----------------------------------------

new messages are better
{code}
Running org.apache.hadoop.metrics2.impl.TestStatsDMetrics
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.468 sec <<< FAILURE!
- in org.apache.hadoop.metrics2.i
mpl.TestStatsDMetrics
testPutMetrics2(org.apache.hadoop.metrics2.impl.TestStatsDMetrics)  Time elapsed: 0.421 sec
 <<< ERROR!
org.apache.hadoop.metrics2.MetricsException: Error writing metric to StatsD: java.net.BindException:
Problem binding to
[localhost:0] java.net.BindException: Cannot assign requested address: Datagram send failed;
For more details see:  http
://wiki.apache.org/hadoop/BindException
        at java.net.TwoStacksPlainDatagramSocketImpl.send(Native Method)
        at java.net.DatagramSocket.send(DatagramSocket.java:693)
        at org.apache.hadoop.metrics2.sink.StatsDSink$StatsD.write(StatsDSink.java:204)
        at org.apache.hadoop.metrics2.sink.StatsDSink.writeMetric(StatsDSink.java:151)
        at org.apache.hadoop.metrics2.sink.StatsDSink.putMetrics(StatsDSink.java:144)
        at org.apache.hadoop.metrics2.impl.TestStatsDMetrics.testPutMetrics2(TestStatsDMetrics.java:109)

testPutMetrics(org.apache.hadoop.metrics2.impl.TestStatsDMetrics)  Time elapsed: 0 sec  <<<
ERROR!
org.apache.hadoop.metrics2.MetricsException: Error writing metric to StatsD: java.net.BindException:
Problem binding to
[localhost:0] java.net.BindException: Cannot assign requested address: Datagram send failed;
For more details see:  http
://wiki.apache.org/hadoop/BindException
        at java.net.TwoStacksPlainDatagramSocketImpl.send(Native Method)
        at java.net.DatagramSocket.send(DatagramSocket.java:693)
        at org.apache.hadoop.metrics2.sink.StatsDSink$StatsD.write(StatsDSink.java:204)
        at org.apache.hadoop.metrics2.sink.StatsDSink.writeMetric(StatsDSink.java:151)
        at org.apache.hadoop.metrics2.sink.StatsDSink.putMetrics(StatsDSink.java:144)
        at org.apache.hadoop.metrics2.impl.TestStatsDMetrics.testPutMetrics(TestStatsDMetrics.java:74)

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=768m; support was removed
in 8.0

Results :

Tests in error:
  TestStatsDMetrics.testPutMetrics2:109 » Metrics Error writing metric to StatsD...
  TestStatsDMetrics.testPutMetrics:74 » Metrics Error writing metric to StatsD: ...
{code}

> StatsDSink error reporting to use NetUtils for failure diagnostics
> ------------------------------------------------------------------
>
>                 Key: HADOOP-14200
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14200
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: metrics
>    Affects Versions: 2.8.0
>            Reporter: Steve Loughran
>
> When statsd publisher fails, it doesn't include the hostname/port information needed
to begin debugging the problem. That's what NetUtils is for



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message