[jira] [Updated] (HIVE-16187) Flaky Tests:TestHostAffinitySplitLocationProvider#testConsistentHashingFallback usually timed out

2017-03-14 Thread Ashutosh Chauhan (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-16187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashutosh Chauhan updated HIVE-16187:

   Resolution: Fixed
Fix Version/s: 2.2.0
   Status: Resolved  (was: Patch Available)

Pushed to master. Thanks, Fei!

> 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
> Fix For: 2.2.0
>
> 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 1 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()
> 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
> 

[jira] [Updated] (HIVE-16187) Flaky Tests:TestHostAffinitySplitLocationProvider#testConsistentHashingFallback usually timed out

2017-03-13 Thread Ashutosh Chauhan (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-16187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashutosh Chauhan updated HIVE-16187:

Status: Patch Available  (was: Open)

> 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 1 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()
> 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 

[jira] [Updated] (HIVE-16187) Flaky Tests:TestHostAffinitySplitLocationProvider#testConsistentHashingFallback usually timed out

2017-03-13 Thread Fei Hui (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-16187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fei Hui updated HIVE-16187:
---
Attachment: HIVE-16187.patch

patch upload. [~Ferd] could you please take a look? thanks

> 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 1 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()
> 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
> ---