See 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/964/display/redirect?page=changes>

Changes:

[madhan] ATLAS-2536: fix NPE in Hive hook

[madhan] ATLAS-2460: fix for regression in handling HA mode

------------------------------------------
[...truncated 620.93 KB...]
127.0.0.1 - - [06/Apr/2018:05:51:05 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_table?attr:qualifiedName=default.tablelqf1tj7vlh@primary
 HTTP/1.1" 200 5150 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:05 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/b31d6886-0213-4f33-ad97-9c86df1caa2b 
HTTP/1.1" 200 5150 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:08 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_table?attr:qualifiedName=default.tablelqf1tj7vlh@primary
 HTTP/1.1" 200 5150 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:08 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_table?attr:qualifiedName=default.tablelqf1tj7vlh@primary
 HTTP/1.1" 200 5150 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:08 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_process?attr:qualifiedName=QUERY:default.tablelqf1tj7vlh@primary:1522993858000-%3E
 HTTP/1.1" 200 2018 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:08 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_process?attr:qualifiedName=QUERY:default.tablelqf1tj7vlh@primary:1522993858000-%3E
 HTTP/1.1" 200 2018 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:08 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/0484cf79-7cab-47a7-b601-0be9830426db 
HTTP/1.1" 200 2018 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:08 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/b31d6886-0213-4f33-ad97-9c86df1caa2b 
HTTP/1.1" 200 5150 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:08 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/d8b0905d-47a8-4da4-8319-7a7b5cdc7cda 
HTTP/1.1" 200 1385 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:08 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hdfs_path?attr:qualifiedName=pfile:/home/jenkins/jenkins-slave/workspace/atlas-master-integrationtests/addons/hive-bridge/target/somedfspath1-data-4ghwb7qr1h
 HTTP/1.1" 200 1385 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:08 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hdfs_path?attr:qualifiedName=pfile:/home/jenkins/jenkins-slave/workspace/atlas-master-integrationtests/addons/hive-bridge/target/somedfspath1-data-4ghwb7qr1h
 HTTP/1.1" 200 1385 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:12 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_table?attr:qualifiedName=default.tablelqf1tj7vlh@primary
 HTTP/1.1" 200 5150 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:12 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_table?attr:qualifiedName=default.tablelqf1tj7vlh@primary
 HTTP/1.1" 200 5150 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:12 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_process?attr:qualifiedName=QUERY:default.tablelqf1tj7vlh@primary:1522993858000-%3E
 HTTP/1.1" 200 2421 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:12 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_process?attr:qualifiedName=QUERY:default.tablelqf1tj7vlh@primary:1522993858000-%3E
 HTTP/1.1" 200 2421 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:12 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/0484cf79-7cab-47a7-b601-0be9830426db 
HTTP/1.1" 200 2421 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:12 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/b31d6886-0213-4f33-ad97-9c86df1caa2b 
HTTP/1.1" 200 5150 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:12 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/e07702f6-a28e-4c4f-8d91-d712a68c0dbb 
HTTP/1.1" 200 1385 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:12 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/d8b0905d-47a8-4da4-8319-7a7b5cdc7cda 
HTTP/1.1" 200 1385 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:12 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hdfs_path?attr:qualifiedName=pfile:/home/jenkins/jenkins-slave/workspace/atlas-master-integrationtests/addons/hive-bridge/target/somedfspath2-data-wrlq2t0rpu
 HTTP/1.1" 200 1385 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:12 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hdfs_path?attr:qualifiedName=pfile:/home/jenkins/jenkins-slave/workspace/atlas-master-integrationtests/addons/hive-bridge/target/somedfspath2-data-wrlq2t0rpu
 HTTP/1.1" 200 1385 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:13 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_db?attr:qualifiedName=default@primary
 HTTP/1.1" 200 14242 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:13 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_db?attr:qualifiedName=default@primary
 HTTP/1.1" 200 14242 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:13 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_table?attr:qualifiedName=default.table5d0pqfoxu1@primary
 HTTP/1.1" 404 154 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:18 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_table?attr:qualifiedName=default.table5d0pqfoxu1@primary
 HTTP/1.1" 200 5133 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:18 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_table?attr:qualifiedName=default.table5d0pqfoxu1@primary
 HTTP/1.1" 200 5133 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:18 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_process?attr:qualifiedName=default.table5d0pqfoxu1@primary:1522993873000
 HTTP/1.1" 200 2017 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:18 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_process?attr:qualifiedName=default.table5d0pqfoxu1@primary:1522993873000
 HTTP/1.1" 200 2017 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:18 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/aec3731c-a064-49c1-bb47-ea62d25fc181 
HTTP/1.1" 200 2017 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:18 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hdfs_path?attr:qualifiedName=pfile:/home/jenkins/jenkins-slave/workspace/atlas-master-integrationtests/addons/hive-bridge/target/parentpath-data-manacwhsmx
 HTTP/1.1" 200 1379 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:18 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hdfs_path?attr:qualifiedName=pfile:/home/jenkins/jenkins-slave/workspace/atlas-master-integrationtests/addons/hive-bridge/target/parentpath-data-manacwhsmx
 HTTP/1.1" 200 1379 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:18 +0000] "GET 
//localhost:31000/api/atlas/entities?type=hive_table HTTP/1.1" 200 2731 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:18 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/fac0f28d-27bc-4e54-bbca-6767a343b345 
HTTP/1.1" 200 14459 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:18 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_table?attr:qualifiedName=default.table5d0pqfoxu1@primary
 HTTP/1.1" 200 5133 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:18 +0000] "POST 
//localhost:31000/api/atlas/v2/entity/ HTTP/1.1" 200 208 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:18 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_process?attr:qualifiedName=default.table5d0pqfoxu1@primary:1522993873000
 HTTP/1.1" 200 2017 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:18 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_table?attr:qualifiedName=default.table5d0pqfoxu1@primary
 HTTP/1.1" 200 5131 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:18 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_table?attr:qualifiedName=default.table5d0pqfoxu1@primary
 HTTP/1.1" 200 5131 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:18 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_process?attr:qualifiedName=default.table5d0pqfoxu1@primary:1522993873000
 HTTP/1.1" 200 2017 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:18 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_process?attr:qualifiedName=default.table5d0pqfoxu1@primary:1522993873000
 HTTP/1.1" 200 2017 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:18 +0000] "GET 
//localhost:31000/api/atlas/entities?type=hive_table HTTP/1.1" 200 2731 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:18 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_db?attr:qualifiedName=default@primary
 HTTP/1.1" 200 14459 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:18 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_db?attr:qualifiedName=default@primary
 HTTP/1.1" 200 14459 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:18 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/fac0f28d-27bc-4e54-bbca-6767a343b345 
HTTP/1.1" 200 14459 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:18 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_table?attr:qualifiedName=default.tableuzyuytpiko@primary
 HTTP/1.1" 404 154 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:18 +0000] "POST 
//localhost:31000/api/atlas/v2/entity/ HTTP/1.1" 200 862 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:19 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/9f681a8e-f2e5-42ea-866a-c3bc3570efd7 
HTTP/1.1" 200 3658 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:19 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_process?attr:qualifiedName=default.tableuzyuytpiko@primary:1522993878000
 HTTP/1.1" 404 170 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:19 +0000] "POST 
//localhost:31000/api/atlas/v2/entity/bulk/ HTTP/1.1" 200 758 "-" 
"Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:19 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/d823d126-f111-44d5-b5f3-09f25c1a7932 
HTTP/1.1" 200 2095 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:19 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/2f711b31-8d2c-457e-9194-e5f05fcb69cb 
HTTP/1.1" 200 1362 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:19 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_table?attr:qualifiedName=default.tableuzyuytpiko@primary
 HTTP/1.1" 200 4056 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:19 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_table?attr:qualifiedName=default.tableuzyuytpiko@primary
 HTTP/1.1" 200 4056 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:19 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_process?attr:qualifiedName=default.tableuzyuytpiko@primary:1522993878000
 HTTP/1.1" 200 2095 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:19 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/uniqueAttribute/type/hive_process?attr:qualifiedName=default.tableuzyuytpiko@primary:1522993878000
 HTTP/1.1" 200 2095 "-" "Java/1.8.0_152"
127.0.0.1 - - [06/Apr/2018:05:51:19 +0000] "GET 
//localhost:31000/api/atlas/v2/entity/guid/d823d126-f111-44d5-b5f3-09f25c1a7932 
HTTP/1.1" 200 2095 "-" "Java/1.8.0_152"
Tests run: 46, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 486.015 sec 
<<< FAILURE! - in TestSuite
testAlterTablePartitionColumnType(org.apache.atlas.hive.hook.HiveHookIT)  Time 
elapsed: 80.666 sec  <<< FAILURE!
java.lang.AssertionError: Assertions failed. Failing after waiting for timeout 
80000 msecs
        at 
org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:388)
        at 
org.apache.atlas.AtlasBaseClient.callAPIWithResource(AtlasBaseClient.java:323)
        at org.apache.atlas.AtlasBaseClient.callAPI(AtlasBaseClient.java:228)
        at 
org.apache.atlas.AtlasClientV2.getEntityByAttribute(AtlasClientV2.java:264)
        at org.apache.atlas.hive.HiveITBase$1.evaluate(HiveITBase.java:209)
        at org.apache.atlas.hive.HiveITBase.waitFor(HiveITBase.java:266)
        at 
org.apache.atlas.hive.HiveITBase.assertEntityIsRegistered(HiveITBase.java:206)
        at 
org.apache.atlas.hive.hook.HiveHookIT.assertColumnIsRegistered(HiveHookIT.java:288)
        at 
org.apache.atlas.hive.hook.HiveHookIT.testAlterTablePartitionColumnType(HiveHookIT.java:1309)

testAlterTableRename(org.apache.atlas.hive.hook.HiveHookIT)  Time elapsed: 
14.543 sec  <<< FAILURE!
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.ArrayList.rangeCheck(ArrayList.java:657)
        at java.util.ArrayList.get(ArrayList.java:433)
        at 
org.apache.atlas.hive.hook.HiveHookIT.assertTrait(HiveHookIT.java:1018)
        at 
org.apache.atlas.hive.hook.HiveHookIT.testAlterTableRename(HiveHookIT.java:970)

testCreateTableHiveProcessNameAttribute(org.apache.atlas.hive.bridge.HiveMetastoreBridgeIT)
  Time elapsed: 0.009 sec  <<< FAILURE!
java.lang.AssertionError: expected [0] but found [40000]
        at org.testng.Assert.fail(Assert.java:94)
        at org.testng.Assert.failNotEquals(Assert.java:496)
        at org.testng.Assert.assertEquals(Assert.java:125)
        at org.testng.Assert.assertEquals(Assert.java:372)
        at org.testng.Assert.assertEquals(Assert.java:382)
        at 
org.apache.atlas.hive.HiveITBase.runCommandWithDelay(HiveITBase.java:154)
        at 
org.apache.atlas.hive.HiveITBase.runCommandWithDelay(HiveITBase.java:147)
        at org.apache.atlas.hive.HiveITBase.runCommand(HiveITBase.java:139)
        at 
org.apache.atlas.hive.bridge.HiveMetastoreBridgeIT.testCreateTableHiveProcessNameAttribute(HiveMetastoreBridgeIT.java:105)


Results :

Failed tests: 
  
HiveMetastoreBridgeIT.testCreateTableHiveProcessNameAttribute:105->HiveITBase.runCommand:139->HiveITBase.runCommandWithDelay:147->HiveITBase.runCommandWithDelay:154
 expected [0] but found [40000]
  
HiveHookIT.testAlterTablePartitionColumnType:1309->assertColumnIsRegistered:288->HiveITBase.assertEntityIsRegistered:206->HiveITBase.waitFor:270
 Assertions failed. Failing after waiting for timeout 80000 msecs
  HiveHookIT.testAlterTableRename:970->assertTrait:1018 » IndexOutOfBounds 
Index...

Tests run: 46, Failures: 3, Errors: 0, Skipped: 0

[INFO] 
[INFO] --- jetty-maven-plugin:9.3.14.v20161028:stop (stop-jetty) @ hive-bridge 
---
[INFO] Waiting 10 seconds for jetty to stop
[INFO] Stopped ServerConnector@4c59c51{HTTP/1.1,[http/1.1]}{0.0.0.0:31000}
[INFO] Closing Spring root WebApplicationContext
[INFO] Shutting down log4j
[INFO] Stopped 
o.e.j.m.p.JettyWebAppContext@c12a80b{/,file://<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/webapp/target/atlas-webapp-1.0.0-SNAPSHOT/,UNAVAILABLE}{/home/jenkins/jenkins-slave/workspace/Atlas-master-IntegrationTests/webapp/target/atlas-webapp-1.0.0-SNAPSHOT.war}>
[INFO] Server reports itself as stopped
[INFO] 
[INFO] --- maven-source-plugin:2.4:jar-no-fork (attach-sources) @ hive-bridge 
---
[INFO] Building jar: 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/addons/hive-bridge/target/hive-bridge-1.0.0-SNAPSHOT-sources.jar>
[INFO] 
[INFO] --- maven-source-plugin:2.4:test-jar-no-fork (attach-sources) @ 
hive-bridge ---
[INFO] Building jar: 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/addons/hive-bridge/target/hive-bridge-1.0.0-SNAPSHOT-test-sources.jar>
log4j:WARN No appenders could be found for logger 
(org.apache.zookeeper.ClientCnxn).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more 
info.
[INFO] 
[INFO] --- maven-failsafe-plugin:2.18.1:verify (verify) @ hive-bridge ---
[INFO] Failsafe report directory: 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/addons/hive-bridge/target/failsafe-reports>
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Atlas Server Build Tools .................... SUCCESS [  0.537 s]
[INFO] apache-atlas ....................................... SUCCESS [  4.027 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [  9.630 s]
[INFO] Open Connector Framework (OCF) ..................... SUCCESS [  9.178 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 17.922 s]
[INFO] Apache Atlas Common ................................ SUCCESS [  7.464 s]
[INFO] Apache Atlas Client ................................ SUCCESS [  0.937 s]
[INFO] atlas-client-common ................................ SUCCESS [  6.445 s]
[INFO] atlas-client-v1 .................................... SUCCESS [  6.883 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [  5.354 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [  8.302 s]
[INFO] atlas-client-v2 .................................... SUCCESS [  5.373 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [  0.501 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [  4.804 s]
[INFO] Graph Database Common Code ......................... SUCCESS [  4.925 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [ 13.083 s]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [  1.945 
s]
[INFO] Shaded version of Apache hbase client .............. SUCCESS [  7.300 s]
[INFO] Apache Atlas Titan 0.5.4 Graph DB Impl ............. SUCCESS [ 35.394 s]
[INFO] Shaded version of Apache hbase server .............. SUCCESS [ 19.196 s]
[INFO] Apache Atlas Authorization ......................... SUCCESS [  6.245 s]
[INFO] Apache Atlas Repository ............................ SUCCESS [ 28.577 s]
[INFO] Apache Atlas UI .................................... SUCCESS [01:08 min]
[INFO] Apache Atlas Web Application ....................... SUCCESS [04:19 min]
[INFO] Apache Atlas Documentation ......................... SUCCESS [  3.014 s]
[INFO] Apache Atlas FileSystem Model ...................... SUCCESS [  2.558 s]
[INFO] Apache Atlas Plugin Classloader .................... SUCCESS [  5.811 s]
[INFO] Apache Atlas Hive Bridge Shim ...................... SUCCESS [  4.806 s]
[INFO] Apache Atlas Hive Bridge ........................... FAILURE [08:54 min]
[INFO] Apache Atlas Falcon Bridge Shim .................... SKIPPED
[INFO] Apache Atlas Falcon Bridge ......................... SKIPPED
[INFO] Apache Atlas Sqoop Bridge Shim ..................... SKIPPED
[INFO] Apache Atlas Sqoop Bridge .......................... SKIPPED
[INFO] Apache Atlas Storm Bridge Shim ..................... SKIPPED
[INFO] Apache Atlas Storm Bridge .......................... SKIPPED
[INFO] Apache Atlas Hbase Bridge Shim ..................... SKIPPED
[INFO] Apache Atlas Hbase Bridge .......................... SKIPPED
[INFO] Apache Atlas Migration Exporter .................... SKIPPED
[INFO] Apache Atlas Distribution .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18:04 min
[INFO] Finished at: 2018-04-06T05:51:22Z
[INFO] Final Memory: 591M/2871M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-failsafe-plugin:2.18.1:verify (verify) on 
project hive-bridge: There are test failures.
[ERROR] 
[ERROR] Please refer to 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/addons/hive-bridge/target/failsafe-reports>
 for the individual test results.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :hive-bridge
Build step 'Execute shell' marked build as failure
[CHECKSTYLE] Collecting checkstyle analysis files...
[CHECKSTYLE] Searching for all files in 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/> that match 
the pattern **/target/checkstyle-result.xml
[CHECKSTYLE] Parsing 27 files in 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/>
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/addons/hdfs-model/target/checkstyle-result.xml>
 with 0 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/addons/hive-bridge-shim/target/checkstyle-result.xml>
 with 15 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/authorization/target/checkstyle-result.xml>
 with 684 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/client/client-v1/target/checkstyle-result.xml>
 with 1568 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/client/client-v2/target/checkstyle-result.xml>
 with 1927 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/client/common/target/checkstyle-result.xml>
 with 2415 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/client/target/checkstyle-result.xml>
 with 2415 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/common/target/checkstyle-result.xml>
 with 3463 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/dashboardv2/target/checkstyle-result.xml>
 with 3463 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/docs/target/checkstyle-result.xml>
 with 3463 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/graphdb/api/target/checkstyle-result.xml>
 with 3757 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/graphdb/common/target/checkstyle-result.xml>
 with 3966 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/graphdb/graphdb-impls/target/checkstyle-result.xml>
 with 3966 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/graphdb/janus/target/checkstyle-result.xml>
 with 5658 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/graphdb/target/checkstyle-result.xml>
 with 5658 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/graphdb/titan0/target/checkstyle-result.xml>
 with 8159 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/intg/target/checkstyle-result.xml>
 with 19170 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/notification/target/checkstyle-result.xml>
 with 20406 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/om-fwk-ocf/target/checkstyle-result.xml>
 with 25136 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/plugin-classloader/target/checkstyle-result.xml>
 with 25249 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/repository/target/checkstyle-result.xml>
 with 45007 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/server-api/target/checkstyle-result.xml>
 with 45158 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/shaded/hbase-client-shaded/target/checkstyle-result.xml>
 with 45158 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/shaded/hbase-server-shaded/target/checkstyle-result.xml>
 with 45158 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/target/checkstyle-result.xml>
 with 45158 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/test-tools/target/checkstyle-result.xml>
 with 45196 unique warnings and 0 duplicates.
[CHECKSTYLE] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/webapp/target/checkstyle-result.xml>
 with 53197 unique warnings and 0 duplicates.
<Git Blamer> Using GitBlamer to create author and commit information for all 
warnings.
<Git Blamer> GIT_COMMIT=5bccaa64da045bc576d47a1d89ef7c1766128f5f, 
workspace=<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/>
 > git rev-parse 5bccaa64da045bc576d47a1d89ef7c1766128f5f^{commit} # timeout=10
<Git Blamer> Skipping file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/repository/src/main/java/org/apache/atlas/discovery/SearchIndexer.java,>
 no result found.
[CHECKSTYLE] Computing warning deltas based on reference build #950
[FINDBUGS] Collecting findbugs analysis files...
[FINDBUGS] Searching for all files in 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/> that match 
the pattern **/target/findbugs.xml
[FINDBUGS] Parsing 18 files in 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/>
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/addons/hive-bridge-shim/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/authorization/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/client/client-v1/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/client/client-v2/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/client/common/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/common/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/graphdb/api/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/graphdb/common/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/graphdb/janus/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/graphdb/titan0/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/intg/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/notification/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/om-fwk-ocf/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/plugin-classloader/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/repository/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/server-api/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/test-tools/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
[FINDBUGS] Successfully parsed file 
<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/webapp/target/findbugs.xml>
 with 0 unique warnings and 0 duplicates.
<Git Blamer> Using GitBlamer to create author and commit information for all 
warnings.
<Git Blamer> GIT_COMMIT=5bccaa64da045bc576d47a1d89ef7c1766128f5f, 
workspace=<https://builds.apache.org/job/Atlas-master-IntegrationTests/ws/>
[FINDBUGS] Computing warning deltas based on reference build #950
Archiving artifacts
[Fast Archiver] Compressed 167.55 MB of artifacts by 66.2% relative to #950
TestNG Reports Processing: START
Looking for TestNG results report in workspace using pattern: 
**/target/surefire-reports/testng-results.xml,**/target/failsafe-reports/testng-results.xml
Saving reports...
Processing 
'/x1/jenkins/jenkins-home/jobs/Atlas-master-IntegrationTests/builds/964/testng/testng-results-1.xml'
Processing 
'/x1/jenkins/jenkins-home/jobs/Atlas-master-IntegrationTests/builds/964/testng/testng-results.xml'
1.744186% of tests failed, which exceeded threshold of 0%. Marking build as 
UNSTABLE
TestNG Reports Processing: FINISH

Reply via email to