[
https://issues.apache.org/jira/browse/HADOOP-14732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16127797#comment-16127797
]
Steve Loughran commented on HADOOP-14732:
-----------------------------------------
Test RPC appears to be failing consistently on Jenkins now. Either this test
has broken something, or the test is brittle to time measurements & so failing
on VMs whose time is always a bit jittery.
Can you have a look? Thanks
{code}
org.mockito.exceptions.verification.junit.ArgumentsAreDifferent:
Argument(s) are different! Wanted:
metricsRecordBuilder.addGauge(
Info with name=RpcQueueTime1s50thPercentileLatency,
geq(0)
);
-> at
org.apache.hadoop.test.MetricsAsserts.assertQuantileGauges(MetricsAsserts.java:382)
Actual invocation has different arguments:
metricsRecordBuilder.addGauge(
MetricsInfoImpl{name=RpcQueueTime1s50thPercentileLatency, description=50
percentile latency with 1 second interval for rpc queue time in milli second},
-324869768
);
-> at
org.apache.hadoop.metrics2.lib.MutableQuantiles.snapshot(MutableQuantiles.java:124)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at
org.apache.hadoop.test.MetricsAsserts.assertQuantileGauges(MetricsAsserts.java:382)
at org.apache.hadoop.ipc.TestRPC.testRpcMetrics(TestRPC.java:106
{code}
> ProtobufRpcEngine should use Time.monotonicNow to measure durations
> -------------------------------------------------------------------
>
> Key: HADOOP-14732
> URL: https://issues.apache.org/jira/browse/HADOOP-14732
> Project: Hadoop Common
> Issue Type: Sub-task
> Reporter: Hanisha Koneru
> Assignee: Hanisha Koneru
> Fix For: 2.9.0, 3.0.0-beta1
>
> Attachments: HADOOP-14732.001.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]