hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fei Hui (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-16187) Flaky Tests:TestHostAffinitySplitLocationProvider#testConsistentHashingFallback usually timed out
Date Tue, 14 Mar 2017 02:39:41 GMT

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

Fei Hui commented on HIVE-16187:
--------------------------------

Yes, with 20s timeouot, it will always pass in my environment.

> Flaky Tests:TestHostAffinitySplitLocationProvider#testConsistentHashingFallback usually
timed out
> -------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-16187
>                 URL: https://issues.apache.org/jira/browse/HIVE-16187
>             Project: Hive
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 2.2.0
>         Environment: cpu : 2 cores
> mem : 4G
>            Reporter: Fei Hui
>            Assignee: Fei Hui
>         Attachments: HIVE-16187.patch
>
>
> This test usually time out, elapsed time nears 10s even if it sucesses.
> {quote}
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed
in 8.0
> Running org.apache.hadoop.hive.ql.exec.tez.TestHostAffinitySplitLocationProvider
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.361 sec - in org.apache.hadoop.hive.ql.exec.tez.TestHostAffinitySplitLocationProvider
> Results :
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed
in 8.0
> Running org.apache.hadoop.hive.ql.exec.tez.TestHostAffinitySplitLocationProvider
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 11.354 sec <<<
FAILURE! - in org.apache.hadoop.hive.ql.exec.tez.TestHostAffinitySplitLocationProvider
> testConsistentHashingFallback(org.apache.hadoop.hive.ql.exec.tez.TestHostAffinitySplitLocationProvider)
 Time elapsed: 10.019 sec  <<< ERROR!
> java.lang.Exception: test timed out after 10000 milliseconds
>         at java.lang.String.intern(Native Method)
>         at java.lang.Class.searchFields(Class.java:2956)
>         at java.lang.Class.getDeclaredField(Class.java:2068)
>         at org.mockito.internal.creation.cglib.CGLIBHacker.reflectOnCreateInfo(CGLIBHacker.java:44)
>         at org.mockito.internal.creation.cglib.CGLIBHacker.setMockitoNamingPolicy(CGLIBHacker.java:20)
>         at org.mockito.internal.creation.MethodInterceptorFilter.intercept(MethodInterceptorFilter.java:45)
>         at $java.util.List$$EnhancerByMockitoWithCGLIB$$4eb99852.size(<generated>)
>         at org.apache.hadoop.hive.ql.exec.tez.HostAffinitySplitLocationProvider.determineLocation(HostAffinitySplitLocationProvider.java:79)
>         at org.apache.hadoop.hive.ql.exec.tez.TestHostAffinitySplitLocationProvider.testHashDistribution(TestHostAffinitySplitLocationProvider.java:216)
>         at org.apache.hadoop.hive.ql.exec.tez.TestHostAffinitySplitLocationProvider.testConsistentHashingFallback(TestHostAffinitySplitLocationProvider.java:181)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:498)
>         at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
>         at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>         at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
>         at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>         at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
> Results :
> Tests in error:
>   TestHostAffinitySplitLocationProvider.testConsistentHashingFallback:181->testHashDistribution:216
ยป
> {quote}
> Maybe we should enlarge the timeout for this test. 
> After enlarging the timeout, this test always passed
> {quote}
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed
in 8.0
> Running org.apache.hadoop.hive.ql.exec.tez.TestHostAffinitySplitLocationProvider
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.697 sec - in org.apache.hadoop.hive.ql.exec.tez.TestHostAffinitySplitLocationProvider
> Results :
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed
in 8.0
> Running org.apache.hadoop.hive.ql.exec.tez.TestHostAffinitySplitLocationProvider
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.332 sec - in org.apache.hadoop.hive.ql.exec.tez.TestHostAffinitySplitLocationProvider
> Results :
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
> {quote}



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

Mime
View raw message