You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by Shwetha Shivalingamurthy <ss...@hortonworks.com> on 2015/10/01 08:08:16 UTC

Re: Search syntax

The new hive hook doesn’t call any atlas APIs. Looks like you have old
atlas libraries in the hive hook, replace them with the new ones from
atlas package

Regards,
Shwetha




On 01/10/15 3:00 am, "Herman Yu" <he...@teeupdata.com> wrote:

>I managed deployed v0.6, however, the hive hook doesn’t work. see error
>exceptions below when queries Hive. are there any hive hook related
>configuration changes needed with v0.6? I went through the document but
>didn’t find any.
>
>
>I also see many lines like this in application.log, not sure if they are
>related. 
>
>
>2015-09-30 17:26:01,276 INFO  - [qtp491264922-13 -
>2100abbb-10c8-461f-8fff-be0264c16a8f:] ~ Couldn't find JAX-B element for
>class javax.ws.rs.core.Response (WadlGeneratorJAXBGrammarGenerator:508)
>
>Thanks
>Herman.
>
>-------------------------------
>
>
>hive> select * from sample_07;
>FAILED: Hive Internal Error:
>org.apache.atlas.AtlasServiceException(org.codehaus.jettison.json.JSONExce
>ption: JSONObject["results"] is not a JSONObject.)
>org.apache.atlas.AtlasServiceException:
>org.codehaus.jettison.json.JSONException: JSONObject["results"] is not a
>JSONObject.
>	at org.apache.atlas.AtlasClient.searchByDSL(AtlasClient.java:280)
>	at 
>org.apache.atlas.hive.bridge.HiveMetaStoreBridge.getEntityReferenceFromDSL
>(HiveMetaStoreBridge.java:188)
>	at 
>org.apache.atlas.hive.bridge.HiveMetaStoreBridge.getDatabaseReference(Hive
>MetaStoreBridge.java:169)
>	at 
>org.apache.atlas.hive.bridge.HiveMetaStoreBridge.registerDatabase(HiveMeta
>StoreBridge.java:103)
>	at 
>org.apache.atlas.hive.bridge.HiveMetaStoreBridge.registerTable(HiveMetaSto
>reBridge.java:270)
>	at org.apache.atlas.hive.hook.HiveHook.registerProcess(HiveHook.java:300)
>	at org.apache.atlas.hive.hook.HiveHook.fireAndForget(HiveHook.java:193)
>	at org.apache.atlas.hive.hook.HiveHook.run(HiveHook.java:152)
>	at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1520)
>	at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1195)
>	at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1059)
>	at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1049)
>	at 
>org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:213)
>	at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:165)
>	at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:376)
>	at org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:736)
>	at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:681)
>	at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:621)
>	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>	at 
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
>57)
>	at 
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>pl.java:43)
>	at java.lang.reflect.Method.invoke(Method.java:606)
>	at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
>	at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
>Caused by: org.codehaus.jettison.json.JSONException:
>JSONObject["results"] is not a JSONObject.
>	at 
>org.codehaus.jettison.json.JSONObject.getJSONObject(JSONObject.java:458)
>	at org.apache.atlas.AtlasClient.searchByDSL(AtlasClient.java:278)
>	... 23 more
>
>
>On Sep 30, 2015, at 12:04 PM, Herman Yu <he...@teeupdata.com> wrote:
>
>> yes, that’s what I did since I don’t have Kerberos enabled on local
>>environment and one test failed. The built completed successfully, I am
>>in the process deploying v0.6.
>> 
>> Thanks for all the help.
>> Herman. 
>> 
>> 
>> On Sep 30, 2015, at 11:59 AM, Shwetha Shivalingamurthy
>><ss...@hortonworks.com> wrote:
>> 
>>> You can run with -DskipTests as well
>>> 
>>> Regards,
>>> Shwetha
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> On 30/09/15 11:15 am, "Shwetha Shivalingamurthy"
>>> <ss...@hortonworks.com> wrote:
>>> 
>>>> I took the trunk, applied ATLAS-128 and the build went through fine.
>>>> Delete atlas/target and try again. If the tests fail still, send the
>>>> application.log.
>>>> 
>>>> Meanwhile, I have modified the nightly build to build the distro.
>>>> https://builds.apache.org/job/apache-atlas-nightly/ #81 onwards should
>>>> have the tarball generated
>>>> 
>>>> Regards,
>>>> Shwetha
>>>> 
>>>> 
>>>> 
>>>> 
>>>> On 30/09/15 1:54 am, "Herman Yu" <he...@teeupdata.com> wrote:
>>>> 
>>>>> thanks Shwetha,
>>>>> 
>>>>> I applied ATLAS-128 and the moved to the step building web app. After
>>>>> figuring out the Node JS step, it failed at the test step, with
>>>>>following
>>>>> errors.
>>>>> 
>>>>> Thanks for all the help so far, are we seeing the lights at the end
>>>>>of
>>>>> the tunnel?
>>>>> 
>>>>> Thanks
>>>>> Herman.
>>>>> 
>>>>> 127.0.0.1 - - [29/Sep/2015:20:19:52 +0000] "GET
>>>>> /api/atlas/lineage/hive/table/schema HTTP/1.1" 404 - "-"
>>>>>"Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:19:52 +0000] "GET
>>>>> /api/atlas/lineage/hive/table/blah/schema HTTP/1.1" 404 - "-"
>>>>> "Java/1.7.0_85"
>>>>> Tests run: 5, Failures: 2, Errors: 0, Skipped: 0, Time elapsed:
>>>>>9.985 sec
>>>>> <<< FAILURE! - in
>>>>> org.apache.atlas.web.resources.HiveLineageJerseyResourceIT
>>>>> 
>>>>>testInputsGraph(org.apache.atlas.web.resources.HiveLineageJerseyResour
>>>>>ceI
>>>>> T
>>>>> )  Time elapsed: 1.913 sec  <<< FAILURE!
>>>>> java.lang.AssertionError: expected:<4> but was:<0>
>>>>> 	at org.testng.Assert.fail(Assert.java:89)
>>>>> 	at org.testng.Assert.failNotEquals(Assert.java:489)
>>>>> 	at org.testng.Assert.assertEquals(Assert.java:118)
>>>>> 	at org.testng.Assert.assertEquals(Assert.java:365)
>>>>> 	at org.testng.Assert.assertEquals(Assert.java:375)
>>>>> 	at 
>>>>> 
>>>>>org.apache.atlas.web.resources.HiveLineageJerseyResourceIT.testInputsG
>>>>>rap
>>>>> h
>>>>> (HiveLineageJerseyResourceIT.java:77)
>>>>> 
>>>>> 
>>>>>testOutputsGraph(org.apache.atlas.web.resources.HiveLineageJerseyResou
>>>>>rce
>>>>> I
>>>>> T)  Time elapsed: 1.757 sec  <<< FAILURE!
>>>>> java.lang.AssertionError: expected:<3> but was:<0>
>>>>> 	at org.testng.Assert.fail(Assert.java:89)
>>>>> 	at org.testng.Assert.failNotEquals(Assert.java:489)
>>>>> 	at org.testng.Assert.assertEquals(Assert.java:118)
>>>>> 	at org.testng.Assert.assertEquals(Assert.java:365)
>>>>> 	at org.testng.Assert.assertEquals(Assert.java:375)
>>>>> 	at 
>>>>> 
>>>>>org.apache.atlas.web.resources.HiveLineageJerseyResourceIT.testOutputs
>>>>>Gra
>>>>> p
>>>>> h(HiveLineageJerseyResourceIT.java:105)
>>>>> 
>>>>> Running org.apache.atlas.web.resources.AdminJerseyResourceIT
>>>>> 127.0.0.1 - - [29/Sep/2015:20:19:54 +0000] "GET
>>>>>/api/atlas/admin/version
>>>>> HTTP/1.1" 200 - "-" "Java/1.7.0_85"
>>>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.67
>>>>>sec
>>>>> - in org.apache.atlas.web.resources.AdminJerseyResourceIT
>>>>> Running org.apache.atlas.web.resources.TypesJerseyResourceIT
>>>>> 127.0.0.1 - - [29/Sep/2015:20:19:56 +0000] "POST /api/atlas/types
>>>>> HTTP/1.1" 409 - "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:19:56 +0000] "POST /api/atlas/types
>>>>> HTTP/1.1" 409 - "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:19:57 +0000] "GET /api/atlas/types/blah
>>>>> HTTP/1.1" 404 - "-" "Java/1.7.0_85"
>>>>> Tests run: 5, Failures: 2, Errors: 0, Skipped: 2, Time elapsed:
>>>>>1.985 sec
>>>>> <<< FAILURE! - in
>>>>>org.apache.atlas.web.resources.TypesJerseyResourceIT
>>>>> testSubmit(org.apache.atlas.web.resources.TypesJerseyResourceIT)
>>>>>Time
>>>>> elapsed: 0.333 sec  <<< FAILURE!
>>>>> java.lang.AssertionError: expected:<201> but was:<409>
>>>>> 	at org.testng.Assert.fail(Assert.java:89)
>>>>> 	at org.testng.Assert.failNotEquals(Assert.java:489)
>>>>> 	at org.testng.Assert.assertEquals(Assert.java:118)
>>>>> 	at org.testng.Assert.assertEquals(Assert.java:365)
>>>>> 	at org.testng.Assert.assertEquals(Assert.java:375)
>>>>> 	at 
>>>>> 
>>>>>org.apache.atlas.web.resources.TypesJerseyResourceIT.testSubmit(TypesJ
>>>>>ers
>>>>> e
>>>>> yResourceIT.java:77)
>>>>> 
>>>>> 
>>>>>testGetTraitNames(org.apache.atlas.web.resources.TypesJerseyResourceIT
>>>>>)
>>>>> Time elapsed: 0.01 sec  <<< FAILURE!
>>>>> java.lang.AssertionError: expected:<201> but was:<409>
>>>>> 	at org.testng.Assert.fail(Assert.java:89)
>>>>> 	at org.testng.Assert.failNotEquals(Assert.java:489)
>>>>> 	at org.testng.Assert.assertEquals(Assert.java:118)
>>>>> 	at org.testng.Assert.assertEquals(Assert.java:365)
>>>>> 	at org.testng.Assert.assertEquals(Assert.java:375)
>>>>> 	at 
>>>>> 
>>>>>org.apache.atlas.web.resources.BaseResourceIT.createType(BaseResourceI
>>>>>T.j
>>>>> a
>>>>> va:96)
>>>>> 	at 
>>>>> 
>>>>>org.apache.atlas.web.resources.TypesJerseyResourceIT.addTraits(TypesJe
>>>>>rse
>>>>> y
>>>>> ResourceIT.java:182)
>>>>> 	at 
>>>>> 
>>>>>org.apache.atlas.web.resources.TypesJerseyResourceIT.testGetTraitNames
>>>>>(Ty
>>>>> p
>>>>> esJerseyResourceIT.java:155)
>>>>> 
>>>>> Running org.apache.atlas.web.resources.EntityJerseyResourceIT
>>>>> 127.0.0.1 - - [29/Sep/2015:20:19:59 +0000] "OPTIONS
>>>>> /api/atlas/types/hive_db?user.name=root HTTP/1.1" 200 590 "-"
>>>>> "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:19:59 +0000] "GET
>>>>>/api/atlas/types/hive_db
>>>>> HTTP/1.1" 200 - "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:19:59 +0000] "OPTIONS
>>>>> /api/atlas/entities?user.name=root HTTP/1.1" 200 964 "-"
>>>>>"Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:19:59 +0000] "POST /api/atlas/entities
>>>>> HTTP/1.1" 201 - "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:00 +0000] "PUT
>>>>> 
>>>>>/api/atlas/entity/a200297a-74c5-4773-89b9-fe0fea1a5fad?property=descri
>>>>>pti
>>>>> o
>>>>> n&value=bar+table+-+new+desc HTTP/1.1" 200 - "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:00 +0000] "GET
>>>>> /api/atlas/entity/a200297a-74c5-4773-89b9-fe0fea1a5fad HTTP/1.1" 200
>>>>>-
>>>>> "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:00 +0000] "PUT
>>>>> 
>>>>>/api/atlas/entity/a200297a-74c5-4773-89b9-fe0fea1a5fad?property=invali
>>>>>d_p
>>>>> r
>>>>> operty&value=bar+table HTTP/1.1" 400 - "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:00 +0000] "PUT
>>>>> 
>>>>>/api/atlas/entity/a200297a-74c5-4773-89b9-fe0fea1a5fad?property=create
>>>>>Tim
>>>>> e
>>>>> &value=1443558000107 HTTP/1.1" 200 - "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:00 +0000] "GET
>>>>> /api/atlas/entity/a200297a-74c5-4773-89b9-fe0fea1a5fad HTTP/1.1" 200
>>>>>-
>>>>> "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:00 +0000] "OPTIONS
>>>>> /api/atlas/entities?user.name=root HTTP/1.1" 200 964 "-"
>>>>>"Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:00 +0000] "POST /api/atlas/entities
>>>>> HTTP/1.1" 201 - "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:00 +0000] "PUT
>>>>> 
>>>>>/api/atlas/entity/a200297a-74c5-4773-89b9-fe0fea1a5fad?property=db&val
>>>>>ue=
>>>>> 9
>>>>> 9b77a84-e64b-459d-b72f-31d3620045db HTTP/1.1" 200 - "-"
>>>>>"Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:00 +0000] "GET
>>>>> /api/atlas/entity/a200297a-74c5-4773-89b9-fe0fea1a5fad HTTP/1.1" 200
>>>>>-
>>>>> "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:00 +0000] "OPTIONS
>>>>> /api/atlas/entities?type=hive_table&user.name=root HTTP/1.1" 200 964
>>>>>"-"
>>>>> "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:00 +0000] "GET
>>>>> /api/atlas/entities?type=hive_table HTTP/1.1" 200 - "-"
>>>>>"Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:00 +0000] "GET
>>>>> /api/atlas/entity/a200297a-74c5-4773-89b9-fe0fea1a5fad/traits
>>>>>HTTP/1.1"
>>>>> 200 - "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:00 +0000] "POST /api/atlas/types
>>>>> HTTP/1.1" 201 - "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:00 +0000] "POST
>>>>> /api/atlas/entity/a200297a-74c5-4773-89b9-fe0fea1a5fad/traits
>>>>>HTTP/1.1"
>>>>> 201 - "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:00 +0000] "POST
>>>>> /api/atlas/entity/a200297a-74c5-4773-89b9-fe0fea1a5fad/traits
>>>>>HTTP/1.1"
>>>>> 404 - "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:00 +0000] "POST /api/atlas/types
>>>>> HTTP/1.1" 201 - "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:00 +0000] "POST
>>>>> /api/atlas/entity/a200297a-74c5-4773-89b9-fe0fea1a5fad/traits
>>>>>HTTP/1.1"
>>>>> 201 - "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:00 +0000] "GET
>>>>> /api/atlas/entity/a200297a-74c5-4773-89b9-fe0fea1a5fad HTTP/1.1" 200
>>>>>-
>>>>> "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "DELETE
>>>>> 
>>>>>/api/atlas/entity/a200297a-74c5-4773-89b9-fe0fea1a5fad/traits/PII_Trai
>>>>>tHL
>>>>> k
>>>>> G6i32KP HTTP/1.1" 200 - "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "POST
>>>>> /api/atlas/entity/random/traits HTTP/1.1" 404 - "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "OPTIONS
>>>>> /api/atlas/entities?user.name=root HTTP/1.1" 200 964 "-"
>>>>>"Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "POST /api/atlas/entities
>>>>> HTTP/1.1" 400 - "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "OPTIONS
>>>>> /api/atlas/entities?user.name=root HTTP/1.1" 200 964 "-"
>>>>>"Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "POST /api/atlas/entities
>>>>> HTTP/1.1" 400 - "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "OPTIONS
>>>>> /api/atlas/entities?user.name=root HTTP/1.1" 200 964 "-"
>>>>>"Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "POST /api/atlas/entities
>>>>> HTTP/1.1" 201 - "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "OPTIONS
>>>>> 
>>>>>/api/atlas/entity?type=hive_db&property=name&value=0VqpleQLg7&user.nam
>>>>>e=r
>>>>> o
>>>>> ot HTTP/1.1" 200 3132 "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "GET
>>>>> /api/atlas/entity?type=hive_db&property=name&value=0VqpleQLg7
>>>>>HTTP/1.1"
>>>>> 200 - "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "GET
>>>>> /api/atlas/entities?type=blah HTTP/1.1" 400 - "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "POST /api/atlas/types
>>>>> HTTP/1.1" 201 - "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "GET
>>>>> /api/atlas/entities?type=testVl55igGwU2 HTTP/1.1" 200 - "-"
>>>>> "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "GET
>>>>>/api/atlas/entity/blah
>>>>> HTTP/1.1" 404 - "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "OPTIONS
>>>>> /api/atlas/entities?user.name=root HTTP/1.1" 200 964 "-"
>>>>>"Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "POST /api/atlas/entities
>>>>> HTTP/1.1" 400 - "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "OPTIONS
>>>>> 
>>>>>/api/atlas/types/%E3%9D%BD%E2%BD%82%E1%A3%AA%E5%9C%BD%E7%AB%85%E9%A7%B
>>>>>F%E
>>>>> C
>>>>> %9B%BF%EB%A9%92%E5%91%85%E4%8C%91?user.name=root HTTP/1.1" 200 673
>>>>>"-"
>>>>> "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "GET
>>>>> 
>>>>>/api/atlas/types/%E3%9D%BD%E2%BD%82%E1%A3%AA%E5%9C%BD%E7%AB%85%E9%A7%B
>>>>>F%E
>>>>> C
>>>>> %9B%BF%EB%A9%92%E5%91%85%E4%8C%91 HTTP/1.1" 404 - "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "POST /api/atlas/types
>>>>> HTTP/1.1" 409 - "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "DELETE
>>>>> /api/atlas/entity/random/traits/blah_trait HTTP/1.1" 404 - "-"
>>>>> "Java/1.7.0_85"
>>>>> Tests run: 22, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
>>>>>4.13 sec
>>>>> <<< FAILURE! - in
>>>>>org.apache.atlas.web.resources.EntityJerseyResourceIT
>>>>> testUTF8(org.apache.atlas.web.resources.EntityJerseyResourceIT)  Time
>>>>> elapsed: 0.043 sec  <<< FAILURE!
>>>>> java.lang.AssertionError: expected:<201> but was:<409>
>>>>> 	at org.testng.Assert.fail(Assert.java:89)
>>>>> 	at org.testng.Assert.failNotEquals(Assert.java:489)
>>>>> 	at org.testng.Assert.assertEquals(Assert.java:118)
>>>>> 	at org.testng.Assert.assertEquals(Assert.java:365)
>>>>> 	at org.testng.Assert.assertEquals(Assert.java:375)
>>>>> 	at 
>>>>> 
>>>>>org.apache.atlas.web.resources.BaseResourceIT.createType(BaseResourceI
>>>>>T.j
>>>>> a
>>>>> va:96)
>>>>> 	at 
>>>>> 
>>>>>org.apache.atlas.web.resources.BaseResourceIT.createType(BaseResourceI
>>>>>T.j
>>>>> a
>>>>> va:87)
>>>>> 	at 
>>>>> 
>>>>>org.apache.atlas.web.resources.EntityJerseyResourceIT.testUTF8(EntityJ
>>>>>ers
>>>>> e
>>>>> yResourceIT.java:492)
>>>>> 
>>>>> Running org.apache.atlas.web.listeners.LoginProcessorIT
>>>>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
>>>>>4.967 sec
>>>>> - in org.apache.atlas.web.listeners.LoginProcessorIT
>>>>> Running org.apache.atlas.MainIT
>>>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.5
>>>>>sec -
>>>>> in org.apache.atlas.MainIT
>>>>> Running org.apache.atlas.CredentialProviderUtilityIT
>>>>> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.09
>>>>>sec
>>>>> - in org.apache.atlas.CredentialProviderUtilityIT
>>>>> Running org.apache.atlas.notification.NotificationHookConsumerIT
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:11 +0000] "OPTIONS
>>>>> /api/atlas/types/hive_db?user.name=root HTTP/1.1" 200 590 "-"
>>>>> "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:11 +0000] "GET
>>>>>/api/atlas/types/hive_db
>>>>> HTTP/1.1" 200 - "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:12 +0000] "OPTIONS
>>>>> 
>>>>>/api/atlas/discovery/search/dsl?query=hive_db+where+name%3D'dbgWqD7gYj
>>>>>Sc'
>>>>> &
>>>>> user.name=root HTTP/1.1" 200 773 "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:12 +0000] "OPTIONS
>>>>> /api/atlas/entities?user.name=root HTTP/1.1" 200 964 "-"
>>>>>"Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:12 +0000] "POST /api/atlas/entities
>>>>> HTTP/1.1" 201 - "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:12 +0000] "GET
>>>>> 
>>>>>/api/atlas/discovery/search/dsl?query=hive_db+where+name%3D'dbgWqD7gYj
>>>>>Sc'
>>>>> HTTP/1.1" 200 - "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:13 +0000] "OPTIONS
>>>>> /api/atlas/entities?user.name=root HTTP/1.1" 200 964 "-"
>>>>>"Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:13 +0000] "OPTIONS
>>>>> 
>>>>>/api/atlas/discovery/search/dsl?query=hive_table+where+name%3D'pctLrmH
>>>>>ZoK
>>>>> '
>>>>> &user.name=root HTTP/1.1" 200 773 "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:13 +0000] "POST /api/atlas/entities
>>>>> HTTP/1.1" 201 - "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:13 +0000] "GET
>>>>> 
>>>>>/api/atlas/discovery/search/dsl?query=hive_table+where+name%3D'pctLrmH
>>>>>ZoK
>>>>> '
>>>>> HTTP/1.1" 200 - "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:13 +0000] "OPTIONS
>>>>> 
>>>>>/api/atlas/discovery/search/dsl?query=hive_db+where+name%3D'dbgWqD7gYj
>>>>>Sc'
>>>>> &
>>>>> user.name=root HTTP/1.1" 200 773 "-" "Java/1.7.0_85"
>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:13 +0000] "GET
>>>>> 
>>>>>/api/atlas/discovery/search/dsl?query=hive_db+where+name%3D'dbgWqD7gYj
>>>>>Sc'
>>>>> HTTP/1.1" 200 - "-" "Java/1.7.0_85"
>>>>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.43
>>>>>sec
>>>>> - in org.apache.atlas.notification.NotificationHookConsumerIT
>>>>> 
>>>>> Results :
>>>>> 
>>>>> Failed tests:
>>>>> 
>>>>> 
>>>>>EntityJerseyResourceIT.testUTF8:492->BaseResourceIT.createType:87->Bas
>>>>>eRe
>>>>> s
>>>>> ourceIT.createType:96 expected:<201> but was:<409>
>>>>> HiveLineageJerseyResourceIT.testInputsGraph:77 expected:<4> but
>>>>>was:<0>
>>>>> HiveLineageJerseyResourceIT.testOutputsGraph:105 expected:<3> but
>>>>> was:<0>
>>>>> 
>>>>> 
>>>>>TypesJerseyResourceIT.testGetTraitNames:155->addTraits:182->BaseResour
>>>>>ceI
>>>>> T
>>>>> .createType:96 expected:<201> but was:<409>
>>>>> TypesJerseyResourceIT.testSubmit:77 expected:<201> but was:<409>
>>>>> 
>>>>> Tests run: 51, Failures: 5, Errors: 0, Skipped: 2
>>>>> 
>>>>> [INFO] 
>>>>> [INFO] --- jetty-maven-plugin:9.2.12.v20150709:stop (stop-jetty) @
>>>>> atlas-webapp ---
>>>>> [INFO] 
>>>>> [INFO] --- maven-failsafe-plugin:2.18.1:verify (verify) @
>>>>>atlas-webapp
>>>>> ---
>>>>> [INFO] Stopped ServerConnector@79f0e2c0{HTTP/1.1}{0.0.0.0:21000}
>>>>> [INFO] Failsafe report directory:
>>>>> /teeup/source_repo/atlas/webapp/target/failsafe-reports
>>>>> [INFO] 
>>>>> 
>>>>>----------------------------------------------------------------------
>>>>>--
>>>>> [INFO] Reactor Summary:
>>>>> [INFO] 
>>>>> [INFO] Apache Atlas Web Application ....................... FAILURE
>>>>> [03:18 min]
>>>>> [INFO] Apache Atlas Documentation ......................... SKIPPED
>>>>> [INFO] Apache Atlas Hive Bridge ........................... SKIPPED
>>>>> [INFO] Apache Atlas Distribution .......................... SKIPPED
>>>>> [INFO] 
>>>>> 
>>>>>----------------------------------------------------------------------
>>>>>--
>>>>> [INFO] BUILD FAILURE
>>>>> [INFO] 
>>>>> 
>>>>>----------------------------------------------------------------------
>>>>>--
>>>>> [INFO] Total time: 03:19 min
>>>>> [INFO] Finished at: 2015-09-29T20:20:14+00:00
>>>>> [INFO] Final Memory: 105M/531M
>>>>> [INFO] 
>>>>> 
>>>>>----------------------------------------------------------------------
>>>>>--
>>>>> [ERROR] Failed to execute goal
>>>>> org.apache.maven.plugins:maven-failsafe-plugin:2.18.1:verify
>>>>>(verify) on
>>>>> project atlas-webapp: There are test failures.
>>>>> 
>>>>> 
>>>>> On Sep 29, 2015, at 6:28 AM, Shwetha Shivalingamurthy
>>>>> <ss...@hortonworks.com> wrote:
>>>>> 
>>>>>> ATLAS-180 is already committed. So, you can take the latest code and
>>>>>> apply
>>>>>> ATLAS-128.
>>>>>> 
>>>>>> Regards,
>>>>>> Shwetha
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> On 28/09/15 9:17 pm, "Herman Yu" <he...@teeupdata.com> wrote:
>>>>>> 
>>>>>>> Before getting to detail error messages I got. I have a metadata
>>>>>>>model
>>>>>>> implemented and want to test all the search syntax/patterns, as
>>>>>>>well
>>>>>>> as
>>>>>>> REST API creating/update entities. Prefer to test with v-0.6. Is
>>>>>>>there
>>>>>>> a
>>>>>>> binary tar ball of v-0.6 available for download? I think there was
>>>>>>>a
>>>>>>> Jira
>>>>>>> asking for binary tall ball and the last update is to provide this.
>>>>>>> 
>>>>>>> 
>>>>>>> I downloaded and applied ATLAS-128.patch.  When tried to apply
>>>>>>>patch
>>>>>>> 180.v2, got the following error message:
>>>>>>> 
>>>>>>> atlas]# git apply --check ../ATLAS-180-v2.patch
>>>>>>> error: patch failed: docs/pom.xml:32
>>>>>>> error: docs/pom.xml: patch does not apply
>>>>>>> error: patch failed: docs/src/site/site.xml:77
>>>>>>> error: docs/src/site/site.xml: patch does not apply
>>>>>>> error: patch failed: docs/src/site/twiki/Architecture.twiki:14
>>>>>>> error: docs/src/site/twiki/Architecture.twiki: patch does not apply
>>>>>>> error: patch failed: docs/src/site/twiki/Bridge-Hive.twiki:22
>>>>>>> error: docs/src/site/twiki/Bridge-Hive.twiki: patch does not apply
>>>>>>> error: patch failed: docs/src/site/twiki/index.twiki:11
>>>>>>> error: docs/src/site/twiki/index.twiki: patch does not apply
>>>>>>> error: patch failed: pom.xml:24
>>>>>>> error: pom.xml: patch does not apply
>>>>>>> error: patch failed: webapp/pom.xml:54
>>>>>>> error: webapp/pom.xml: patch does not apply
>>>>>>> 
>>>>>>> I then manually checked atlas/pom.xml, line 1332 and 1333 already
>>>>>>>have
>>>>>>> <source>1.7</source> and <target>1.7</target>, so I assume this
>>>>>>>patch
>>>>>>> had
>>>>>>> been applied since I retrieved from git repository this morning.
>>>>>>> 
>>>>>>> Went ahead and kick off the built, this time, error messages are
>>>>>>>shown
>>>>>>> below. I am using JDK 1.8.0_40-b25.
>>>>>>> 
>>>>>>> [INFO] --- scala-maven-plugin:3.2.0:compile (scala-compile-first) @
>>>>>>> atlas-typesystem ---
>>>>>>> [WARNING] Zinc server is not available at port 3030 - reverting to
>>>>>>> normal
>>>>>>> incremental compile
>>>>>>> [INFO] Using incremental compilation
>>>>>>> [INFO] Compiling 6 Scala sources and 45 Java sources to
>>>>>>> /teeup/source_repo/atlas/typesystem/target/classes...
>>>>>>> [ERROR] javac: invalid target release: 1.7
>>>>>>> [ERROR] Usage: javac <options> <source files>
>>>>>>> [ERROR] use -help for a list of possible options
>>>>>>> [INFO] 
>>>>>>> 
>>>>>>> 
>>>>>>>--------------------------------------------------------------------
>>>>>>>---
>>>>>>> -
>>>>>>> [INFO] Reactor Summary:
>>>>>>> [INFO] 
>>>>>>> [INFO] apache-atlas ....................................... SUCCESS
>>>>>>> [01:27 min]
>>>>>>> [INFO] Apache Atlas Typesystem ............................ FAILURE
>>>>>>> [03:33 min]
>>>>>>> [INFO] Apache Atlas Common ................................ SKIPPED
>>>>>>> [INFO] Apache Atlas Client ................................ SKIPPED
>>>>>>> [INFO] Apache Atlas Notification .......................... SKIPPED
>>>>>>> [INFO] Apache Atlas Repository ............................ SKIPPED
>>>>>>> [INFO] Apache Atlas Web Application ....................... SKIPPED
>>>>>>> [INFO] Apache Atlas Documentation ......................... SKIPPED
>>>>>>> [INFO] Apache Atlas Hive Bridge ........................... SKIPPED
>>>>>>> [INFO] Apache Atlas Distribution .......................... SKIPPED
>>>>>>> [INFO] 
>>>>>>> 
>>>>>>> 
>>>>>>>--------------------------------------------------------------------
>>>>>>>---
>>>>>>> -
>>>>>>> [INFO] BUILD FAILURE
>>>>>>> [INFO] 
>>>>>>> 
>>>>>>> 
>>>>>>>--------------------------------------------------------------------
>>>>>>>---
>>>>>>> -
>>>>>>> [INFO] Total time: 05:16 min
>>>>>>> [INFO] Finished at: 2015-09-28T11:33:57-04:00
>>>>>>> [INFO] Final Memory: 43M/219M
>>>>>>> [INFO] 
>>>>>>> 
>>>>>>> 
>>>>>>>--------------------------------------------------------------------
>>>>>>>---
>>>>>>> -
>>>>>>> [ERROR] Failed to execute goal
>>>>>>> net.alchim31.maven:scala-maven-plugin:3.2.0:compile
>>>>>>> (scala-compile-first)
>>>>>>> on project atlas-typesystem: Execution scala-compile-first of goal
>>>>>>> net.alchim31.maven:scala-maven-plugin:3.2.0:compile failed.
>>>>>>> CompileFailed
>>>>>>> -> [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/PluginExecutionExce
>>>>>>>pti
>>>>>>> o
>>>>>>> n
>>>>>>> [ERROR] 
>>>>>>> [ERROR] After correcting the problems, you can resume the build
>>>>>>>with
>>>>>>> the
>>>>>>> command
>>>>>>> [ERROR]   mvn <goals> -rf :atlas-typesystem
>>>>>>> 
>>>>>>> 
>>>>>>> Thanks
>>>>>>> Herman.
>>>>>>> 
>>>>>>> On Sep 28, 2015, at 8:58 AM, Herman Yu <he...@teeupdata.com>
>>>>>>> wrote:
>>>>>>> 
>>>>>>>> Thanks Suma and Shwetha,  can I manually apply patches from 180,
>>>>>>>>and
>>>>>>>> then 128, and try to build the package now?
>>>>>>>> 
>>>>>>>> Thanks
>>>>>>>> Herman.
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> On Sep 28, 2015, at 1:33 AM, Suma Shivaprasad
>>>>>>>> <su...@gmail.com> wrote:
>>>>>>>> 
>>>>>>>>> Also pls watch for
>>>>>>>>>https://issues.apache.org/jira/browse/ATLAS-128
>>>>>>>>> to
>>>>>>>>> be
>>>>>>>>> committed before you try this.
>>>>>>>>> 
>>>>>>>>> Thanks
>>>>>>>>> Suma
>>>>>>>>> 
>>>>>>>>> On Mon, Sep 28, 2015 at 10:46 AM, Shwetha Shivalingamurthy <
>>>>>>>>> sshivalingamurthy@hortonworks.com> wrote:
>>>>>>>>> 
>>>>>>>>>> Add following configuration to scala-maven-plugin. We will fix
>>>>>>>>>>it
>>>>>>>>>> as
>>>>>>>>>> part
>>>>>>>>>> of https://issues.apache.org/jira/browse/ATLAS-180. Thanks
>>>>>>>>>> 
>>>>>>>>>> <source>1.7</source>
>>>>>>>>>> <target>1.7</target>
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> Regards,
>>>>>>>>>> Shwetha
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> On 24/09/15 10:22 pm, "Herman Yu" <he...@teeupdata.com>
>>>>>>>>>>wrote:
>>>>>>>>>> 
>>>>>>>>>>> I had open JDK 1.6 (java version “1.6.0_36”, OpenJDK Runtime
>>>>>>>>>>> Environment
>>>>>>>>>>> (IcedTea6 1.13.8) (rhel-1.13.8.1.el6_7-x86_64),OpenJDK 64-Bit
>>>>>>>>>>> Server
>>>>>>>>>>> VM
>>>>>>>>>>> (build 23.25-b01, mixed mode)))
>>>>>>>>>>> 
>>>>>>>>>>> I then switched to JDK 1.8 ( java version “1.8.0_40”,Java(TM)
>>>>>>>>>>>SE
>>>>>>>>>>> Runtime
>>>>>>>>>>> Environment (build 1.8.0_40-b25) Java HotSpot(TM) 64-Bit
>>>>>>>>>>>Server VM
>>>>>>>>>>> (build
>>>>>>>>>>> 25.40-b25, mixed mode)) and reran “mvm clean install” , but got
>>>>>>>>>>> the
>>>>>>>>>>> same
>>>>>>>>>>> error messages.
>>>>>>>>>>> 
>>>>>>>>>>> Thanks
>>>>>>>>>>> Herman.
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> On Sep 24, 2015, at 12:10 PM, Shwetha Shivalingamurthy
>>>>>>>>>>> <ss...@hortonworks.com> wrote:
>>>>>>>>>>> 
>>>>>>>>>>>> Which java version are you using?
>>>>>>>>>>>> 
>>>>>>>>>>>> Regards,
>>>>>>>>>>>> Shwetha
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> On 24/09/15 9:36 pm, "Herman Yu" <he...@teeupdata.com>
>>>>>>>>>>>>wrote:
>>>>>>>>>>>> 
>>>>>>>>>>>>> Thanks Suma and Shwetha.
>>>>>>>>>>>>> 
>>>>>>>>>>>>> Followed instruction here:
>>>>>>>>>>>>> http://atlas.incubator.apache.org/InstallationSteps.html, I
>>>>>>>>>>>>> tried
>>>>>>>>>>>>> to
>>>>>>>>>>>>> built v0.6 version to test the search syntax.The built is
>>>>>>>>>>>>> failed.
>>>>>>>>>>>>> Error
>>>>>>>>>>>>> message attached.
>>>>>>>>>>>>> 
>>>>>>>>>>>>> Is there a binary version of v0.6 for download?
>>>>>>>>>>>>> 
>>>>>>>>>>>>> Is this mailing list the right place for this type of
>>>>>>>>>>>>> questions/help?
>>>>>>>>>>>>> Or
>>>>>>>>>>>>> should I create a Jira ?
>>>>>>>>>>>>> 
>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>> Herman.
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> [INFO] --- scala-maven-plugin:3.2.0:compile
>>>>>>>>>>>>> (scala-compile-first) @
>>>>>>>>>>>>> atlas-typesystem ---
>>>>>>>>>>>>> [WARNING] Zinc server is not available at port 3030 -
>>>>>>>>>>>>>reverting
>>>>>>>>>>>>> to
>>>>>>>>>>>>> normal
>>>>>>>>>>>>> incremental compile
>>>>>>>>>>>>> [INFO] Using incremental compilation
>>>>>>>>>>>>> [INFO] Compiling 6 Scala sources and 45 Java sources to
>>>>>>>>>>>>> /teeup/source_repo/atlas/typesystem/target/classes...
>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>>/teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>tla
>>>>>>>>>>>>> s
>>>>>>>>>>>>> /t
>>>>>>>>>>>>> ypes
>>>>>>>>>>>>> ys
>>>>>>>>>>>>> tem/Struct.java:33: illegal start of type
>>>>>>>>>>>>> [ERROR]         values = new HashMap<>();
>>>>>>>>>>>>> [ERROR]                              ^
>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>>/teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>tla
>>>>>>>>>>>>> s
>>>>>>>>>>>>> /t
>>>>>>>>>>>>> ypes
>>>>>>>>>>>>> ys
>>>>>>>>>>>>> tem/persistence/DownCastStructInstance.java:62: illegal
>>>>>>>>>>>>>start of
>>>>>>>>>>>>> type
>>>>>>>>>>>>> [ERROR]         Map<String, Object> m = new HashMap<>();
>>>>>>>>>>>>> [ERROR]                                             ^
>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>>/teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>tla
>>>>>>>>>>>>> s
>>>>>>>>>>>>> /t
>>>>>>>>>>>>> ypes
>>>>>>>>>>>>> ys
>>>>>>>>>>>>> tem/persistence/StructInstance.java:241: illegal start of
>>>>>>>>>>>>>type
>>>>>>>>>>>>> [ERROR]         Map<String, Object> m = new HashMap<>();
>>>>>>>>>>>>> [ERROR]                                             ^
>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>>/teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>tla
>>>>>>>>>>>>> s
>>>>>>>>>>>>> /t
>>>>>>>>>>>>> ypes
>>>>>>>>>>>>> ys
>>>>>>>>>>>>> tem/types/HierarchicalType.java:153: illegal start of type
>>>>>>>>>>>>> [ERROR]         Map<String, String> attributeNameToType = new
>>>>>>>>>>>>> HashMap<>();
>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>> ^
>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>>/teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>tla
>>>>>>>>>>>>> s
>>>>>>>>>>>>> /t
>>>>>>>>>>>>> ypes
>>>>>>>>>>>>> ys
>>>>>>>>>>>>> tem/types/ObjectGraphWalker.java:58: illegal start of type
>>>>>>>>>>>>> [ERROR]         queue = new LinkedList<>();
>>>>>>>>>>>>> [ERROR]                                ^
>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>>/teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>tla
>>>>>>>>>>>>> s
>>>>>>>>>>>>> /t
>>>>>>>>>>>>> ypes
>>>>>>>>>>>>> ys
>>>>>>>>>>>>> tem/types/ObjectGraphWalker.java:59: illegal start of type
>>>>>>>>>>>>> [ERROR]         processedIds = new HashSet<>();
>>>>>>>>>>>>> [ERROR]                                    ^
>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>>/teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>tla
>>>>>>>>>>>>> s
>>>>>>>>>>>>> /t
>>>>>>>>>>>>> ypes
>>>>>>>>>>>>> ys
>>>>>>>>>>>>> tem/types/TypeSystem.java:85: illegal start of type
>>>>>>>>>>>>> [ERROR]         types = new ConcurrentHashMap<>();
>>>>>>>>>>>>> [ERROR]                                       ^
>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>>/teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>tla
>>>>>>>>>>>>> s
>>>>>>>>>>>>> /t
>>>>>>>>>>>>> ypes
>>>>>>>>>>>>> ys
>>>>>>>>>>>>> tem/types/TypeSystem.java:98: illegal start of type
>>>>>>>>>>>>> [ERROR]         List<String> typeNames = new
>>>>>>>>>>>>> ArrayList<>(types.keySet());
>>>>>>>>>>>>> [ERROR]                                                ^
>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>>/teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>tla
>>>>>>>>>>>>> s
>>>>>>>>>>>>> /t
>>>>>>>>>>>>> ypes
>>>>>>>>>>>>> ys
>>>>>>>>>>>>> tem/types/TypeSystem.java:306: illegal start of type
>>>>>>>>>>>>> [ERROR]         Map<String, StructTypeDefinition>
>>>>>>>>>>>>> structNameToDefMap =
>>>>>>>>>>>>> new HashMap<>();
>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>>   ^
>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>>/teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>tla
>>>>>>>>>>>>> s
>>>>>>>>>>>>> /t
>>>>>>>>>>>>> ypes
>>>>>>>>>>>>> ys
>>>>>>>>>>>>> tem/types/TypeSystem.java:307: illegal start of type
>>>>>>>>>>>>> [ERROR]         Map<String,
>>>>>>>>>>>>> HierarchicalTypeDefinition<TraitType>>
>>>>>>>>>>>>> traitNameToDefMap = new HashMap<>();
>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>>                   ^
>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>>/teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>tla
>>>>>>>>>>>>> s
>>>>>>>>>>>>> /t
>>>>>>>>>>>>> ypes
>>>>>>>>>>>>> ys
>>>>>>>>>>>>> tem/types/TypeSystem.java:308: illegal start of type
>>>>>>>>>>>>> [ERROR]         Map<String,
>>>>>>>>>>>>> HierarchicalTypeDefinition<ClassType>>
>>>>>>>>>>>>> classNameToDefMap = new HashMap<>();
>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>>                   ^
>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>>/teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>tla
>>>>>>>>>>>>> s
>>>>>>>>>>>>> /t
>>>>>>>>>>>>> ypes
>>>>>>>>>>>>> ys
>>>>>>>>>>>>> tem/types/TypeSystem.java:324: illegal start of type
>>>>>>>>>>>>> [ERROR]             structNameToDefMap = new HashMap<>();
>>>>>>>>>>>>> [ERROR]                                              ^
>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>>/teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>tla
>>>>>>>>>>>>> s
>>>>>>>>>>>>> /t
>>>>>>>>>>>>> ypes
>>>>>>>>>>>>> ys
>>>>>>>>>>>>> tem/types/TypeSystem.java:325: illegal start of type
>>>>>>>>>>>>> [ERROR]             traitNameToDefMap = new HashMap<>();
>>>>>>>>>>>>> [ERROR]                                             ^
>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>>/teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>tla
>>>>>>>>>>>>> s
>>>>>>>>>>>>> /t
>>>>>>>>>>>>> ypes
>>>>>>>>>>>>> ys
>>>>>>>>>>>>> tem/types/TypeSystem.java:326: illegal start of type
>>>>>>>>>>>>> [ERROR]             classNameToDefMap = new HashMap<>();
>>>>>>>>>>>>> [ERROR]                                             ^
>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>>/teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>tla
>>>>>>>>>>>>> s
>>>>>>>>>>>>> /t
>>>>>>>>>>>>> ypes
>>>>>>>>>>>>> ys
>>>>>>>>>>>>> tem/types/TypeSystem.java:328: illegal start of type
>>>>>>>>>>>>> [ERROR]             recursiveRefs = new ArrayList<>();
>>>>>>>>>>>>> [ERROR]                                           ^
>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>>/teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>tla
>>>>>>>>>>>>> s
>>>>>>>>>>>>> /t
>>>>>>>>>>>>> ypes
>>>>>>>>>>>>> ys
>>>>>>>>>>>>> tem/types/TypeSystem.java:329: illegal start of type
>>>>>>>>>>>>> [ERROR]             recursiveArrayTypes = new ArrayList<>();
>>>>>>>>>>>>> [ERROR]                                                 ^
>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>>/teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>tla
>>>>>>>>>>>>> s
>>>>>>>>>>>>> /t
>>>>>>>>>>>>> ypes
>>>>>>>>>>>>> ys
>>>>>>>>>>>>> tem/types/TypeSystem.java:330: illegal start of type
>>>>>>>>>>>>> [ERROR]             recursiveMapTypes = new ArrayList<>();
>>>>>>>>>>>>> [ERROR]                                               ^
>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>>/teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>tla
>>>>>>>>>>>>> s
>>>>>>>>>>>>> /t
>>>>>>>>>>>>> ypes
>>>>>>>>>>>>> ys
>>>>>>>>>>>>> tem/types/TypeSystem.java:331: illegal start of type
>>>>>>>>>>>>> [ERROR]             transientTypes = new LinkedHashSet<>();
>>>>>>>>>>>>> [ERROR]                                                ^
>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>>/teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>tla
>>>>>>>>>>>>> s
>>>>>>>>>>>>> /t
>>>>>>>>>>>>> ypes
>>>>>>>>>>>>> ys
>>>>>>>>>>>>> tem/types/TypeSystem.java:394: illegal start of type
>>>>>>>>>>>>> [ERROR]             Set<String> s = new HashSet<>();
>>>>>>>>>>>>> [ERROR]                                         ^
>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>>/teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>tla
>>>>>>>>>>>>> s
>>>>>>>>>>>>> /t
>>>>>>>>>>>>> ypes
>>>>>>>>>>>>> ys
>>>>>>>>>>>>> tem/types/TypeSystem.java:505: illegal start of type
>>>>>>>>>>>>> [ERROR]             List<TraitType> traitTypes = new
>>>>>>>>>>>>> ArrayList<>();
>>>>>>>>>>>>> [ERROR]                                                      
>>>>>>>>>>>>>  ^
>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>>/teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>tla
>>>>>>>>>>>>> s
>>>>>>>>>>>>> /t
>>>>>>>>>>>>> ypes
>>>>>>>>>>>>> ys
>>>>>>>>>>>>> tem/types/TypeSystem.java:511: illegal start of type
>>>>>>>>>>>>> [ERROR]             List<ClassType> classTypes = new
>>>>>>>>>>>>> ArrayList<>();
>>>>>>>>>>>>> [ERROR]                                                      
>>>>>>>>>>>>>  ^
>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>>/teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>tla
>>>>>>>>>>>>> s
>>>>>>>>>>>>> /t
>>>>>>>>>>>>> ypes
>>>>>>>>>>>>> ys
>>>>>>>>>>>>> tem/types/TypeSystem.java:564: illegal start of type
>>>>>>>>>>>>> [ERROR]             Map<String, IDataType> newTypes = new
>>>>>>>>>>>>> HashMap<>();
>>>>>>>>>>>>> [ERROR] 
>>>>>>>>>>>>> ^
>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>>/teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>tla
>>>>>>>>>>>>> s
>>>>>>>>>>>>> /t
>>>>>>>>>>>>> ypes
>>>>>>>>>>>>> ys
>>>>>>>>>>>>> tem/types/utils/TypesUtil.java:66: illegal start of type
>>>>>>>>>>>>> [ERROR]         return new
>>>>>>>>>>>>> HierarchicalTypeDefinition<>(TraitType.class,
>>>>>>>>>>>>> name, superTypes, attrDefs);
>>>>>>>>>>>>> [ERROR]                                               ^
>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>>/teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>tla
>>>>>>>>>>>>> s
>>>>>>>>>>>>> /t
>>>>>>>>>>>>> ypes
>>>>>>>>>>>>> ys
>>>>>>>>>>>>> tem/types/utils/TypesUtil.java:75: illegal start of type
>>>>>>>>>>>>> [ERROR]         return new
>>>>>>>>>>>>> HierarchicalTypeDefinition<>(ClassType.class,
>>>>>>>>>>>>> name, superTypes, attrDefs);
>>>>>>>>>>>>> [ERROR]                                               ^
>>>>>>>>>>>>> [ERROR] 24 errors
>>>>>>>>>>>>> [INFO]
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>>--------------------------------------------------------------
>>>>>>>>>>>>>---
>>>>>>>>>>>>> -
>>>>>>>>>>>>> --
>>>>>>>>>>>>> ----
>>>>>>>>>>>>> [INFO] Reactor Summary:
>>>>>>>>>>>>> [INFO]
>>>>>>>>>>>>> [INFO] apache-atlas .......................................
>>>>>>>>>>>>> SUCCESS
>>>>>>>>>>>>> [03:00 min]
>>>>>>>>>>>>> [INFO] Apache Atlas Typesystem ............................
>>>>>>>>>>>>> FAILURE
>>>>>>>>>>>>> [03:48 min]
>>>>>>>>>>>>> [INFO] Apache Atlas Common ................................
>>>>>>>>>>>>> SKIPPED
>>>>>>>>>>>>> [INFO] Apache Atlas Client ................................
>>>>>>>>>>>>> SKIPPED
>>>>>>>>>>>>> [INFO] Apache Atlas Notification ..........................
>>>>>>>>>>>>> SKIPPED
>>>>>>>>>>>>> [INFO] Apache Atlas Repository ............................
>>>>>>>>>>>>> SKIPPED
>>>>>>>>>>>>> [INFO] Apache Atlas Web Application ....................... 
>>>>>>>>>>>>> SKIPPED
>>>>>>>>>>>>> [INFO] Apache Atlas Documentation ......................... 
>>>>>>>>>>>>> SKIPPED
>>>>>>>>>>>>> [INFO] Apache Atlas Hive Bridge ........................... 
>>>>>>>>>>>>> SKIPPED
>>>>>>>>>>>>> [INFO] Apache Atlas Distribution .......................... 
>>>>>>>>>>>>> SKIPPED
>>>>>>>>>>>>> [INFO]
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>>--------------------------------------------------------------
>>>>>>>>>>>>>---
>>>>>>>>>>>>> -
>>>>>>>>>>>>> --
>>>>>>>>>>>>> ----
>>>>>>>>>>>>> [INFO] BUILD FAILURE
>>>>>>>>>>>>> [INFO]
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>>--------------------------------------------------------------
>>>>>>>>>>>>>---
>>>>>>>>>>>>> -
>>>>>>>>>>>>> --
>>>>>>>>>>>>> ----
>>>>>>>>>>>>> [INFO] Total time: 07:38 min
>>>>>>>>>>>>> [INFO] Finished at: 2015-09-24T11:31:51-04:00
>>>>>>>>>>>>> [INFO] Final Memory: 42M/200M
>>>>>>>>>>>>> [INFO]
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>>--------------------------------------------------------------
>>>>>>>>>>>>>---
>>>>>>>>>>>>> -
>>>>>>>>>>>>> --
>>>>>>>>>>>>> ----
>>>>>>>>>>>>> [ERROR] Failed to execute goal
>>>>>>>>>>>>> net.alchim31.maven:scala-maven-plugin:3.2.0:compile
>>>>>>>>>>>>> (scala-compile-first)
>>>>>>>>>>>>> on project atlas-typesystem: Execution scala-compile-first 
>>>>>>>>>>>>>of 
>>>>>>>>>>>>> goal
>>>>>>>>>>>>> net.alchim31.maven:scala-maven-plugin:3.2.0:compile failed.
>>>>>>>>>>>>> CompileFailed
>>>>>>>>>>>>> -> [Help 1]
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> On Sep 23, 2015, at 12:16 PM, Suma Shivaprasad
>>>>>>>>>>>>> <su...@gmail.com> wrote:
>>>>>>>>>>>>> 
>>>>>>>>>>>>>> Could be an issue with 0.5. I fixed an issue while querying 
>>>>>>>>>>>>>>for
>>>>>>>>>>>>>> entities
>>>>>>>>>>>>>> with traits as part of https://reviews.apache.org/r/38179/. 
>>>>>>>>>>>>>>.
>>>>>>>>>>>>>> Should
>>>>>>>>>>>>>> be
>>>>>>>>>>>>>> committed soon.
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>> Suma
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> On Wed, Sep 23, 2015 at 8:40 PM, Shwetha Shivalingamurthy <
>>>>>>>>>>>>>> sshivalingamurthy@hortonworks.com> wrote:
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> 'hive_table is <traitname>¹ should work. Here is the doc 
>>>>>>>>>>>>>>>on 
>>>>>>>>>>>>>>> DSL
>>>>>>>>>>>>>>> syntax:
>>>>>>>>>>>>>>> http://atlas.incubator.apache.org/Search.html
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>> Shwetha
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> On 23/09/15 8:30 pm, "Herman Yu" <he...@teeupdata.com> 
>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> Hi Suma,
>>>>>>>>>>>>>>>> Thanks for the help. I tried as you suggested, 
>>>>>>>>>>>>>>>>³hive_table is
>>>>>>>>>>>>>>>> collection², however "0 results matching your search query
>>>>>>>>>>>>>>>> hive_table
>>>>>>>>>>>>>>>> is
>>>>>>>>>>>>>>>> collection were found².
>>>>>>>>>>>>>>>> ³collection² is a trait I defined, if I just search with
>>>>>>>>>>>>>>>> ³collection²
>>>>>>>>>>>>>>>> in
>>>>>>>>>>>>>>>> the UI, I have two hive_table entities returned.
>>>>>>>>>>>>>>>> I also tried with those types and traits defined with the
>>>>>>>>>>>>>>>> quick_start.py,
>>>>>>>>>>>>>>>> (e.g. "Table is Fact" didn¹t return anything.
>>>>>>>>>>>>>>>> Is this a bug with v0.5? or I used wrong search syntax? Is
>>>>>>>>>>>>>>>> there a
>>>>>>>>>>>>>>>> document with all valid search syntax?
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> thanks
>>>>>>>>>>>>>>>> Herman.
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> On Sep 21, 2015, at 10:54 PM, Herman Yu
>>>>>>>>>>>>>>>> <he...@teeupdata.com>
>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> Hi Herman,
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> You can fire a DSL query in the UI as "hive_table  is
>>>>>>>>>>>>>>>> "trait_name"
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>>>> Suma
>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> With version v0.5, is search based on combination of a 
>>>>>>>>>>>>>>>>>Trait
>>>>>>>>>>>>>>>>> and a
>>>>>>>>>>>>>>>>> type
>>>>>>>>>>>>>>>>> supported?  I have both hive_tables and hive_columns 
>>>>>>>>>>>>>>>>> associated
>>>>>>>>>>>>>>>>> with
>>>>>>>>>>>>>>>>> a
>>>>>>>>>>>>>>>>> Trait. I can search base on the Trait, or search based 
>>>>>>>>>>>>>>>>>on 
>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>> type(hive_table or hive_colume). How to combine them 
>>>>>>>>>>>>>>>>> together,
>>>>>>>>>>>>>>>>> for
>>>>>>>>>>>>>>>>> example, search the trait but only want to return 
>>>>>>>>>>>>>>>>> hive_table?
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> I tried <traitName> and <hive_table>, <traitName> and
>>>>>>>>>>>>>>>>> typeName=<hive_table> in both UI and REST API, it 
>>>>>>>>>>>>>>>>>doesn¹t 
>>>>>>>>>>>>>>>>> work.
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> This is my first time posting here, sorry if this is not 
>>>>>>>>>>>>>>>>>the
>>>>>>>>>>>>>>>>> right
>>>>>>>>>>>>>>>>> place asking questions like this. If so, what would be 
>>>>>>>>>>>>>>>>>the
>>>>>>>>>>>>>>>>> correct
>>>>>>>>>>>>>>>>> channel?
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>>>>> Herman.
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>>> 
>> 
>


Re: Search syntax

Posted by Herman Yu <he...@teeupdata.com>.
Thanks Shewtha.  I forget to update the class path so the old version of Atlas was still picked. Now v0.6 works (at least it captures Hive)….

Herman.


On Oct 1, 2015, at 2:08 AM, Shwetha Shivalingamurthy <ss...@hortonworks.com> wrote:

> The new hive hook doesn’t call any atlas APIs. Looks like you have old
> atlas libraries in the hive hook, replace them with the new ones from
> atlas package
> 
> Regards,
> Shwetha
> 
> 
> 
> 
> On 01/10/15 3:00 am, "Herman Yu" <he...@teeupdata.com> wrote:
> 
>> I managed deployed v0.6, however, the hive hook doesn’t work. see error
>> exceptions below when queries Hive. are there any hive hook related
>> configuration changes needed with v0.6? I went through the document but
>> didn’t find any.
>> 
>> 
>> I also see many lines like this in application.log, not sure if they are
>> related. 
>> 
>> 
>> 2015-09-30 17:26:01,276 INFO  - [qtp491264922-13 -
>> 2100abbb-10c8-461f-8fff-be0264c16a8f:] ~ Couldn't find JAX-B element for
>> class javax.ws.rs.core.Response (WadlGeneratorJAXBGrammarGenerator:508)
>> 
>> Thanks
>> Herman.
>> 
>> -------------------------------
>> 
>> 
>> hive> select * from sample_07;
>> FAILED: Hive Internal Error:
>> org.apache.atlas.AtlasServiceException(org.codehaus.jettison.json.JSONExce
>> ption: JSONObject["results"] is not a JSONObject.)
>> org.apache.atlas.AtlasServiceException:
>> org.codehaus.jettison.json.JSONException: JSONObject["results"] is not a
>> JSONObject.
>> 	at org.apache.atlas.AtlasClient.searchByDSL(AtlasClient.java:280)
>> 	at 
>> org.apache.atlas.hive.bridge.HiveMetaStoreBridge.getEntityReferenceFromDSL
>> (HiveMetaStoreBridge.java:188)
>> 	at 
>> org.apache.atlas.hive.bridge.HiveMetaStoreBridge.getDatabaseReference(Hive
>> MetaStoreBridge.java:169)
>> 	at 
>> org.apache.atlas.hive.bridge.HiveMetaStoreBridge.registerDatabase(HiveMeta
>> StoreBridge.java:103)
>> 	at 
>> org.apache.atlas.hive.bridge.HiveMetaStoreBridge.registerTable(HiveMetaSto
>> reBridge.java:270)
>> 	at org.apache.atlas.hive.hook.HiveHook.registerProcess(HiveHook.java:300)
>> 	at org.apache.atlas.hive.hook.HiveHook.fireAndForget(HiveHook.java:193)
>> 	at org.apache.atlas.hive.hook.HiveHook.run(HiveHook.java:152)
>> 	at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1520)
>> 	at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1195)
>> 	at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1059)
>> 	at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1049)
>> 	at 
>> org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:213)
>> 	at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:165)
>> 	at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:376)
>> 	at org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:736)
>> 	at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:681)
>> 	at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:621)
>> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> 	at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
>> 57)
>> 	at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>> pl.java:43)
>> 	at java.lang.reflect.Method.invoke(Method.java:606)
>> 	at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
>> 	at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
>> Caused by: org.codehaus.jettison.json.JSONException:
>> JSONObject["results"] is not a JSONObject.
>> 	at 
>> org.codehaus.jettison.json.JSONObject.getJSONObject(JSONObject.java:458)
>> 	at org.apache.atlas.AtlasClient.searchByDSL(AtlasClient.java:278)
>> 	... 23 more
>> 
>> 
>> On Sep 30, 2015, at 12:04 PM, Herman Yu <he...@teeupdata.com> wrote:
>> 
>>> yes, that’s what I did since I don’t have Kerberos enabled on local
>>> environment and one test failed. The built completed successfully, I am
>>> in the process deploying v0.6.
>>> 
>>> Thanks for all the help.
>>> Herman. 
>>> 
>>> 
>>> On Sep 30, 2015, at 11:59 AM, Shwetha Shivalingamurthy
>>> <ss...@hortonworks.com> wrote:
>>> 
>>>> You can run with -DskipTests as well
>>>> 
>>>> Regards,
>>>> Shwetha
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> On 30/09/15 11:15 am, "Shwetha Shivalingamurthy"
>>>> <ss...@hortonworks.com> wrote:
>>>> 
>>>>> I took the trunk, applied ATLAS-128 and the build went through fine.
>>>>> Delete atlas/target and try again. If the tests fail still, send the
>>>>> application.log.
>>>>> 
>>>>> Meanwhile, I have modified the nightly build to build the distro.
>>>>> https://builds.apache.org/job/apache-atlas-nightly/ #81 onwards should
>>>>> have the tarball generated
>>>>> 
>>>>> Regards,
>>>>> Shwetha
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> On 30/09/15 1:54 am, "Herman Yu" <he...@teeupdata.com> wrote:
>>>>> 
>>>>>> thanks Shwetha,
>>>>>> 
>>>>>> I applied ATLAS-128 and the moved to the step building web app. After
>>>>>> figuring out the Node JS step, it failed at the test step, with
>>>>>> following
>>>>>> errors.
>>>>>> 
>>>>>> Thanks for all the help so far, are we seeing the lights at the end
>>>>>> of
>>>>>> the tunnel?
>>>>>> 
>>>>>> Thanks
>>>>>> Herman.
>>>>>> 
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:19:52 +0000] "GET
>>>>>> /api/atlas/lineage/hive/table/schema HTTP/1.1" 404 - "-"
>>>>>> "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:19:52 +0000] "GET
>>>>>> /api/atlas/lineage/hive/table/blah/schema HTTP/1.1" 404 - "-"
>>>>>> "Java/1.7.0_85"
>>>>>> Tests run: 5, Failures: 2, Errors: 0, Skipped: 0, Time elapsed:
>>>>>> 9.985 sec
>>>>>> <<< FAILURE! - in
>>>>>> org.apache.atlas.web.resources.HiveLineageJerseyResourceIT
>>>>>> 
>>>>>> testInputsGraph(org.apache.atlas.web.resources.HiveLineageJerseyResour
>>>>>> ceI
>>>>>> T
>>>>>> )  Time elapsed: 1.913 sec  <<< FAILURE!
>>>>>> java.lang.AssertionError: expected:<4> but was:<0>
>>>>>> 	at org.testng.Assert.fail(Assert.java:89)
>>>>>> 	at org.testng.Assert.failNotEquals(Assert.java:489)
>>>>>> 	at org.testng.Assert.assertEquals(Assert.java:118)
>>>>>> 	at org.testng.Assert.assertEquals(Assert.java:365)
>>>>>> 	at org.testng.Assert.assertEquals(Assert.java:375)
>>>>>> 	at 
>>>>>> 
>>>>>> org.apache.atlas.web.resources.HiveLineageJerseyResourceIT.testInputsG
>>>>>> rap
>>>>>> h
>>>>>> (HiveLineageJerseyResourceIT.java:77)
>>>>>> 
>>>>>> 
>>>>>> testOutputsGraph(org.apache.atlas.web.resources.HiveLineageJerseyResou
>>>>>> rce
>>>>>> I
>>>>>> T)  Time elapsed: 1.757 sec  <<< FAILURE!
>>>>>> java.lang.AssertionError: expected:<3> but was:<0>
>>>>>> 	at org.testng.Assert.fail(Assert.java:89)
>>>>>> 	at org.testng.Assert.failNotEquals(Assert.java:489)
>>>>>> 	at org.testng.Assert.assertEquals(Assert.java:118)
>>>>>> 	at org.testng.Assert.assertEquals(Assert.java:365)
>>>>>> 	at org.testng.Assert.assertEquals(Assert.java:375)
>>>>>> 	at 
>>>>>> 
>>>>>> org.apache.atlas.web.resources.HiveLineageJerseyResourceIT.testOutputs
>>>>>> Gra
>>>>>> p
>>>>>> h(HiveLineageJerseyResourceIT.java:105)
>>>>>> 
>>>>>> Running org.apache.atlas.web.resources.AdminJerseyResourceIT
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:19:54 +0000] "GET
>>>>>> /api/atlas/admin/version
>>>>>> HTTP/1.1" 200 - "-" "Java/1.7.0_85"
>>>>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.67
>>>>>> sec
>>>>>> - in org.apache.atlas.web.resources.AdminJerseyResourceIT
>>>>>> Running org.apache.atlas.web.resources.TypesJerseyResourceIT
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:19:56 +0000] "POST /api/atlas/types
>>>>>> HTTP/1.1" 409 - "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:19:56 +0000] "POST /api/atlas/types
>>>>>> HTTP/1.1" 409 - "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:19:57 +0000] "GET /api/atlas/types/blah
>>>>>> HTTP/1.1" 404 - "-" "Java/1.7.0_85"
>>>>>> Tests run: 5, Failures: 2, Errors: 0, Skipped: 2, Time elapsed:
>>>>>> 1.985 sec
>>>>>> <<< FAILURE! - in
>>>>>> org.apache.atlas.web.resources.TypesJerseyResourceIT
>>>>>> testSubmit(org.apache.atlas.web.resources.TypesJerseyResourceIT)
>>>>>> Time
>>>>>> elapsed: 0.333 sec  <<< FAILURE!
>>>>>> java.lang.AssertionError: expected:<201> but was:<409>
>>>>>> 	at org.testng.Assert.fail(Assert.java:89)
>>>>>> 	at org.testng.Assert.failNotEquals(Assert.java:489)
>>>>>> 	at org.testng.Assert.assertEquals(Assert.java:118)
>>>>>> 	at org.testng.Assert.assertEquals(Assert.java:365)
>>>>>> 	at org.testng.Assert.assertEquals(Assert.java:375)
>>>>>> 	at 
>>>>>> 
>>>>>> org.apache.atlas.web.resources.TypesJerseyResourceIT.testSubmit(TypesJ
>>>>>> ers
>>>>>> e
>>>>>> yResourceIT.java:77)
>>>>>> 
>>>>>> 
>>>>>> testGetTraitNames(org.apache.atlas.web.resources.TypesJerseyResourceIT
>>>>>> )
>>>>>> Time elapsed: 0.01 sec  <<< FAILURE!
>>>>>> java.lang.AssertionError: expected:<201> but was:<409>
>>>>>> 	at org.testng.Assert.fail(Assert.java:89)
>>>>>> 	at org.testng.Assert.failNotEquals(Assert.java:489)
>>>>>> 	at org.testng.Assert.assertEquals(Assert.java:118)
>>>>>> 	at org.testng.Assert.assertEquals(Assert.java:365)
>>>>>> 	at org.testng.Assert.assertEquals(Assert.java:375)
>>>>>> 	at 
>>>>>> 
>>>>>> org.apache.atlas.web.resources.BaseResourceIT.createType(BaseResourceI
>>>>>> T.j
>>>>>> a
>>>>>> va:96)
>>>>>> 	at 
>>>>>> 
>>>>>> org.apache.atlas.web.resources.TypesJerseyResourceIT.addTraits(TypesJe
>>>>>> rse
>>>>>> y
>>>>>> ResourceIT.java:182)
>>>>>> 	at 
>>>>>> 
>>>>>> org.apache.atlas.web.resources.TypesJerseyResourceIT.testGetTraitNames
>>>>>> (Ty
>>>>>> p
>>>>>> esJerseyResourceIT.java:155)
>>>>>> 
>>>>>> Running org.apache.atlas.web.resources.EntityJerseyResourceIT
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:19:59 +0000] "OPTIONS
>>>>>> /api/atlas/types/hive_db?user.name=root HTTP/1.1" 200 590 "-"
>>>>>> "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:19:59 +0000] "GET
>>>>>> /api/atlas/types/hive_db
>>>>>> HTTP/1.1" 200 - "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:19:59 +0000] "OPTIONS
>>>>>> /api/atlas/entities?user.name=root HTTP/1.1" 200 964 "-"
>>>>>> "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:19:59 +0000] "POST /api/atlas/entities
>>>>>> HTTP/1.1" 201 - "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:00 +0000] "PUT
>>>>>> 
>>>>>> /api/atlas/entity/a200297a-74c5-4773-89b9-fe0fea1a5fad?property=descri
>>>>>> pti
>>>>>> o
>>>>>> n&value=bar+table+-+new+desc HTTP/1.1" 200 - "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:00 +0000] "GET
>>>>>> /api/atlas/entity/a200297a-74c5-4773-89b9-fe0fea1a5fad HTTP/1.1" 200
>>>>>> -
>>>>>> "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:00 +0000] "PUT
>>>>>> 
>>>>>> /api/atlas/entity/a200297a-74c5-4773-89b9-fe0fea1a5fad?property=invali
>>>>>> d_p
>>>>>> r
>>>>>> operty&value=bar+table HTTP/1.1" 400 - "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:00 +0000] "PUT
>>>>>> 
>>>>>> /api/atlas/entity/a200297a-74c5-4773-89b9-fe0fea1a5fad?property=create
>>>>>> Tim
>>>>>> e
>>>>>> &value=1443558000107 HTTP/1.1" 200 - "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:00 +0000] "GET
>>>>>> /api/atlas/entity/a200297a-74c5-4773-89b9-fe0fea1a5fad HTTP/1.1" 200
>>>>>> -
>>>>>> "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:00 +0000] "OPTIONS
>>>>>> /api/atlas/entities?user.name=root HTTP/1.1" 200 964 "-"
>>>>>> "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:00 +0000] "POST /api/atlas/entities
>>>>>> HTTP/1.1" 201 - "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:00 +0000] "PUT
>>>>>> 
>>>>>> /api/atlas/entity/a200297a-74c5-4773-89b9-fe0fea1a5fad?property=db&val
>>>>>> ue=
>>>>>> 9
>>>>>> 9b77a84-e64b-459d-b72f-31d3620045db HTTP/1.1" 200 - "-"
>>>>>> "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:00 +0000] "GET
>>>>>> /api/atlas/entity/a200297a-74c5-4773-89b9-fe0fea1a5fad HTTP/1.1" 200
>>>>>> -
>>>>>> "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:00 +0000] "OPTIONS
>>>>>> /api/atlas/entities?type=hive_table&user.name=root HTTP/1.1" 200 964
>>>>>> "-"
>>>>>> "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:00 +0000] "GET
>>>>>> /api/atlas/entities?type=hive_table HTTP/1.1" 200 - "-"
>>>>>> "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:00 +0000] "GET
>>>>>> /api/atlas/entity/a200297a-74c5-4773-89b9-fe0fea1a5fad/traits
>>>>>> HTTP/1.1"
>>>>>> 200 - "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:00 +0000] "POST /api/atlas/types
>>>>>> HTTP/1.1" 201 - "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:00 +0000] "POST
>>>>>> /api/atlas/entity/a200297a-74c5-4773-89b9-fe0fea1a5fad/traits
>>>>>> HTTP/1.1"
>>>>>> 201 - "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:00 +0000] "POST
>>>>>> /api/atlas/entity/a200297a-74c5-4773-89b9-fe0fea1a5fad/traits
>>>>>> HTTP/1.1"
>>>>>> 404 - "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:00 +0000] "POST /api/atlas/types
>>>>>> HTTP/1.1" 201 - "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:00 +0000] "POST
>>>>>> /api/atlas/entity/a200297a-74c5-4773-89b9-fe0fea1a5fad/traits
>>>>>> HTTP/1.1"
>>>>>> 201 - "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:00 +0000] "GET
>>>>>> /api/atlas/entity/a200297a-74c5-4773-89b9-fe0fea1a5fad HTTP/1.1" 200
>>>>>> -
>>>>>> "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "DELETE
>>>>>> 
>>>>>> /api/atlas/entity/a200297a-74c5-4773-89b9-fe0fea1a5fad/traits/PII_Trai
>>>>>> tHL
>>>>>> k
>>>>>> G6i32KP HTTP/1.1" 200 - "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "POST
>>>>>> /api/atlas/entity/random/traits HTTP/1.1" 404 - "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "OPTIONS
>>>>>> /api/atlas/entities?user.name=root HTTP/1.1" 200 964 "-"
>>>>>> "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "POST /api/atlas/entities
>>>>>> HTTP/1.1" 400 - "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "OPTIONS
>>>>>> /api/atlas/entities?user.name=root HTTP/1.1" 200 964 "-"
>>>>>> "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "POST /api/atlas/entities
>>>>>> HTTP/1.1" 400 - "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "OPTIONS
>>>>>> /api/atlas/entities?user.name=root HTTP/1.1" 200 964 "-"
>>>>>> "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "POST /api/atlas/entities
>>>>>> HTTP/1.1" 201 - "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "OPTIONS
>>>>>> 
>>>>>> /api/atlas/entity?type=hive_db&property=name&value=0VqpleQLg7&user.nam
>>>>>> e=r
>>>>>> o
>>>>>> ot HTTP/1.1" 200 3132 "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "GET
>>>>>> /api/atlas/entity?type=hive_db&property=name&value=0VqpleQLg7
>>>>>> HTTP/1.1"
>>>>>> 200 - "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "GET
>>>>>> /api/atlas/entities?type=blah HTTP/1.1" 400 - "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "POST /api/atlas/types
>>>>>> HTTP/1.1" 201 - "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "GET
>>>>>> /api/atlas/entities?type=testVl55igGwU2 HTTP/1.1" 200 - "-"
>>>>>> "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "GET
>>>>>> /api/atlas/entity/blah
>>>>>> HTTP/1.1" 404 - "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "OPTIONS
>>>>>> /api/atlas/entities?user.name=root HTTP/1.1" 200 964 "-"
>>>>>> "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "POST /api/atlas/entities
>>>>>> HTTP/1.1" 400 - "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "OPTIONS
>>>>>> 
>>>>>> /api/atlas/types/%E3%9D%BD%E2%BD%82%E1%A3%AA%E5%9C%BD%E7%AB%85%E9%A7%B
>>>>>> F%E
>>>>>> C
>>>>>> %9B%BF%EB%A9%92%E5%91%85%E4%8C%91?user.name=root HTTP/1.1" 200 673
>>>>>> "-"
>>>>>> "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "GET
>>>>>> 
>>>>>> /api/atlas/types/%E3%9D%BD%E2%BD%82%E1%A3%AA%E5%9C%BD%E7%AB%85%E9%A7%B
>>>>>> F%E
>>>>>> C
>>>>>> %9B%BF%EB%A9%92%E5%91%85%E4%8C%91 HTTP/1.1" 404 - "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "POST /api/atlas/types
>>>>>> HTTP/1.1" 409 - "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:01 +0000] "DELETE
>>>>>> /api/atlas/entity/random/traits/blah_trait HTTP/1.1" 404 - "-"
>>>>>> "Java/1.7.0_85"
>>>>>> Tests run: 22, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
>>>>>> 4.13 sec
>>>>>> <<< FAILURE! - in
>>>>>> org.apache.atlas.web.resources.EntityJerseyResourceIT
>>>>>> testUTF8(org.apache.atlas.web.resources.EntityJerseyResourceIT)  Time
>>>>>> elapsed: 0.043 sec  <<< FAILURE!
>>>>>> java.lang.AssertionError: expected:<201> but was:<409>
>>>>>> 	at org.testng.Assert.fail(Assert.java:89)
>>>>>> 	at org.testng.Assert.failNotEquals(Assert.java:489)
>>>>>> 	at org.testng.Assert.assertEquals(Assert.java:118)
>>>>>> 	at org.testng.Assert.assertEquals(Assert.java:365)
>>>>>> 	at org.testng.Assert.assertEquals(Assert.java:375)
>>>>>> 	at 
>>>>>> 
>>>>>> org.apache.atlas.web.resources.BaseResourceIT.createType(BaseResourceI
>>>>>> T.j
>>>>>> a
>>>>>> va:96)
>>>>>> 	at 
>>>>>> 
>>>>>> org.apache.atlas.web.resources.BaseResourceIT.createType(BaseResourceI
>>>>>> T.j
>>>>>> a
>>>>>> va:87)
>>>>>> 	at 
>>>>>> 
>>>>>> org.apache.atlas.web.resources.EntityJerseyResourceIT.testUTF8(EntityJ
>>>>>> ers
>>>>>> e
>>>>>> yResourceIT.java:492)
>>>>>> 
>>>>>> Running org.apache.atlas.web.listeners.LoginProcessorIT
>>>>>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
>>>>>> 4.967 sec
>>>>>> - in org.apache.atlas.web.listeners.LoginProcessorIT
>>>>>> Running org.apache.atlas.MainIT
>>>>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.5
>>>>>> sec -
>>>>>> in org.apache.atlas.MainIT
>>>>>> Running org.apache.atlas.CredentialProviderUtilityIT
>>>>>> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.09
>>>>>> sec
>>>>>> - in org.apache.atlas.CredentialProviderUtilityIT
>>>>>> Running org.apache.atlas.notification.NotificationHookConsumerIT
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:11 +0000] "OPTIONS
>>>>>> /api/atlas/types/hive_db?user.name=root HTTP/1.1" 200 590 "-"
>>>>>> "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:11 +0000] "GET
>>>>>> /api/atlas/types/hive_db
>>>>>> HTTP/1.1" 200 - "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:12 +0000] "OPTIONS
>>>>>> 
>>>>>> /api/atlas/discovery/search/dsl?query=hive_db+where+name%3D'dbgWqD7gYj
>>>>>> Sc'
>>>>>> &
>>>>>> user.name=root HTTP/1.1" 200 773 "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:12 +0000] "OPTIONS
>>>>>> /api/atlas/entities?user.name=root HTTP/1.1" 200 964 "-"
>>>>>> "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:12 +0000] "POST /api/atlas/entities
>>>>>> HTTP/1.1" 201 - "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:12 +0000] "GET
>>>>>> 
>>>>>> /api/atlas/discovery/search/dsl?query=hive_db+where+name%3D'dbgWqD7gYj
>>>>>> Sc'
>>>>>> HTTP/1.1" 200 - "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:13 +0000] "OPTIONS
>>>>>> /api/atlas/entities?user.name=root HTTP/1.1" 200 964 "-"
>>>>>> "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:13 +0000] "OPTIONS
>>>>>> 
>>>>>> /api/atlas/discovery/search/dsl?query=hive_table+where+name%3D'pctLrmH
>>>>>> ZoK
>>>>>> '
>>>>>> &user.name=root HTTP/1.1" 200 773 "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:13 +0000] "POST /api/atlas/entities
>>>>>> HTTP/1.1" 201 - "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:13 +0000] "GET
>>>>>> 
>>>>>> /api/atlas/discovery/search/dsl?query=hive_table+where+name%3D'pctLrmH
>>>>>> ZoK
>>>>>> '
>>>>>> HTTP/1.1" 200 - "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:13 +0000] "OPTIONS
>>>>>> 
>>>>>> /api/atlas/discovery/search/dsl?query=hive_db+where+name%3D'dbgWqD7gYj
>>>>>> Sc'
>>>>>> &
>>>>>> user.name=root HTTP/1.1" 200 773 "-" "Java/1.7.0_85"
>>>>>> 127.0.0.1 - - [29/Sep/2015:20:20:13 +0000] "GET
>>>>>> 
>>>>>> /api/atlas/discovery/search/dsl?query=hive_db+where+name%3D'dbgWqD7gYj
>>>>>> Sc'
>>>>>> HTTP/1.1" 200 - "-" "Java/1.7.0_85"
>>>>>> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.43
>>>>>> sec
>>>>>> - in org.apache.atlas.notification.NotificationHookConsumerIT
>>>>>> 
>>>>>> Results :
>>>>>> 
>>>>>> Failed tests:
>>>>>> 
>>>>>> 
>>>>>> EntityJerseyResourceIT.testUTF8:492->BaseResourceIT.createType:87->Bas
>>>>>> eRe
>>>>>> s
>>>>>> ourceIT.createType:96 expected:<201> but was:<409>
>>>>>> HiveLineageJerseyResourceIT.testInputsGraph:77 expected:<4> but
>>>>>> was:<0>
>>>>>> HiveLineageJerseyResourceIT.testOutputsGraph:105 expected:<3> but
>>>>>> was:<0>
>>>>>> 
>>>>>> 
>>>>>> TypesJerseyResourceIT.testGetTraitNames:155->addTraits:182->BaseResour
>>>>>> ceI
>>>>>> T
>>>>>> .createType:96 expected:<201> but was:<409>
>>>>>> TypesJerseyResourceIT.testSubmit:77 expected:<201> but was:<409>
>>>>>> 
>>>>>> Tests run: 51, Failures: 5, Errors: 0, Skipped: 2
>>>>>> 
>>>>>> [INFO] 
>>>>>> [INFO] --- jetty-maven-plugin:9.2.12.v20150709:stop (stop-jetty) @
>>>>>> atlas-webapp ---
>>>>>> [INFO] 
>>>>>> [INFO] --- maven-failsafe-plugin:2.18.1:verify (verify) @
>>>>>> atlas-webapp
>>>>>> ---
>>>>>> [INFO] Stopped ServerConnector@79f0e2c0{HTTP/1.1}{0.0.0.0:21000}
>>>>>> [INFO] Failsafe report directory:
>>>>>> /teeup/source_repo/atlas/webapp/target/failsafe-reports
>>>>>> [INFO] 
>>>>>> 
>>>>>> ----------------------------------------------------------------------
>>>>>> --
>>>>>> [INFO] Reactor Summary:
>>>>>> [INFO] 
>>>>>> [INFO] Apache Atlas Web Application ....................... FAILURE
>>>>>> [03:18 min]
>>>>>> [INFO] Apache Atlas Documentation ......................... SKIPPED
>>>>>> [INFO] Apache Atlas Hive Bridge ........................... SKIPPED
>>>>>> [INFO] Apache Atlas Distribution .......................... SKIPPED
>>>>>> [INFO] 
>>>>>> 
>>>>>> ----------------------------------------------------------------------
>>>>>> --
>>>>>> [INFO] BUILD FAILURE
>>>>>> [INFO] 
>>>>>> 
>>>>>> ----------------------------------------------------------------------
>>>>>> --
>>>>>> [INFO] Total time: 03:19 min
>>>>>> [INFO] Finished at: 2015-09-29T20:20:14+00:00
>>>>>> [INFO] Final Memory: 105M/531M
>>>>>> [INFO] 
>>>>>> 
>>>>>> ----------------------------------------------------------------------
>>>>>> --
>>>>>> [ERROR] Failed to execute goal
>>>>>> org.apache.maven.plugins:maven-failsafe-plugin:2.18.1:verify
>>>>>> (verify) on
>>>>>> project atlas-webapp: There are test failures.
>>>>>> 
>>>>>> 
>>>>>> On Sep 29, 2015, at 6:28 AM, Shwetha Shivalingamurthy
>>>>>> <ss...@hortonworks.com> wrote:
>>>>>> 
>>>>>>> ATLAS-180 is already committed. So, you can take the latest code and
>>>>>>> apply
>>>>>>> ATLAS-128.
>>>>>>> 
>>>>>>> Regards,
>>>>>>> Shwetha
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> On 28/09/15 9:17 pm, "Herman Yu" <he...@teeupdata.com> wrote:
>>>>>>> 
>>>>>>>> Before getting to detail error messages I got. I have a metadata
>>>>>>>> model
>>>>>>>> implemented and want to test all the search syntax/patterns, as
>>>>>>>> well
>>>>>>>> as
>>>>>>>> REST API creating/update entities. Prefer to test with v-0.6. Is
>>>>>>>> there
>>>>>>>> a
>>>>>>>> binary tar ball of v-0.6 available for download? I think there was
>>>>>>>> a
>>>>>>>> Jira
>>>>>>>> asking for binary tall ball and the last update is to provide this.
>>>>>>>> 
>>>>>>>> 
>>>>>>>> I downloaded and applied ATLAS-128.patch.  When tried to apply
>>>>>>>> patch
>>>>>>>> 180.v2, got the following error message:
>>>>>>>> 
>>>>>>>> atlas]# git apply --check ../ATLAS-180-v2.patch
>>>>>>>> error: patch failed: docs/pom.xml:32
>>>>>>>> error: docs/pom.xml: patch does not apply
>>>>>>>> error: patch failed: docs/src/site/site.xml:77
>>>>>>>> error: docs/src/site/site.xml: patch does not apply
>>>>>>>> error: patch failed: docs/src/site/twiki/Architecture.twiki:14
>>>>>>>> error: docs/src/site/twiki/Architecture.twiki: patch does not apply
>>>>>>>> error: patch failed: docs/src/site/twiki/Bridge-Hive.twiki:22
>>>>>>>> error: docs/src/site/twiki/Bridge-Hive.twiki: patch does not apply
>>>>>>>> error: patch failed: docs/src/site/twiki/index.twiki:11
>>>>>>>> error: docs/src/site/twiki/index.twiki: patch does not apply
>>>>>>>> error: patch failed: pom.xml:24
>>>>>>>> error: pom.xml: patch does not apply
>>>>>>>> error: patch failed: webapp/pom.xml:54
>>>>>>>> error: webapp/pom.xml: patch does not apply
>>>>>>>> 
>>>>>>>> I then manually checked atlas/pom.xml, line 1332 and 1333 already
>>>>>>>> have
>>>>>>>> <source>1.7</source> and <target>1.7</target>, so I assume this
>>>>>>>> patch
>>>>>>>> had
>>>>>>>> been applied since I retrieved from git repository this morning.
>>>>>>>> 
>>>>>>>> Went ahead and kick off the built, this time, error messages are
>>>>>>>> shown
>>>>>>>> below. I am using JDK 1.8.0_40-b25.
>>>>>>>> 
>>>>>>>> [INFO] --- scala-maven-plugin:3.2.0:compile (scala-compile-first) @
>>>>>>>> atlas-typesystem ---
>>>>>>>> [WARNING] Zinc server is not available at port 3030 - reverting to
>>>>>>>> normal
>>>>>>>> incremental compile
>>>>>>>> [INFO] Using incremental compilation
>>>>>>>> [INFO] Compiling 6 Scala sources and 45 Java sources to
>>>>>>>> /teeup/source_repo/atlas/typesystem/target/classes...
>>>>>>>> [ERROR] javac: invalid target release: 1.7
>>>>>>>> [ERROR] Usage: javac <options> <source files>
>>>>>>>> [ERROR] use -help for a list of possible options
>>>>>>>> [INFO] 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> --------------------------------------------------------------------
>>>>>>>> ---
>>>>>>>> -
>>>>>>>> [INFO] Reactor Summary:
>>>>>>>> [INFO] 
>>>>>>>> [INFO] apache-atlas ....................................... SUCCESS
>>>>>>>> [01:27 min]
>>>>>>>> [INFO] Apache Atlas Typesystem ............................ FAILURE
>>>>>>>> [03:33 min]
>>>>>>>> [INFO] Apache Atlas Common ................................ SKIPPED
>>>>>>>> [INFO] Apache Atlas Client ................................ SKIPPED
>>>>>>>> [INFO] Apache Atlas Notification .......................... SKIPPED
>>>>>>>> [INFO] Apache Atlas Repository ............................ SKIPPED
>>>>>>>> [INFO] Apache Atlas Web Application ....................... SKIPPED
>>>>>>>> [INFO] Apache Atlas Documentation ......................... SKIPPED
>>>>>>>> [INFO] Apache Atlas Hive Bridge ........................... SKIPPED
>>>>>>>> [INFO] Apache Atlas Distribution .......................... SKIPPED
>>>>>>>> [INFO] 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> --------------------------------------------------------------------
>>>>>>>> ---
>>>>>>>> -
>>>>>>>> [INFO] BUILD FAILURE
>>>>>>>> [INFO] 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> --------------------------------------------------------------------
>>>>>>>> ---
>>>>>>>> -
>>>>>>>> [INFO] Total time: 05:16 min
>>>>>>>> [INFO] Finished at: 2015-09-28T11:33:57-04:00
>>>>>>>> [INFO] Final Memory: 43M/219M
>>>>>>>> [INFO] 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> --------------------------------------------------------------------
>>>>>>>> ---
>>>>>>>> -
>>>>>>>> [ERROR] Failed to execute goal
>>>>>>>> net.alchim31.maven:scala-maven-plugin:3.2.0:compile
>>>>>>>> (scala-compile-first)
>>>>>>>> on project atlas-typesystem: Execution scala-compile-first of goal
>>>>>>>> net.alchim31.maven:scala-maven-plugin:3.2.0:compile failed.
>>>>>>>> CompileFailed
>>>>>>>> -> [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/PluginExecutionExce
>>>>>>>> pti
>>>>>>>> o
>>>>>>>> n
>>>>>>>> [ERROR] 
>>>>>>>> [ERROR] After correcting the problems, you can resume the build
>>>>>>>> with
>>>>>>>> the
>>>>>>>> command
>>>>>>>> [ERROR]   mvn <goals> -rf :atlas-typesystem
>>>>>>>> 
>>>>>>>> 
>>>>>>>> Thanks
>>>>>>>> Herman.
>>>>>>>> 
>>>>>>>> On Sep 28, 2015, at 8:58 AM, Herman Yu <he...@teeupdata.com>
>>>>>>>> wrote:
>>>>>>>> 
>>>>>>>>> Thanks Suma and Shwetha,  can I manually apply patches from 180,
>>>>>>>>> and
>>>>>>>>> then 128, and try to build the package now?
>>>>>>>>> 
>>>>>>>>> Thanks
>>>>>>>>> Herman.
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> On Sep 28, 2015, at 1:33 AM, Suma Shivaprasad
>>>>>>>>> <su...@gmail.com> wrote:
>>>>>>>>> 
>>>>>>>>>> Also pls watch for
>>>>>>>>>> https://issues.apache.org/jira/browse/ATLAS-128
>>>>>>>>>> to
>>>>>>>>>> be
>>>>>>>>>> committed before you try this.
>>>>>>>>>> 
>>>>>>>>>> Thanks
>>>>>>>>>> Suma
>>>>>>>>>> 
>>>>>>>>>> On Mon, Sep 28, 2015 at 10:46 AM, Shwetha Shivalingamurthy <
>>>>>>>>>> sshivalingamurthy@hortonworks.com> wrote:
>>>>>>>>>> 
>>>>>>>>>>> Add following configuration to scala-maven-plugin. We will fix
>>>>>>>>>>> it
>>>>>>>>>>> as
>>>>>>>>>>> part
>>>>>>>>>>> of https://issues.apache.org/jira/browse/ATLAS-180. Thanks
>>>>>>>>>>> 
>>>>>>>>>>> <source>1.7</source>
>>>>>>>>>>> <target>1.7</target>
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> Regards,
>>>>>>>>>>> Shwetha
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> On 24/09/15 10:22 pm, "Herman Yu" <he...@teeupdata.com>
>>>>>>>>>>> wrote:
>>>>>>>>>>> 
>>>>>>>>>>>> I had open JDK 1.6 (java version “1.6.0_36”, OpenJDK Runtime
>>>>>>>>>>>> Environment
>>>>>>>>>>>> (IcedTea6 1.13.8) (rhel-1.13.8.1.el6_7-x86_64),OpenJDK 64-Bit
>>>>>>>>>>>> Server
>>>>>>>>>>>> VM
>>>>>>>>>>>> (build 23.25-b01, mixed mode)))
>>>>>>>>>>>> 
>>>>>>>>>>>> I then switched to JDK 1.8 ( java version “1.8.0_40”,Java(TM)
>>>>>>>>>>>> SE
>>>>>>>>>>>> Runtime
>>>>>>>>>>>> Environment (build 1.8.0_40-b25) Java HotSpot(TM) 64-Bit
>>>>>>>>>>>> Server VM
>>>>>>>>>>>> (build
>>>>>>>>>>>> 25.40-b25, mixed mode)) and reran “mvm clean install” , but got
>>>>>>>>>>>> the
>>>>>>>>>>>> same
>>>>>>>>>>>> error messages.
>>>>>>>>>>>> 
>>>>>>>>>>>> Thanks
>>>>>>>>>>>> Herman.
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>>> On Sep 24, 2015, at 12:10 PM, Shwetha Shivalingamurthy
>>>>>>>>>>>> <ss...@hortonworks.com> wrote:
>>>>>>>>>>>> 
>>>>>>>>>>>>> Which java version are you using?
>>>>>>>>>>>>> 
>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>> Shwetha
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> On 24/09/15 9:36 pm, "Herman Yu" <he...@teeupdata.com>
>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>> 
>>>>>>>>>>>>>> Thanks Suma and Shwetha.
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> Followed instruction here:
>>>>>>>>>>>>>> http://atlas.incubator.apache.org/InstallationSteps.html, I
>>>>>>>>>>>>>> tried
>>>>>>>>>>>>>> to
>>>>>>>>>>>>>> built v0.6 version to test the search syntax.The built is
>>>>>>>>>>>>>> failed.
>>>>>>>>>>>>>> Error
>>>>>>>>>>>>>> message attached.
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> Is there a binary version of v0.6 for download?
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> Is this mailing list the right place for this type of
>>>>>>>>>>>>>> questions/help?
>>>>>>>>>>>>>> Or
>>>>>>>>>>>>>> should I create a Jira ?
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>> Herman.
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> [INFO] --- scala-maven-plugin:3.2.0:compile
>>>>>>>>>>>>>> (scala-compile-first) @
>>>>>>>>>>>>>> atlas-typesystem ---
>>>>>>>>>>>>>> [WARNING] Zinc server is not available at port 3030 -
>>>>>>>>>>>>>> reverting
>>>>>>>>>>>>>> to
>>>>>>>>>>>>>> normal
>>>>>>>>>>>>>> incremental compile
>>>>>>>>>>>>>> [INFO] Using incremental compilation
>>>>>>>>>>>>>> [INFO] Compiling 6 Scala sources and 45 Java sources to
>>>>>>>>>>>>>> /teeup/source_repo/atlas/typesystem/target/classes...
>>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> /teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>> tla
>>>>>>>>>>>>>> s
>>>>>>>>>>>>>> /t
>>>>>>>>>>>>>> ypes
>>>>>>>>>>>>>> ys
>>>>>>>>>>>>>> tem/Struct.java:33: illegal start of type
>>>>>>>>>>>>>> [ERROR]         values = new HashMap<>();
>>>>>>>>>>>>>> [ERROR]                              ^
>>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> /teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>> tla
>>>>>>>>>>>>>> s
>>>>>>>>>>>>>> /t
>>>>>>>>>>>>>> ypes
>>>>>>>>>>>>>> ys
>>>>>>>>>>>>>> tem/persistence/DownCastStructInstance.java:62: illegal
>>>>>>>>>>>>>> start of
>>>>>>>>>>>>>> type
>>>>>>>>>>>>>> [ERROR]         Map<String, Object> m = new HashMap<>();
>>>>>>>>>>>>>> [ERROR]                                             ^
>>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> /teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>> tla
>>>>>>>>>>>>>> s
>>>>>>>>>>>>>> /t
>>>>>>>>>>>>>> ypes
>>>>>>>>>>>>>> ys
>>>>>>>>>>>>>> tem/persistence/StructInstance.java:241: illegal start of
>>>>>>>>>>>>>> type
>>>>>>>>>>>>>> [ERROR]         Map<String, Object> m = new HashMap<>();
>>>>>>>>>>>>>> [ERROR]                                             ^
>>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> /teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>> tla
>>>>>>>>>>>>>> s
>>>>>>>>>>>>>> /t
>>>>>>>>>>>>>> ypes
>>>>>>>>>>>>>> ys
>>>>>>>>>>>>>> tem/types/HierarchicalType.java:153: illegal start of type
>>>>>>>>>>>>>> [ERROR]         Map<String, String> attributeNameToType = new
>>>>>>>>>>>>>> HashMap<>();
>>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>>> ^
>>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> /teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>> tla
>>>>>>>>>>>>>> s
>>>>>>>>>>>>>> /t
>>>>>>>>>>>>>> ypes
>>>>>>>>>>>>>> ys
>>>>>>>>>>>>>> tem/types/ObjectGraphWalker.java:58: illegal start of type
>>>>>>>>>>>>>> [ERROR]         queue = new LinkedList<>();
>>>>>>>>>>>>>> [ERROR]                                ^
>>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> /teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>> tla
>>>>>>>>>>>>>> s
>>>>>>>>>>>>>> /t
>>>>>>>>>>>>>> ypes
>>>>>>>>>>>>>> ys
>>>>>>>>>>>>>> tem/types/ObjectGraphWalker.java:59: illegal start of type
>>>>>>>>>>>>>> [ERROR]         processedIds = new HashSet<>();
>>>>>>>>>>>>>> [ERROR]                                    ^
>>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> /teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>> tla
>>>>>>>>>>>>>> s
>>>>>>>>>>>>>> /t
>>>>>>>>>>>>>> ypes
>>>>>>>>>>>>>> ys
>>>>>>>>>>>>>> tem/types/TypeSystem.java:85: illegal start of type
>>>>>>>>>>>>>> [ERROR]         types = new ConcurrentHashMap<>();
>>>>>>>>>>>>>> [ERROR]                                       ^
>>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> /teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>> tla
>>>>>>>>>>>>>> s
>>>>>>>>>>>>>> /t
>>>>>>>>>>>>>> ypes
>>>>>>>>>>>>>> ys
>>>>>>>>>>>>>> tem/types/TypeSystem.java:98: illegal start of type
>>>>>>>>>>>>>> [ERROR]         List<String> typeNames = new
>>>>>>>>>>>>>> ArrayList<>(types.keySet());
>>>>>>>>>>>>>> [ERROR]                                                ^
>>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> /teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>> tla
>>>>>>>>>>>>>> s
>>>>>>>>>>>>>> /t
>>>>>>>>>>>>>> ypes
>>>>>>>>>>>>>> ys
>>>>>>>>>>>>>> tem/types/TypeSystem.java:306: illegal start of type
>>>>>>>>>>>>>> [ERROR]         Map<String, StructTypeDefinition>
>>>>>>>>>>>>>> structNameToDefMap =
>>>>>>>>>>>>>> new HashMap<>();
>>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>>>  ^
>>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> /teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>> tla
>>>>>>>>>>>>>> s
>>>>>>>>>>>>>> /t
>>>>>>>>>>>>>> ypes
>>>>>>>>>>>>>> ys
>>>>>>>>>>>>>> tem/types/TypeSystem.java:307: illegal start of type
>>>>>>>>>>>>>> [ERROR]         Map<String,
>>>>>>>>>>>>>> HierarchicalTypeDefinition<TraitType>>
>>>>>>>>>>>>>> traitNameToDefMap = new HashMap<>();
>>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>>>                  ^
>>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> /teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>> tla
>>>>>>>>>>>>>> s
>>>>>>>>>>>>>> /t
>>>>>>>>>>>>>> ypes
>>>>>>>>>>>>>> ys
>>>>>>>>>>>>>> tem/types/TypeSystem.java:308: illegal start of type
>>>>>>>>>>>>>> [ERROR]         Map<String,
>>>>>>>>>>>>>> HierarchicalTypeDefinition<ClassType>>
>>>>>>>>>>>>>> classNameToDefMap = new HashMap<>();
>>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>>>                  ^
>>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> /teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>> tla
>>>>>>>>>>>>>> s
>>>>>>>>>>>>>> /t
>>>>>>>>>>>>>> ypes
>>>>>>>>>>>>>> ys
>>>>>>>>>>>>>> tem/types/TypeSystem.java:324: illegal start of type
>>>>>>>>>>>>>> [ERROR]             structNameToDefMap = new HashMap<>();
>>>>>>>>>>>>>> [ERROR]                                              ^
>>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> /teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>> tla
>>>>>>>>>>>>>> s
>>>>>>>>>>>>>> /t
>>>>>>>>>>>>>> ypes
>>>>>>>>>>>>>> ys
>>>>>>>>>>>>>> tem/types/TypeSystem.java:325: illegal start of type
>>>>>>>>>>>>>> [ERROR]             traitNameToDefMap = new HashMap<>();
>>>>>>>>>>>>>> [ERROR]                                             ^
>>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> /teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>> tla
>>>>>>>>>>>>>> s
>>>>>>>>>>>>>> /t
>>>>>>>>>>>>>> ypes
>>>>>>>>>>>>>> ys
>>>>>>>>>>>>>> tem/types/TypeSystem.java:326: illegal start of type
>>>>>>>>>>>>>> [ERROR]             classNameToDefMap = new HashMap<>();
>>>>>>>>>>>>>> [ERROR]                                             ^
>>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> /teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>> tla
>>>>>>>>>>>>>> s
>>>>>>>>>>>>>> /t
>>>>>>>>>>>>>> ypes
>>>>>>>>>>>>>> ys
>>>>>>>>>>>>>> tem/types/TypeSystem.java:328: illegal start of type
>>>>>>>>>>>>>> [ERROR]             recursiveRefs = new ArrayList<>();
>>>>>>>>>>>>>> [ERROR]                                           ^
>>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> /teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>> tla
>>>>>>>>>>>>>> s
>>>>>>>>>>>>>> /t
>>>>>>>>>>>>>> ypes
>>>>>>>>>>>>>> ys
>>>>>>>>>>>>>> tem/types/TypeSystem.java:329: illegal start of type
>>>>>>>>>>>>>> [ERROR]             recursiveArrayTypes = new ArrayList<>();
>>>>>>>>>>>>>> [ERROR]                                                 ^
>>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> /teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>> tla
>>>>>>>>>>>>>> s
>>>>>>>>>>>>>> /t
>>>>>>>>>>>>>> ypes
>>>>>>>>>>>>>> ys
>>>>>>>>>>>>>> tem/types/TypeSystem.java:330: illegal start of type
>>>>>>>>>>>>>> [ERROR]             recursiveMapTypes = new ArrayList<>();
>>>>>>>>>>>>>> [ERROR]                                               ^
>>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> /teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>> tla
>>>>>>>>>>>>>> s
>>>>>>>>>>>>>> /t
>>>>>>>>>>>>>> ypes
>>>>>>>>>>>>>> ys
>>>>>>>>>>>>>> tem/types/TypeSystem.java:331: illegal start of type
>>>>>>>>>>>>>> [ERROR]             transientTypes = new LinkedHashSet<>();
>>>>>>>>>>>>>> [ERROR]                                                ^
>>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> /teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>> tla
>>>>>>>>>>>>>> s
>>>>>>>>>>>>>> /t
>>>>>>>>>>>>>> ypes
>>>>>>>>>>>>>> ys
>>>>>>>>>>>>>> tem/types/TypeSystem.java:394: illegal start of type
>>>>>>>>>>>>>> [ERROR]             Set<String> s = new HashSet<>();
>>>>>>>>>>>>>> [ERROR]                                         ^
>>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> /teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>> tla
>>>>>>>>>>>>>> s
>>>>>>>>>>>>>> /t
>>>>>>>>>>>>>> ypes
>>>>>>>>>>>>>> ys
>>>>>>>>>>>>>> tem/types/TypeSystem.java:505: illegal start of type
>>>>>>>>>>>>>> [ERROR]             List<TraitType> traitTypes = new
>>>>>>>>>>>>>> ArrayList<>();
>>>>>>>>>>>>>> [ERROR]                                                      
>>>>>>>>>>>>>> ^
>>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> /teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>> tla
>>>>>>>>>>>>>> s
>>>>>>>>>>>>>> /t
>>>>>>>>>>>>>> ypes
>>>>>>>>>>>>>> ys
>>>>>>>>>>>>>> tem/types/TypeSystem.java:511: illegal start of type
>>>>>>>>>>>>>> [ERROR]             List<ClassType> classTypes = new
>>>>>>>>>>>>>> ArrayList<>();
>>>>>>>>>>>>>> [ERROR]                                                      
>>>>>>>>>>>>>> ^
>>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> /teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>> tla
>>>>>>>>>>>>>> s
>>>>>>>>>>>>>> /t
>>>>>>>>>>>>>> ypes
>>>>>>>>>>>>>> ys
>>>>>>>>>>>>>> tem/types/TypeSystem.java:564: illegal start of type
>>>>>>>>>>>>>> [ERROR]             Map<String, IDataType> newTypes = new
>>>>>>>>>>>>>> HashMap<>();
>>>>>>>>>>>>>> [ERROR] 
>>>>>>>>>>>>>> ^
>>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> /teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>> tla
>>>>>>>>>>>>>> s
>>>>>>>>>>>>>> /t
>>>>>>>>>>>>>> ypes
>>>>>>>>>>>>>> ys
>>>>>>>>>>>>>> tem/types/utils/TypesUtil.java:66: illegal start of type
>>>>>>>>>>>>>> [ERROR]         return new
>>>>>>>>>>>>>> HierarchicalTypeDefinition<>(TraitType.class,
>>>>>>>>>>>>>> name, superTypes, attrDefs);
>>>>>>>>>>>>>> [ERROR]                                               ^
>>>>>>>>>>>>>> [ERROR]
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> /teeup/source_repo/atlas/typesystem/src/main/java/org/apache/a
>>>>>>>>>>>>>> tla
>>>>>>>>>>>>>> s
>>>>>>>>>>>>>> /t
>>>>>>>>>>>>>> ypes
>>>>>>>>>>>>>> ys
>>>>>>>>>>>>>> tem/types/utils/TypesUtil.java:75: illegal start of type
>>>>>>>>>>>>>> [ERROR]         return new
>>>>>>>>>>>>>> HierarchicalTypeDefinition<>(ClassType.class,
>>>>>>>>>>>>>> name, superTypes, attrDefs);
>>>>>>>>>>>>>> [ERROR]                                               ^
>>>>>>>>>>>>>> [ERROR] 24 errors
>>>>>>>>>>>>>> [INFO]
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> --------------------------------------------------------------
>>>>>>>>>>>>>> ---
>>>>>>>>>>>>>> -
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> ----
>>>>>>>>>>>>>> [INFO] Reactor Summary:
>>>>>>>>>>>>>> [INFO]
>>>>>>>>>>>>>> [INFO] apache-atlas .......................................
>>>>>>>>>>>>>> SUCCESS
>>>>>>>>>>>>>> [03:00 min]
>>>>>>>>>>>>>> [INFO] Apache Atlas Typesystem ............................
>>>>>>>>>>>>>> FAILURE
>>>>>>>>>>>>>> [03:48 min]
>>>>>>>>>>>>>> [INFO] Apache Atlas Common ................................
>>>>>>>>>>>>>> SKIPPED
>>>>>>>>>>>>>> [INFO] Apache Atlas Client ................................
>>>>>>>>>>>>>> SKIPPED
>>>>>>>>>>>>>> [INFO] Apache Atlas Notification ..........................
>>>>>>>>>>>>>> SKIPPED
>>>>>>>>>>>>>> [INFO] Apache Atlas Repository ............................
>>>>>>>>>>>>>> SKIPPED
>>>>>>>>>>>>>> [INFO] Apache Atlas Web Application ....................... 
>>>>>>>>>>>>>> SKIPPED
>>>>>>>>>>>>>> [INFO] Apache Atlas Documentation ......................... 
>>>>>>>>>>>>>> SKIPPED
>>>>>>>>>>>>>> [INFO] Apache Atlas Hive Bridge ........................... 
>>>>>>>>>>>>>> SKIPPED
>>>>>>>>>>>>>> [INFO] Apache Atlas Distribution .......................... 
>>>>>>>>>>>>>> SKIPPED
>>>>>>>>>>>>>> [INFO]
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> --------------------------------------------------------------
>>>>>>>>>>>>>> ---
>>>>>>>>>>>>>> -
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> ----
>>>>>>>>>>>>>> [INFO] BUILD FAILURE
>>>>>>>>>>>>>> [INFO]
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> --------------------------------------------------------------
>>>>>>>>>>>>>> ---
>>>>>>>>>>>>>> -
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> ----
>>>>>>>>>>>>>> [INFO] Total time: 07:38 min
>>>>>>>>>>>>>> [INFO] Finished at: 2015-09-24T11:31:51-04:00
>>>>>>>>>>>>>> [INFO] Final Memory: 42M/200M
>>>>>>>>>>>>>> [INFO]
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> --------------------------------------------------------------
>>>>>>>>>>>>>> ---
>>>>>>>>>>>>>> -
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> ----
>>>>>>>>>>>>>> [ERROR] Failed to execute goal
>>>>>>>>>>>>>> net.alchim31.maven:scala-maven-plugin:3.2.0:compile
>>>>>>>>>>>>>> (scala-compile-first)
>>>>>>>>>>>>>> on project atlas-typesystem: Execution scala-compile-first 
>>>>>>>>>>>>>> of 
>>>>>>>>>>>>>> goal
>>>>>>>>>>>>>> net.alchim31.maven:scala-maven-plugin:3.2.0:compile failed.
>>>>>>>>>>>>>> CompileFailed
>>>>>>>>>>>>>> -> [Help 1]
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> On Sep 23, 2015, at 12:16 PM, Suma Shivaprasad
>>>>>>>>>>>>>> <su...@gmail.com> wrote:
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> Could be an issue with 0.5. I fixed an issue while querying 
>>>>>>>>>>>>>>> for
>>>>>>>>>>>>>>> entities
>>>>>>>>>>>>>>> with traits as part of https://reviews.apache.org/r/38179/. 
>>>>>>>>>>>>>>> .
>>>>>>>>>>>>>>> Should
>>>>>>>>>>>>>>> be
>>>>>>>>>>>>>>> committed soon.
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>>> Suma
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> On Wed, Sep 23, 2015 at 8:40 PM, Shwetha Shivalingamurthy <
>>>>>>>>>>>>>>> sshivalingamurthy@hortonworks.com> wrote:
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> 'hive_table is <traitname>¹ should work. Here is the doc 
>>>>>>>>>>>>>>>> on 
>>>>>>>>>>>>>>>> DSL
>>>>>>>>>>>>>>>> syntax:
>>>>>>>>>>>>>>>> http://atlas.incubator.apache.org/Search.html
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>>>> Shwetha
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> On 23/09/15 8:30 pm, "Herman Yu" <he...@teeupdata.com> 
>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> Hi Suma,
>>>>>>>>>>>>>>>>> Thanks for the help. I tried as you suggested, 
>>>>>>>>>>>>>>>>> ³hive_table is
>>>>>>>>>>>>>>>>> collection², however "0 results matching your search query
>>>>>>>>>>>>>>>>> hive_table
>>>>>>>>>>>>>>>>> is
>>>>>>>>>>>>>>>>> collection were found².
>>>>>>>>>>>>>>>>> ³collection² is a trait I defined, if I just search with
>>>>>>>>>>>>>>>>> ³collection²
>>>>>>>>>>>>>>>>> in
>>>>>>>>>>>>>>>>> the UI, I have two hive_table entities returned.
>>>>>>>>>>>>>>>>> I also tried with those types and traits defined with the
>>>>>>>>>>>>>>>>> quick_start.py,
>>>>>>>>>>>>>>>>> (e.g. "Table is Fact" didn¹t return anything.
>>>>>>>>>>>>>>>>> Is this a bug with v0.5? or I used wrong search syntax? Is
>>>>>>>>>>>>>>>>> there a
>>>>>>>>>>>>>>>>> document with all valid search syntax?
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> thanks
>>>>>>>>>>>>>>>>> Herman.
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> On Sep 21, 2015, at 10:54 PM, Herman Yu
>>>>>>>>>>>>>>>>> <he...@teeupdata.com>
>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> Hi Herman,
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> You can fire a DSL query in the UI as "hive_table  is
>>>>>>>>>>>>>>>>> "trait_name"
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>>>>> Suma
>>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>> With version v0.5, is search based on combination of a 
>>>>>>>>>>>>>>>>>> Trait
>>>>>>>>>>>>>>>>>> and a
>>>>>>>>>>>>>>>>>> type
>>>>>>>>>>>>>>>>>> supported?  I have both hive_tables and hive_columns 
>>>>>>>>>>>>>>>>>> associated
>>>>>>>>>>>>>>>>>> with
>>>>>>>>>>>>>>>>>> a
>>>>>>>>>>>>>>>>>> Trait. I can search base on the Trait, or search based 
>>>>>>>>>>>>>>>>>> on 
>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>> type(hive_table or hive_colume). How to combine them 
>>>>>>>>>>>>>>>>>> together,
>>>>>>>>>>>>>>>>>> for
>>>>>>>>>>>>>>>>>> example, search the trait but only want to return 
>>>>>>>>>>>>>>>>>> hive_table?
>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>> I tried <traitName> and <hive_table>, <traitName> and
>>>>>>>>>>>>>>>>>> typeName=<hive_table> in both UI and REST API, it 
>>>>>>>>>>>>>>>>>> doesn¹t 
>>>>>>>>>>>>>>>>>> work.
>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>> This is my first time posting here, sorry if this is not 
>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>> right
>>>>>>>>>>>>>>>>>> place asking questions like this. If so, what would be 
>>>>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>>>>> correct
>>>>>>>>>>>>>>>>>> channel?
>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>>>>>> Herman.
>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>> 
>>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>>> 
>> 
>