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

Shwetha G S commented on ATLAS-455:
-----------------------------------

The latest apache build has succeeded - 
https://builds.apache.org/job/apache-atlas-nightly/172/

Looking at application.log, the update API takes little less than 5 secs to 
complete for you. HiveHookIT.assertEntityIsRegistered() has wait timeout as 
2000 msecs. See if changing it to 6000 will work for you.

> Build failure in Hive integration tests
> ---------------------------------------
>
>                 Key: ATLAS-455
>                 URL: https://issues.apache.org/jira/browse/ATLAS-455
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: trunk
>            Reporter: Nigel Jones
>         Attachments: application.log.gz
>
>
> With a latest git pull from ~1400 UTC , plus the ATLAS-439 patch to fix a 
> webapp build failure, I am now seeing the Hive integration tests fail. This 
> is in a pretty clean environment, centos 7.1
> Tests run: 12, Failures: 5, Errors: 0, Skipped: 0, Time elapsed: 177.625 sec 
> <<< FAILURE! - in org.apache.atlas.hive.hook
> .HiveHookIT
> testAlterTableRename(org.apache.atlas.hive.hook.HiveHookIT)  Time elapsed: 
> 27.741 sec  <<< FAILURE!
> java.lang.Exception: Waiting timed out after 2000 msec
>         at org.apache.atlas.hive.hook.HiveHookIT.waitFor(HiveHookIT.java:427)
>         at 
> org.apache.atlas.hive.hook.HiveHookIT.assertEntityIsRegistered(HiveHookIT.java:342)
>         at 
> org.apache.atlas.hive.hook.HiveHookIT.assertTableIsRegistered(HiveHookIT.java:320)
>         at 
> org.apache.atlas.hive.hook.HiveHookIT.testAlterTableRename(HiveHookIT.java:269)
> testAlterViewRename(org.apache.atlas.hive.hook.HiveHookIT)  Time elapsed: 
> 10.27 sec  <<< FAILURE!
> java.lang.Exception: Waiting timed out after 2000 msec
>         at org.apache.atlas.hive.hook.HiveHookIT.waitFor(HiveHookIT.java:427)
>         at 
> org.apache.atlas.hive.hook.HiveHookIT.assertEntityIsRegistered(HiveHookIT.java:342)
>         at 
> org.apache.atlas.hive.hook.HiveHookIT.assertTableIsRegistered(HiveHookIT.java:320)
>         at 
> org.apache.atlas.hive.hook.HiveHookIT.testAlterViewRename(HiveHookIT.java:284)
> testCTAS(org.apache.atlas.hive.hook.HiveHookIT)  Time elapsed: 13.085 sec  
> <<< FAILURE!
> java.lang.Exception: Waiting timed out after 2000 msec
>         at org.apache.atlas.hive.hook.HiveHookIT.waitFor(HiveHookIT.java:427)
>         at 
> org.apache.atlas.hive.hook.HiveHookIT.assertEntityIsRegistered(HiveHookIT.java:342)
>         at 
> org.apache.atlas.hive.hook.HiveHookIT.assertProcessIsRegistered(HiveHookIT.java:297)
>         at org.apache.atlas.hive.hook.HiveHookIT.testCTAS(HiveHookIT.java:171)
> testCreateView(org.apache.atlas.hive.hook.HiveHookIT)  Time elapsed: 4.736 
> sec  <<< FAILURE!
> java.lang.Exception: Waiting timed out after 2000 msec
>         at org.apache.atlas.hive.hook.HiveHookIT.waitFor(HiveHookIT.java:427)
>         at 
> org.apache.atlas.hive.hook.HiveHookIT.assertEntityIsRegistered(HiveHookIT.java:342)
>         at 
> org.apache.atlas.hive.hook.HiveHookIT.assertProcessIsRegistered(HiveHookIT.java:297)
>         at 
> org.apache.atlas.hive.hook.HiveHookIT.testCreateView(HiveHookIT.java:182)
> testInsert(org.apache.atlas.hive.hook.HiveHookIT)  Time elapsed: 10.654 sec  
> <<< FAILURE!
> java.lang.Exception: Waiting timed out after 2000 msec
>         at org.apache.atlas.hive.hook.HiveHookIT.waitFor(HiveHookIT.java:427)
>         at 
> org.apache.atlas.hive.hook.HiveHookIT.assertEntityIsRegistered(HiveHookIT.java:342)
>         at 
> org.apache.atlas.hive.hook.HiveHookIT.assertProcessIsRegistered(HiveHookIT.java:297)
>         at 
> org.apache.atlas.hive.hook.HiveHookIT.testInsert(HiveHookIT.java:206)
> Results :
> Failed tests:
>   
> HiveHookIT.testAlterTableRename:269->assertTableIsRegistered:320->assertEntityIsRegistered:342->waitFor:427
>   
> HiveHookIT.testAlterViewRename:284->assertTableIsRegistered:320->assertEntityIsRegistered:342->waitFor:427
>   
> HiveHookIT.testCTAS:171->assertProcessIsRegistered:297->assertEntityIsRegistered:342->waitFor:427
>   
> HiveHookIT.testCreateView:182->assertProcessIsRegistered:297->assertEntityIsRegistered:342->waitFor:427
>   
> HiveHookIT.testInsert:206->assertProcessIsRegistered:297->assertEntityIsRegistered:342->waitFor:427
> Tests run: 12, Failures: 5, Errors: 0, Skipped: 0



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

Reply via email to