[jira] [Resolved] (ATLAS-2180) Regression : Hive hook is broken

2017-09-27 Thread Apoorv Naik (JIRA)

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

Apoorv Naik resolved ATLAS-2180.

   Resolution: Fixed
 Assignee: Apoorv Naik  (was: Péter Gergő Barna)
Fix Version/s: 0.8-incubating
   trunk

> Regression : Hive hook is broken
> 
>
> Key: ATLAS-2180
> URL: https://issues.apache.org/jira/browse/ATLAS-2180
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-intg
>Affects Versions: 1.0.0
>Reporter: Sharmadha Sainath
>Assignee: Apoorv Naik
>Priority: Blocker
> Fix For: trunk, 0.8-incubating
>
>
> Hive table creation succeeded but while invoking Atlas hook , following error 
> message seen in hive logs :
> {code}
> 2017-09-27 06:29:26,084 INFO  [Atlas Logger 0]: hook.HiveHook 
> (HiveHook.java:collect(244)) - Entered Atlas hook for hook type 
> POST_EXEC_HOOK, operation CREATETABLE , user null as hive
> 2017-09-27 06:29:26,084 INFO  [HiveServer2-Background-Pool: Thread-236]: 
> log.PerfLogger (PerfLogger.java:PerfLogBegin(149)) -  method=releaseLocks from=org.apache.hadoop.hive.ql.Driver>
> 2017-09-27 06:29:26,084 INFO  [HiveServer2-Background-Pool: Thread-236]: 
> log.PerfLogger (PerfLogger.java:PerfLogEnd(177)) -  method=releaseLocks start=1506493766084 end=1506493766084 duration=0 
> from=org.apache.hadoop.hive.ql.Driver>
> 2017-09-27 06:29:26,085 INFO  [HiveServer2-Background-Pool: Thread-236]: 
> log.PerfLogger (PerfLogger.java:PerfLogEnd(177)) -  method=Driver.run start=1506493763780 end=1506493766085 duration=2305 
> from=org.apache.hadoop.hive.ql.Driver>
> 2017-09-27 06:29:26,087 ERROR [Atlas Logger 0]: hook.HiveHook 
> (HiveHook.java:run(205)) - Atlas hook failed due to error 
> java.lang.NoClassDefFoundError: org/apache/atlas/AtlasServiceException
>   at org.apache.atlas.hive.hook.HiveHook.collect(HiveHook.java:246)
>   at org.apache.atlas.hive.hook.HiveHook.access$200(HiveHook.java:83)
>   at org.apache.atlas.hive.hook.HiveHook$2$1.run(HiveHook.java:198)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at javax.security.auth.Subject.doAs(Subject.java:422)
>   at 
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1866)
>   at org.apache.atlas.hive.hook.HiveHook$2.run(HiveHook.java:195)
>   at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>   at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>   at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.ClassNotFoundException: 
> org.apache.atlas.AtlasServiceException
>   at java.lang.ClassLoader.findClass(ClassLoader.java:530)
>   at 
> org.apache.atlas.plugin.classloader.AtlasPluginClassLoader$MyClassLoader.findClass(AtlasPluginClassLoader.java:328)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>   at 
> org.apache.atlas.plugin.classloader.AtlasPluginClassLoader.loadClass(AtlasPluginClassLoader.java:136)
>   ... 12 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (ATLAS-2182) UI : Web elements are hidden when zoomed in

2017-09-27 Thread Sharmadha Sainath (JIRA)
Sharmadha Sainath created ATLAS-2182:


 Summary: UI : Web elements are hidden when zoomed in 
 Key: ATLAS-2182
 URL: https://issues.apache.org/jira/browse/ATLAS-2182
 Project: Atlas
  Issue Type: Bug
  Components: atlas-webui
Affects Versions: 1.0.0
Reporter: Sharmadha Sainath
 Attachments: Atlas_UI_zoomed_at_150%.png

Opened Atlas UI on Chrome . On zooming at 150% , few elements on Search tab are 
not visible.
Attached the screenshot. At 200 % , complete left Search pane is not visible.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Comment Edited] (ATLAS-2178) Type Inheritance in conjunction with RelationshipDef fails to set legacy attributes

2017-09-27 Thread Pierre Padovani (JIRA)

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

Pierre Padovani edited comment on ATLAS-2178 at 9/27/17 3:36 PM:
-

I've attached json files that can reproduce the issues I'm seeing.

types.json is the type system, while entities.json are the new entities 
created. Each of the rel#.json files contains the payload to create a 
relationship. The guids in the rel#.json files have to be updated to match the 
created entities prior to submission.

Results seen from these files:
SorTable instance does not know about linked column, column doesn't know about 
table.
SorExtraction (Process) only has outputs set, but no inputs.
Many other inconsistencies in how relationships were set including the legacy 
attributes not being set correctly.


was (Author: ppadovani):
types.json is the type system, while entities.json are the new entities 
created. Each of the rel#.json files contains the payload to create a 
relationship. The guids in the relationship#.json files have to be updated to 
match the created entities prior to submission.

Results seen from these files:
SorTable instance does not know about linked column, column doesn't know about 
table.
SorExtraction (Process) only has outputs set, but no inputs.
Many other inconsistencies in how relationships were set including the legacy 
attributes not being set correctly.

> Type Inheritance in conjunction with RelationshipDef fails to set legacy 
> attributes
> ---
>
> Key: ATLAS-2178
> URL: https://issues.apache.org/jira/browse/ATLAS-2178
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 1.0.0
>Reporter: Pierre Padovani
> Attachments: entities.json, rel1.json, rel2.json, rel3.json, 
> rel4.json, rel5.json, types.json
>
>
> If a type inherits from another that has an old style reference attribute, 
> and a new style RelationshipDef defined, creating the relationship instance 
> fails to set the legacy attributes and in some cases fails to create the 
> relationship itself.
> Steps to reproduce:
> * create a type, say my_table, that inherits from the hive_table
> * Create an instance of the new type my_table
> * Create an instance of a hive_column
> * Create the containment relationship between the two models.
> This behavior causes odd and inconsistent behavior and fully breaks lineage 
> reports for process types that inherit from the built in Process.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Assigned] (ATLAS-2180) Regression : Hive hook is broken

2017-09-27 Thread JIRA

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

Péter Gergő Barna reassigned ATLAS-2180:


Assignee: Péter Gergő Barna

> Regression : Hive hook is broken
> 
>
> Key: ATLAS-2180
> URL: https://issues.apache.org/jira/browse/ATLAS-2180
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-intg
>Affects Versions: 1.0.0
>Reporter: Sharmadha Sainath
>Assignee: Péter Gergő Barna
>Priority: Blocker
>
> Hive table creation succeeded but while invoking Atlas hook , following error 
> message seen in hive logs :
> {code}
> 2017-09-27 06:29:26,084 INFO  [Atlas Logger 0]: hook.HiveHook 
> (HiveHook.java:collect(244)) - Entered Atlas hook for hook type 
> POST_EXEC_HOOK, operation CREATETABLE , user null as hive
> 2017-09-27 06:29:26,084 INFO  [HiveServer2-Background-Pool: Thread-236]: 
> log.PerfLogger (PerfLogger.java:PerfLogBegin(149)) -  method=releaseLocks from=org.apache.hadoop.hive.ql.Driver>
> 2017-09-27 06:29:26,084 INFO  [HiveServer2-Background-Pool: Thread-236]: 
> log.PerfLogger (PerfLogger.java:PerfLogEnd(177)) -  method=releaseLocks start=1506493766084 end=1506493766084 duration=0 
> from=org.apache.hadoop.hive.ql.Driver>
> 2017-09-27 06:29:26,085 INFO  [HiveServer2-Background-Pool: Thread-236]: 
> log.PerfLogger (PerfLogger.java:PerfLogEnd(177)) -  method=Driver.run start=1506493763780 end=1506493766085 duration=2305 
> from=org.apache.hadoop.hive.ql.Driver>
> 2017-09-27 06:29:26,087 ERROR [Atlas Logger 0]: hook.HiveHook 
> (HiveHook.java:run(205)) - Atlas hook failed due to error 
> java.lang.NoClassDefFoundError: org/apache/atlas/AtlasServiceException
>   at org.apache.atlas.hive.hook.HiveHook.collect(HiveHook.java:246)
>   at org.apache.atlas.hive.hook.HiveHook.access$200(HiveHook.java:83)
>   at org.apache.atlas.hive.hook.HiveHook$2$1.run(HiveHook.java:198)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at javax.security.auth.Subject.doAs(Subject.java:422)
>   at 
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1866)
>   at org.apache.atlas.hive.hook.HiveHook$2.run(HiveHook.java:195)
>   at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>   at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>   at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.ClassNotFoundException: 
> org.apache.atlas.AtlasServiceException
>   at java.lang.ClassLoader.findClass(ClassLoader.java:530)
>   at 
> org.apache.atlas.plugin.classloader.AtlasPluginClassLoader$MyClassLoader.findClass(AtlasPluginClassLoader.java:328)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>   at 
> org.apache.atlas.plugin.classloader.AtlasPluginClassLoader.loadClass(AtlasPluginClassLoader.java:136)
>   ... 12 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Assigned] (ATLAS-2180) Regression : Hive hook is broken

2017-09-27 Thread JIRA

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

Péter Gergő Barna reassigned ATLAS-2180:


Assignee: Péter Gergő Barna

> Regression : Hive hook is broken
> 
>
> Key: ATLAS-2180
> URL: https://issues.apache.org/jira/browse/ATLAS-2180
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-intg
>Affects Versions: 1.0.0
>Reporter: Sharmadha Sainath
>Assignee: Péter Gergő Barna
>Priority: Blocker
>
> Hive table creation succeeded but while invoking Atlas hook , following error 
> message seen in hive logs :
> {code}
> 2017-09-27 06:29:26,084 INFO  [Atlas Logger 0]: hook.HiveHook 
> (HiveHook.java:collect(244)) - Entered Atlas hook for hook type 
> POST_EXEC_HOOK, operation CREATETABLE , user null as hive
> 2017-09-27 06:29:26,084 INFO  [HiveServer2-Background-Pool: Thread-236]: 
> log.PerfLogger (PerfLogger.java:PerfLogBegin(149)) -  method=releaseLocks from=org.apache.hadoop.hive.ql.Driver>
> 2017-09-27 06:29:26,084 INFO  [HiveServer2-Background-Pool: Thread-236]: 
> log.PerfLogger (PerfLogger.java:PerfLogEnd(177)) -  method=releaseLocks start=1506493766084 end=1506493766084 duration=0 
> from=org.apache.hadoop.hive.ql.Driver>
> 2017-09-27 06:29:26,085 INFO  [HiveServer2-Background-Pool: Thread-236]: 
> log.PerfLogger (PerfLogger.java:PerfLogEnd(177)) -  method=Driver.run start=1506493763780 end=1506493766085 duration=2305 
> from=org.apache.hadoop.hive.ql.Driver>
> 2017-09-27 06:29:26,087 ERROR [Atlas Logger 0]: hook.HiveHook 
> (HiveHook.java:run(205)) - Atlas hook failed due to error 
> java.lang.NoClassDefFoundError: org/apache/atlas/AtlasServiceException
>   at org.apache.atlas.hive.hook.HiveHook.collect(HiveHook.java:246)
>   at org.apache.atlas.hive.hook.HiveHook.access$200(HiveHook.java:83)
>   at org.apache.atlas.hive.hook.HiveHook$2$1.run(HiveHook.java:198)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at javax.security.auth.Subject.doAs(Subject.java:422)
>   at 
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1866)
>   at org.apache.atlas.hive.hook.HiveHook$2.run(HiveHook.java:195)
>   at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>   at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>   at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.ClassNotFoundException: 
> org.apache.atlas.AtlasServiceException
>   at java.lang.ClassLoader.findClass(ClassLoader.java:530)
>   at 
> org.apache.atlas.plugin.classloader.AtlasPluginClassLoader$MyClassLoader.findClass(AtlasPluginClassLoader.java:328)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>   at 
> org.apache.atlas.plugin.classloader.AtlasPluginClassLoader.loadClass(AtlasPluginClassLoader.java:136)
>   ... 12 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Assigned] (ATLAS-2155) Attributes with null values are not filtered using search parameters

2017-09-27 Thread JIRA

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

Péter Gergő Barna reassigned ATLAS-2155:


Assignee: Péter Gergő Barna

> Attributes with null values are not filtered using search parameters
> 
>
> Key: ATLAS-2155
> URL: https://issues.apache.org/jira/browse/ATLAS-2155
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 1.0.0
>Reporter: Ayub Pathan
>Assignee: Péter Gergő Barna
>
> For example: Below example shows attrbutes like "Description" has nullvalues
> {noformat}
> apathan@Ayub-sys-101:~/Hortonworks > curl 
> 'http://localhost:21000/api/atlas/v2/search/basic' -H 'Origin: 
> http://localhost:21000' -H 'Accept-Encoding: gzip, deflate, br' -H 
> 'X-XSRF-HEADER: ""' -H 'Authorization: Basic YWRtaW46YWRtaW4=' -H 
> 'Accept-Language: en-US,en;q=0.8' -H 'Cookie: 
> ATLASSESSIONID=9hm04vl07k7f1vmcmeq9q6kg9' -H 'Connection: keep-alive' -H 
> 'Pragma: no-cache' -H 'X-Requested-With: XMLHttpRequest' -H 'User-Agent: 
> Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, 
> like Gecko) Chrome/60.0.3112.113 Safari/537.36' -H 'Content-Type: 
> application/json' -H 'Accept: application/json, text/javascript, */*; q=0.01' 
> -H 'Cache-Control: no-cache' -H 'Referer: http://localhost:21000/index.html' 
> --data-binary 
> '{"excludeDeletedEntities":true,"entityFilters":{"condition":"AND","criterion":[{"attributeName":"owner","operator":"eq","attributeValue":"apathan"}]},"tagFilters":null,"attributes":["qualifiedName"],"query":null,"limit":25,"offset":0,"typeName":"hive_table","classification":null}'
>  --compressed | python -m json.tool
>   % Total% Received % Xferd  Average Speed   TimeTime Time  
> Current
>  Dload  Upload   Total   SpentLeft  Speed
> 100  11050   825  100   280  13953   4735 --:--:-- --:--:-- --:--:-- 14224
> {
> "entities": [
> {
> "attributes": {
> "createTime": 1505475604641,
> "description": null,
> "name": "h5",
> "owner": "apathan",
> "qualifiedName": "default.h5@primary"
> },
> "classificationNames": [],
> "displayText": "h5",
> "guid": "7a8955bf-7395-454f-9d67-ea3ba01529bf",
> "status": "ACTIVE",
> "typeName": "hive_table"
> },
> {
> "attributes": {
> "createTime": 1505475721717,
> "description": null,
> "name": "h7",
> "owner": "apathan",
> "qualifiedName": "default.h7@primary"
> },
> "classificationNames": [
> "abc",
> "dsfads",
> "sdf"
> ],
> "displayText": "h7",
> "guid": "82d6de4e-d808-4c88-8207-be5a58fbbb4e",
> "status": "ACTIVE",
> "typeName": "hive_table"
> }
> ],
> "queryType": "BASIC",
> "searchParameters": {
> "attributes": [
> "qualifiedName"
> ],
> "entityFilters": {
> "condition": "AND",
> "criterion": [
> {
> "attributeName": "owner",
> "attributeValue": "apathan",
> "operator": "eq"
> }
> ]
> },
> "excludeDeletedEntities": true,
> "limit": 25,
> "offset": 0,
> "typeName": "hive_table"
> }
> }
> {noformat}
> *Filtering those attributes using any operand will not take effect and it 
> will always result empty response*
> example:
> {noformat}
> apathan@Ayub-sys-101:~/Hortonworks > curl 
> 'http://localhost:21000/api/atlas/v2/search/basic' -H 'Origin: 
> http://localhost:21000' -H 'Accept-Encoding: gzip, deflate, br' -H 
> 'X-XSRF-HEADER: ""' -H 'Authorization: Basic YWRtaW46YWRtaW4=' -H 
> 'Accept-Language: en-US,en;q=0.8' -H 'Cookie: 
> ATLASSESSIONID=9hm04vl07k7f1vmcmeq9q6kg9' -H 'Connection: keep-alive' -H 
> 'Pragma: no-cache' -H 'X-Requested-With: XMLHttpRequest' -H 'User-Agent: 
> Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, 
> like Gecko) Chrome/60.0.3112.113 Safari/537.36' -H 'Content-Type: 
> application/json' -H 'Accept: application/json, text/javascript, */*; q=0.01' 
> -H 'Cache-Control: no-cache' -H 'Referer: http://localhost:21000/index.html' 
> --data-binary 
> 

Build failed in Jenkins: Atlas-master-UnitTests #104

2017-09-27 Thread Apache Jenkins Server
See 


Changes:

[apoorvnaik] ATLAS-2179: Split Atlas client library to avoid unnecessary 
dependencies

--
[...truncated 282.66 KB...]
Running 
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreHardDeleteV1Test
Running org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Running org.apache.atlas.repository.impexp.ImportTransformerTest
Running 
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateSoftDeleteV1Test
Running org.apache.atlas.repository.userprofile.UserProfileServiceTest
Running org.apache.atlas.repository.impexp.ExportServiceTest
Running 
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateHardDeleteV1Test
Running org.apache.atlas.repository.graph.Gremlin2QueryOptimizerTest
Running org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Running org.apache.atlas.repository.impexp.ZipSinkTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.379 sec - in 
org.apache.atlas.repository.store.graph.v1.InverseReferenceUpdateV1Test
Running org.apache.atlas.repository.graph.GraphRepoMapperScaleTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.131 sec - in 
org.apache.atlas.repository.store.graph.v1.AtlasDeleteHandlerV1Test
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.843 sec - in 
org.apache.atlas.repository.impexp.ZipSourceTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.203 sec - in 
org.apache.atlas.repository.impexp.ImportTransformsTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.895 sec - in 
org.apache.atlas.repository.store.graph.v1.AtlasRelationshipStoreV1Test
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.527 sec - in 
org.apache.atlas.repository.impexp.AtlasImportRequestTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.502 sec - in 
org.apache.atlas.repository.BaseTest
Running org.apache.atlas.repository.graph.GraphBackedRepositorySoftDeleteTest
Running org.apache.atlas.repository.graph.GraphBackedSearchIndexerMockTest
Running org.apache.atlas.repository.graph.GraphHelperTest
Running org.apache.atlas.repository.graph.ReverseReferenceUpdateSoftDeleteTest
Running org.apache.atlas.repository.graph.TestIntSequence
Running org.apache.atlas.repository.graph.GraphHelperMockTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.27 sec - in 
org.apache.atlas.repository.impexp.TypeAttributeDifferenceTest
Running org.apache.atlas.repository.graph.AbstractGremlinQueryOptimizerTest
Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 35.953 sec - 
in org.apache.atlas.repository.graph.Gremlin3QueryOptimizerTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 35.116 sec - in 
org.apache.atlas.repository.impexp.ZipSinkTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.689 sec - in 
org.apache.atlas.repository.impexp.UniqueListTest
Running org.apache.atlas.repository.audit.InMemoryAuditRepositoryTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.706 sec - in 
org.apache.atlas.repository.store.graph.v1.AtlasEntityStoreV1BulkImportPercentTest
Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.155 sec - 
in org.apache.atlas.repository.graph.Gremlin2QueryOptimizerTest
Running org.apache.atlas.repository.audit.HBaseBasedAuditRepositoryTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.694 sec - in 
org.apache.atlas.repository.impexp.ImportTransformerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 37.687 sec - in 
org.apache.atlas.repository.impexp.ImportTransformerJSONTest
Running org.apache.atlas.repository.audit.HBaseBasedAuditRepositoryHATest
Running org.apache.atlas.repository.typestore.StoreBackedTypeCacheTest
Running org.apache.atlas.repository.typestore.GraphBackedTypeStoreTest
Running org.apache.atlas.TestUtils
Running org.apache.atlas.util.CompiledQueryCacheKeyTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 48.56 sec - in 
org.apache.atlas.repository.graph.GraphBackedSearchIndexerTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 48.761 sec - 
in org.apache.atlas.repository.store.graph.v1.AtlasRelationshipDefStoreV1Test
Running org.apache.atlas.service.StoreBackedTypeCacheMetadataServiceTest
Running org.apache.atlas.service.DefaultMetadataServiceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 52.102 sec - in 
org.apache.atlas.repository.store.graph.v1.AtlasEntityDefStoreV1Test
Running org.apache.atlas.TestModules
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.523 sec - in 
org.apache.atlas.repository.graph.ReverseReferenceUpdateHardDeleteTest
Running org.apache.atlas.services.MetricsServiceTest
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, 

Build failed in Jenkins: Atlas-0.8-IntegrationTests #86

2017-09-27 Thread Apache Jenkins Server
See 


Changes:

[apoorvnaik] ATLAS-2179: Split Atlas client library to avoid unnecessary 
dependencies

--
[...truncated 458.05 KB...]
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.web.integration.TypesJerseyResourceIT.testDuplicateSubmit(TypesJerseyResourceIT.java:102)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.web.integration.TypesJerseyResourceIT.testDuplicateSubmit(TypesJerseyResourceIT.java:102)

testGetDefinitionForNonexistentType(org.apache.atlas.web.integration.TypesJerseyResourceIT)
  Time elapsed: 0.001 sec  <<< FAILURE!
org.testng.TestException: 

Expected exception org.apache.atlas.AtlasServiceException but got 
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.web.integration.TypesJerseyResourceIT.testGetDefinitionForNonexistentType(TypesJerseyResourceIT.java:167)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.web.integration.TypesJerseyResourceIT.testGetDefinitionForNonexistentType(TypesJerseyResourceIT.java:167)

testGetTraitNames(org.apache.atlas.web.integration.TypesJerseyResourceIT)  Time 
elapsed: 0.035 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.web.integration.TypesJerseyResourceIT.addTraits(TypesJerseyResourceIT.java:226)
at 
org.apache.atlas.web.integration.TypesJerseyResourceIT.testGetTraitNames(TypesJerseyResourceIT.java:188)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.web.integration.TypesJerseyResourceIT.addTraits(TypesJerseyResourceIT.java:226)
at 
org.apache.atlas.web.integration.TypesJerseyResourceIT.testGetTraitNames(TypesJerseyResourceIT.java:188)

testListTypesByFilter(org.apache.atlas.web.integration.TypesJerseyResourceIT)  
Time elapsed: 0.015 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.web.integration.TypesJerseyResourceIT.testListTypesByFilter(TypesJerseyResourceIT.java:206)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.web.integration.TypesJerseyResourceIT.testListTypesByFilter(TypesJerseyResourceIT.java:206)

testUpdate(org.apache.atlas.web.integration.TypesJerseyResourceIT)  Time 
elapsed: 0.004 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.web.integration.TypesJerseyResourceIT.testUpdate(TypesJerseyResourceIT.java:117)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.web.integration.TypesJerseyResourceIT.testUpdate(TypesJerseyResourceIT.java:117)

setUp(org.apache.atlas.notification.NotificationHookConsumerIT)  Time elapsed: 
4.409 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.notification.NotificationHookConsumerIT.setUp(NotificationHookConsumerIT.java:55)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.notification.NotificationHookConsumerIT.setUp(NotificationHookConsumerIT.java:55)

setUp(org.apache.atlas.web.integration.DataSetLineageJerseyResourceIT)  Time 
elapsed: 0.167 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.web.integration.DataSetLineageJerseyResourceIT.setUp(DataSetLineageJerseyResourceIT.java:56)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.web.integration.DataSetLineageJerseyResourceIT.setUp(DataSetLineageJerseyResourceIT.java:56)

testUpdate(org.apache.atlas.web.integration.TypedefsJerseyResourceIT)  Time 
elapsed: 0.131 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.web.integration.TypedefsJerseyResourceIT.testUpdate(TypedefsJerseyResourceIT.java:133)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.web.integration.TypedefsJerseyResourceIT.testUpdate(TypedefsJerseyResourceIT.java:133)

testDuplicateCreate(org.apache.atlas.web.integration.TypedefsJerseyResourceIT)  
Time elapsed: 0.001 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.web.integration.TypedefsJerseyResourceIT.testDuplicateCreate(TypedefsJerseyResourceIT.java:112)
Caused by: java.net.ConnectException: Connection refused
at 

[jira] [Assigned] (ATLAS-2155) Attributes with null values are not filtered using search parameters

2017-09-27 Thread Apoorv Naik (JIRA)

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

Apoorv Naik reassigned ATLAS-2155:
--

Assignee: Apoorv Naik  (was: Péter Gergő Barna)

> Attributes with null values are not filtered using search parameters
> 
>
> Key: ATLAS-2155
> URL: https://issues.apache.org/jira/browse/ATLAS-2155
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 1.0.0
>Reporter: Ayub Pathan
>Assignee: Apoorv Naik
>
> For example: Below example shows attrbutes like "Description" has nullvalues
> {noformat}
> apathan@Ayub-sys-101:~/Hortonworks > curl 
> 'http://localhost:21000/api/atlas/v2/search/basic' -H 'Origin: 
> http://localhost:21000' -H 'Accept-Encoding: gzip, deflate, br' -H 
> 'X-XSRF-HEADER: ""' -H 'Authorization: Basic YWRtaW46YWRtaW4=' -H 
> 'Accept-Language: en-US,en;q=0.8' -H 'Cookie: 
> ATLASSESSIONID=9hm04vl07k7f1vmcmeq9q6kg9' -H 'Connection: keep-alive' -H 
> 'Pragma: no-cache' -H 'X-Requested-With: XMLHttpRequest' -H 'User-Agent: 
> Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, 
> like Gecko) Chrome/60.0.3112.113 Safari/537.36' -H 'Content-Type: 
> application/json' -H 'Accept: application/json, text/javascript, */*; q=0.01' 
> -H 'Cache-Control: no-cache' -H 'Referer: http://localhost:21000/index.html' 
> --data-binary 
> '{"excludeDeletedEntities":true,"entityFilters":{"condition":"AND","criterion":[{"attributeName":"owner","operator":"eq","attributeValue":"apathan"}]},"tagFilters":null,"attributes":["qualifiedName"],"query":null,"limit":25,"offset":0,"typeName":"hive_table","classification":null}'
>  --compressed | python -m json.tool
>   % Total% Received % Xferd  Average Speed   TimeTime Time  
> Current
>  Dload  Upload   Total   SpentLeft  Speed
> 100  11050   825  100   280  13953   4735 --:--:-- --:--:-- --:--:-- 14224
> {
> "entities": [
> {
> "attributes": {
> "createTime": 1505475604641,
> "description": null,
> "name": "h5",
> "owner": "apathan",
> "qualifiedName": "default.h5@primary"
> },
> "classificationNames": [],
> "displayText": "h5",
> "guid": "7a8955bf-7395-454f-9d67-ea3ba01529bf",
> "status": "ACTIVE",
> "typeName": "hive_table"
> },
> {
> "attributes": {
> "createTime": 1505475721717,
> "description": null,
> "name": "h7",
> "owner": "apathan",
> "qualifiedName": "default.h7@primary"
> },
> "classificationNames": [
> "abc",
> "dsfads",
> "sdf"
> ],
> "displayText": "h7",
> "guid": "82d6de4e-d808-4c88-8207-be5a58fbbb4e",
> "status": "ACTIVE",
> "typeName": "hive_table"
> }
> ],
> "queryType": "BASIC",
> "searchParameters": {
> "attributes": [
> "qualifiedName"
> ],
> "entityFilters": {
> "condition": "AND",
> "criterion": [
> {
> "attributeName": "owner",
> "attributeValue": "apathan",
> "operator": "eq"
> }
> ]
> },
> "excludeDeletedEntities": true,
> "limit": 25,
> "offset": 0,
> "typeName": "hive_table"
> }
> }
> {noformat}
> *Filtering those attributes using any operand will not take effect and it 
> will always result empty response*
> example:
> {noformat}
> apathan@Ayub-sys-101:~/Hortonworks > curl 
> 'http://localhost:21000/api/atlas/v2/search/basic' -H 'Origin: 
> http://localhost:21000' -H 'Accept-Encoding: gzip, deflate, br' -H 
> 'X-XSRF-HEADER: ""' -H 'Authorization: Basic YWRtaW46YWRtaW4=' -H 
> 'Accept-Language: en-US,en;q=0.8' -H 'Cookie: 
> ATLASSESSIONID=9hm04vl07k7f1vmcmeq9q6kg9' -H 'Connection: keep-alive' -H 
> 'Pragma: no-cache' -H 'X-Requested-With: XMLHttpRequest' -H 'User-Agent: 
> Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, 
> like Gecko) Chrome/60.0.3112.113 Safari/537.36' -H 'Content-Type: 
> application/json' -H 'Accept: application/json, text/javascript, */*; q=0.01' 
> -H 'Cache-Control: no-cache' -H 'Referer: http://localhost:21000/index.html' 
> --data-binary 
> 

[jira] [Commented] (ATLAS-2155) Attributes with null values are not filtered using search parameters

2017-09-27 Thread Apoorv Naik (JIRA)

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

Apoorv Naik commented on ATLAS-2155:


[~bpgergo] - I'm already working on verifying the fix, reassigning to myself.

> Attributes with null values are not filtered using search parameters
> 
>
> Key: ATLAS-2155
> URL: https://issues.apache.org/jira/browse/ATLAS-2155
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 1.0.0
>Reporter: Ayub Pathan
>Assignee: Péter Gergő Barna
>
> For example: Below example shows attrbutes like "Description" has nullvalues
> {noformat}
> apathan@Ayub-sys-101:~/Hortonworks > curl 
> 'http://localhost:21000/api/atlas/v2/search/basic' -H 'Origin: 
> http://localhost:21000' -H 'Accept-Encoding: gzip, deflate, br' -H 
> 'X-XSRF-HEADER: ""' -H 'Authorization: Basic YWRtaW46YWRtaW4=' -H 
> 'Accept-Language: en-US,en;q=0.8' -H 'Cookie: 
> ATLASSESSIONID=9hm04vl07k7f1vmcmeq9q6kg9' -H 'Connection: keep-alive' -H 
> 'Pragma: no-cache' -H 'X-Requested-With: XMLHttpRequest' -H 'User-Agent: 
> Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, 
> like Gecko) Chrome/60.0.3112.113 Safari/537.36' -H 'Content-Type: 
> application/json' -H 'Accept: application/json, text/javascript, */*; q=0.01' 
> -H 'Cache-Control: no-cache' -H 'Referer: http://localhost:21000/index.html' 
> --data-binary 
> '{"excludeDeletedEntities":true,"entityFilters":{"condition":"AND","criterion":[{"attributeName":"owner","operator":"eq","attributeValue":"apathan"}]},"tagFilters":null,"attributes":["qualifiedName"],"query":null,"limit":25,"offset":0,"typeName":"hive_table","classification":null}'
>  --compressed | python -m json.tool
>   % Total% Received % Xferd  Average Speed   TimeTime Time  
> Current
>  Dload  Upload   Total   SpentLeft  Speed
> 100  11050   825  100   280  13953   4735 --:--:-- --:--:-- --:--:-- 14224
> {
> "entities": [
> {
> "attributes": {
> "createTime": 1505475604641,
> "description": null,
> "name": "h5",
> "owner": "apathan",
> "qualifiedName": "default.h5@primary"
> },
> "classificationNames": [],
> "displayText": "h5",
> "guid": "7a8955bf-7395-454f-9d67-ea3ba01529bf",
> "status": "ACTIVE",
> "typeName": "hive_table"
> },
> {
> "attributes": {
> "createTime": 1505475721717,
> "description": null,
> "name": "h7",
> "owner": "apathan",
> "qualifiedName": "default.h7@primary"
> },
> "classificationNames": [
> "abc",
> "dsfads",
> "sdf"
> ],
> "displayText": "h7",
> "guid": "82d6de4e-d808-4c88-8207-be5a58fbbb4e",
> "status": "ACTIVE",
> "typeName": "hive_table"
> }
> ],
> "queryType": "BASIC",
> "searchParameters": {
> "attributes": [
> "qualifiedName"
> ],
> "entityFilters": {
> "condition": "AND",
> "criterion": [
> {
> "attributeName": "owner",
> "attributeValue": "apathan",
> "operator": "eq"
> }
> ]
> },
> "excludeDeletedEntities": true,
> "limit": 25,
> "offset": 0,
> "typeName": "hive_table"
> }
> }
> {noformat}
> *Filtering those attributes using any operand will not take effect and it 
> will always result empty response*
> example:
> {noformat}
> apathan@Ayub-sys-101:~/Hortonworks > curl 
> 'http://localhost:21000/api/atlas/v2/search/basic' -H 'Origin: 
> http://localhost:21000' -H 'Accept-Encoding: gzip, deflate, br' -H 
> 'X-XSRF-HEADER: ""' -H 'Authorization: Basic YWRtaW46YWRtaW4=' -H 
> 'Accept-Language: en-US,en;q=0.8' -H 'Cookie: 
> ATLASSESSIONID=9hm04vl07k7f1vmcmeq9q6kg9' -H 'Connection: keep-alive' -H 
> 'Pragma: no-cache' -H 'X-Requested-With: XMLHttpRequest' -H 'User-Agent: 
> Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, 
> like Gecko) Chrome/60.0.3112.113 Safari/537.36' -H 'Content-Type: 
> application/json' -H 'Accept: application/json, text/javascript, */*; q=0.01' 
> -H 'Cache-Control: no-cache' -H 'Referer: http://localhost:21000/index.html' 
> --data-binary 
> 

[jira] [Updated] (ATLAS-2155) Attributes with null values are not filtered using search parameters

2017-09-27 Thread Apoorv Naik (JIRA)

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

Apoorv Naik updated ATLAS-2155:
---
Attachment: 0001-ATLAS-2155-Allow-null-NEQ-comparisons-for-String.patch

> Attributes with null values are not filtered using search parameters
> 
>
> Key: ATLAS-2155
> URL: https://issues.apache.org/jira/browse/ATLAS-2155
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 1.0.0
>Reporter: Ayub Pathan
>Assignee: Apoorv Naik
> Attachments: 
> 0001-ATLAS-2155-Allow-null-NEQ-comparisons-for-String.patch
>
>
> For example: Below example shows attrbutes like "Description" has nullvalues
> {noformat}
> apathan@Ayub-sys-101:~/Hortonworks > curl 
> 'http://localhost:21000/api/atlas/v2/search/basic' -H 'Origin: 
> http://localhost:21000' -H 'Accept-Encoding: gzip, deflate, br' -H 
> 'X-XSRF-HEADER: ""' -H 'Authorization: Basic YWRtaW46YWRtaW4=' -H 
> 'Accept-Language: en-US,en;q=0.8' -H 'Cookie: 
> ATLASSESSIONID=9hm04vl07k7f1vmcmeq9q6kg9' -H 'Connection: keep-alive' -H 
> 'Pragma: no-cache' -H 'X-Requested-With: XMLHttpRequest' -H 'User-Agent: 
> Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, 
> like Gecko) Chrome/60.0.3112.113 Safari/537.36' -H 'Content-Type: 
> application/json' -H 'Accept: application/json, text/javascript, */*; q=0.01' 
> -H 'Cache-Control: no-cache' -H 'Referer: http://localhost:21000/index.html' 
> --data-binary 
> '{"excludeDeletedEntities":true,"entityFilters":{"condition":"AND","criterion":[{"attributeName":"owner","operator":"eq","attributeValue":"apathan"}]},"tagFilters":null,"attributes":["qualifiedName"],"query":null,"limit":25,"offset":0,"typeName":"hive_table","classification":null}'
>  --compressed | python -m json.tool
>   % Total% Received % Xferd  Average Speed   TimeTime Time  
> Current
>  Dload  Upload   Total   SpentLeft  Speed
> 100  11050   825  100   280  13953   4735 --:--:-- --:--:-- --:--:-- 14224
> {
> "entities": [
> {
> "attributes": {
> "createTime": 1505475604641,
> "description": null,
> "name": "h5",
> "owner": "apathan",
> "qualifiedName": "default.h5@primary"
> },
> "classificationNames": [],
> "displayText": "h5",
> "guid": "7a8955bf-7395-454f-9d67-ea3ba01529bf",
> "status": "ACTIVE",
> "typeName": "hive_table"
> },
> {
> "attributes": {
> "createTime": 1505475721717,
> "description": null,
> "name": "h7",
> "owner": "apathan",
> "qualifiedName": "default.h7@primary"
> },
> "classificationNames": [
> "abc",
> "dsfads",
> "sdf"
> ],
> "displayText": "h7",
> "guid": "82d6de4e-d808-4c88-8207-be5a58fbbb4e",
> "status": "ACTIVE",
> "typeName": "hive_table"
> }
> ],
> "queryType": "BASIC",
> "searchParameters": {
> "attributes": [
> "qualifiedName"
> ],
> "entityFilters": {
> "condition": "AND",
> "criterion": [
> {
> "attributeName": "owner",
> "attributeValue": "apathan",
> "operator": "eq"
> }
> ]
> },
> "excludeDeletedEntities": true,
> "limit": 25,
> "offset": 0,
> "typeName": "hive_table"
> }
> }
> {noformat}
> *Filtering those attributes using any operand will not take effect and it 
> will always result empty response*
> example:
> {noformat}
> apathan@Ayub-sys-101:~/Hortonworks > curl 
> 'http://localhost:21000/api/atlas/v2/search/basic' -H 'Origin: 
> http://localhost:21000' -H 'Accept-Encoding: gzip, deflate, br' -H 
> 'X-XSRF-HEADER: ""' -H 'Authorization: Basic YWRtaW46YWRtaW4=' -H 
> 'Accept-Language: en-US,en;q=0.8' -H 'Cookie: 
> ATLASSESSIONID=9hm04vl07k7f1vmcmeq9q6kg9' -H 'Connection: keep-alive' -H 
> 'Pragma: no-cache' -H 'X-Requested-With: XMLHttpRequest' -H 'User-Agent: 
> Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, 
> like Gecko) Chrome/60.0.3112.113 Safari/537.36' -H 'Content-Type: 
> application/json' -H 'Accept: application/json, text/javascript, */*; q=0.01' 
> -H 'Cache-Control: no-cache' -H 'Referer: http://localhost:21000/index.html' 
> --data-binary 
> 

Re: [GitHub] atlas pull request #1: fixed Export-API documentation curl example json synt...

2017-09-27 Thread Sarath Subramanian
 Daniel-Lee-Narvar,

Atlas team uses Review Board to review patches. Could you open a JIRA for
the issue and upload your patch in Review Board for the team to review.

https://reviews.apache.org/groups/atlas/


Thanks,
Sarath Subramanian

On Tue, Sep 26, 2017 at 3:44 PM, Daniel-Lee-Narvar 
wrote:

> GitHub user Daniel-Lee-Narvar opened a pull request:
>
> https://github.com/apache/atlas/pull/1
>
> fixed Export-API documentation curl example json syntax and options
> element to work properly
>
> Was trying to follow along with examples and found these errors. I've
> corrected them and it should be straight forward documentation only merge.
>
> You can merge this pull request into a Git repository by running:
>
> $ git pull https://github.com/Daniel-Lee-Narvar/atlas master
>
> Alternatively you can review and apply these changes as the patch at:
>
> https://github.com/apache/atlas/pull/1.patch
>
> To close this pull request, make a commit to your master/trunk branch
> with (at least) the following in the commit message:
>
> This closes #1
>
> 
> commit 251b69ec582fa1c285d93206c9029c8cbe6ab71f
> Author: Daniel Lee (Narvar) <31146118+daniel-lee-narvar@
> users.noreply.github.com>
> Date:   2017-09-26T22:40:20Z
>
> fixed curl example json syntax and options element to work propoerly
>
> 
>
>
> ---
>


Build failed in Jenkins: Atlas-master-IntegrationTests #126

2017-09-27 Thread Apache Jenkins Server
See 


Changes:

[madhan] ATLAS-2179: Split Atlas client library to avoid unnecessary 
dependencies

--
[...truncated 459.20 KB...]

Expected exception org.apache.atlas.AtlasServiceException but got 
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
Caused by: com.sun.jersey.api.client.ClientHandlerException: 
java.net.ConnectException: Connection refused
Caused by: java.net.ConnectException: Connection refused

setUp(org.apache.atlas.web.integration.DataSetLineageJerseyResourceIT)  Time 
elapsed: 0.215 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.web.integration.DataSetLineageJerseyResourceIT.setUp(DataSetLineageJerseyResourceIT.java:56)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.web.integration.DataSetLineageJerseyResourceIT.setUp(DataSetLineageJerseyResourceIT.java:56)

setUp(org.apache.atlas.web.integration.EntityJerseyResourceIT)  Time elapsed: 
0.18 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.web.integration.EntityJerseyResourceIT.setUp(EntityJerseyResourceIT.java:87)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.web.integration.EntityJerseyResourceIT.setUp(EntityJerseyResourceIT.java:87)

testDuplicateSubmit(org.apache.atlas.web.integration.TypesJerseyResourceIT)  
Time elapsed: 0.009 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.web.integration.TypesJerseyResourceIT.testDuplicateSubmit(TypesJerseyResourceIT.java:102)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.web.integration.TypesJerseyResourceIT.testDuplicateSubmit(TypesJerseyResourceIT.java:102)

testGetDefinitionForNonexistentType(org.apache.atlas.web.integration.TypesJerseyResourceIT)
  Time elapsed: 0.002 sec  <<< FAILURE!
org.testng.TestException: 

Expected exception org.apache.atlas.AtlasServiceException but got 
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.web.integration.TypesJerseyResourceIT.testGetDefinitionForNonexistentType(TypesJerseyResourceIT.java:167)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.web.integration.TypesJerseyResourceIT.testGetDefinitionForNonexistentType(TypesJerseyResourceIT.java:167)

testGetTraitNames(org.apache.atlas.web.integration.TypesJerseyResourceIT)  Time 
elapsed: 0.039 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.web.integration.TypesJerseyResourceIT.addTraits(TypesJerseyResourceIT.java:226)
at 
org.apache.atlas.web.integration.TypesJerseyResourceIT.testGetTraitNames(TypesJerseyResourceIT.java:188)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.web.integration.TypesJerseyResourceIT.addTraits(TypesJerseyResourceIT.java:226)
at 
org.apache.atlas.web.integration.TypesJerseyResourceIT.testGetTraitNames(TypesJerseyResourceIT.java:188)

testListTypesByFilter(org.apache.atlas.web.integration.TypesJerseyResourceIT)  
Time elapsed: 0.016 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.web.integration.TypesJerseyResourceIT.testListTypesByFilter(TypesJerseyResourceIT.java:206)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.web.integration.TypesJerseyResourceIT.testListTypesByFilter(TypesJerseyResourceIT.java:206)

testUpdate(org.apache.atlas.web.integration.TypesJerseyResourceIT)  Time 
elapsed: 0.003 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.web.integration.TypesJerseyResourceIT.testUpdate(TypesJerseyResourceIT.java:117)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.web.integration.TypesJerseyResourceIT.testUpdate(TypesJerseyResourceIT.java:117)

testUpdate(org.apache.atlas.web.integration.TypedefsJerseyResourceIT)  Time 
elapsed: 0.009 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.web.integration.TypedefsJerseyResourceIT.testUpdate(TypedefsJerseyResourceIT.java:133)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.web.integration.TypedefsJerseyResourceIT.testUpdate(TypedefsJerseyResourceIT.java:133)


Build failed in Jenkins: Atlas-0.8-IntegrationTests #85

2017-09-27 Thread Apache Jenkins Server
See 


Changes:

[madhan] ATLAS-2179: Split Atlas client library to avoid unnecessary 
dependencies

--
[...truncated 454.58 KB...]
at 
org.apache.atlas.examples.QuickStartIT.runQuickStart(QuickStartIT.java:44)

runQuickStart(org.apache.atlas.examples.QuickStartV2IT)  Time elapsed: 0.663 
sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.examples.QuickStartV2IT.runQuickStart(QuickStartV2IT.java:49)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.examples.QuickStartV2IT.runQuickStart(QuickStartV2IT.java:49)

setUp(org.apache.atlas.notification.NotificationHookConsumerIT)  Time elapsed: 
0.201 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.notification.NotificationHookConsumerIT.setUp(NotificationHookConsumerIT.java:55)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.notification.NotificationHookConsumerIT.setUp(NotificationHookConsumerIT.java:55)

setUp(org.apache.atlas.web.integration.DataSetLineageJerseyResourceIT)  Time 
elapsed: 0.216 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.web.integration.DataSetLineageJerseyResourceIT.setUp(DataSetLineageJerseyResourceIT.java:56)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.web.integration.DataSetLineageJerseyResourceIT.setUp(DataSetLineageJerseyResourceIT.java:56)

setUp(org.apache.atlas.web.integration.EntityJerseyResourceIT)  Time elapsed: 
0.183 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.web.integration.EntityJerseyResourceIT.setUp(EntityJerseyResourceIT.java:87)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.web.integration.EntityJerseyResourceIT.setUp(EntityJerseyResourceIT.java:87)

testDuplicateSubmit(org.apache.atlas.web.integration.TypesJerseyResourceIT)  
Time elapsed: 0.003 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.web.integration.TypesJerseyResourceIT.testDuplicateSubmit(TypesJerseyResourceIT.java:102)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.web.integration.TypesJerseyResourceIT.testDuplicateSubmit(TypesJerseyResourceIT.java:102)

testGetDefinitionForNonexistentType(org.apache.atlas.web.integration.TypesJerseyResourceIT)
  Time elapsed: 0.002 sec  <<< FAILURE!
org.testng.TestException: 

Expected exception org.apache.atlas.AtlasServiceException but got 
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.web.integration.TypesJerseyResourceIT.testGetDefinitionForNonexistentType(TypesJerseyResourceIT.java:167)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.web.integration.TypesJerseyResourceIT.testGetDefinitionForNonexistentType(TypesJerseyResourceIT.java:167)

testGetTraitNames(org.apache.atlas.web.integration.TypesJerseyResourceIT)  Time 
elapsed: 0.043 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.web.integration.TypesJerseyResourceIT.addTraits(TypesJerseyResourceIT.java:226)
at 
org.apache.atlas.web.integration.TypesJerseyResourceIT.testGetTraitNames(TypesJerseyResourceIT.java:188)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.web.integration.TypesJerseyResourceIT.addTraits(TypesJerseyResourceIT.java:226)
at 
org.apache.atlas.web.integration.TypesJerseyResourceIT.testGetTraitNames(TypesJerseyResourceIT.java:188)

testListTypesByFilter(org.apache.atlas.web.integration.TypesJerseyResourceIT)  
Time elapsed: 0.02 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.web.integration.TypesJerseyResourceIT.testListTypesByFilter(TypesJerseyResourceIT.java:206)
Caused by: java.net.ConnectException: Connection refused
at 
org.apache.atlas.web.integration.TypesJerseyResourceIT.testListTypesByFilter(TypesJerseyResourceIT.java:206)

testUpdate(org.apache.atlas.web.integration.TypesJerseyResourceIT)  Time 
elapsed: 0.003 sec  <<< FAILURE!
com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: 
Connection refused
at 
org.apache.atlas.web.integration.TypesJerseyResourceIT.testUpdate(TypesJerseyResourceIT.java:117)
Caused by: java.net.ConnectException: 

[jira] [Commented] (ATLAS-2178) Type Inheritance in conjunction with RelationshipDef fails to set legacy attributes

2017-09-27 Thread David Radley (JIRA)

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

David Radley commented on ATLAS-2178:
-

[~ppadovani]
I think I know what you are doing - but just to be very clear It would be 
helpful if you could supply the json that you use to create the types and the 
instances - we can then use curl or postman to reproduce.  

I am not sure what you mean by "Create the containment relationship between the 
two models.". Models are not exposed as a concept in the type system, they are 
convenient ways to name files that are to be loaded at startup. 
I assume you are looking to create a containment relationship between 2 types. 
There is the legacy way of doing this using constraints - which gives you 
composition. There is the new way of doing this using relationshipDefs 
specifying aggregation or composition. If you submit the json you are using 
(and relevant responses) we can see what you are doing. 

I am curious what your use case for doing this sort of inheritance. Do you need 
to use your hive table specialization and the parent hive table, or are you 
only using your specialization. I wonder if patching the hive table might be 
worth considering.  


> Type Inheritance in conjunction with RelationshipDef fails to set legacy 
> attributes
> ---
>
> Key: ATLAS-2178
> URL: https://issues.apache.org/jira/browse/ATLAS-2178
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 1.0.0
>Reporter: Pierre Padovani
>
> If a type inherits from another that has an old style reference attribute, 
> and a new style RelationshipDef defined, creating the relationship instance 
> fails to set the legacy attributes and in some cases fails to create the 
> relationship itself.
> Steps to reproduce:
> * create a type, say my_table, that inherits from the hive_table
> * Create an instance of the new type my_table
> * Create an instance of a hive_column
> * Create the containment relationship between the two models.
> This behavior causes odd and inconsistent behavior and fully breaks lineage 
> reports for process types that inherit from the built in Process.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (ATLAS-2180) Regression : Hive hook is broken

2017-09-27 Thread Sharmadha Sainath (JIRA)
Sharmadha Sainath created ATLAS-2180:


 Summary: Regression : Hive hook is broken
 Key: ATLAS-2180
 URL: https://issues.apache.org/jira/browse/ATLAS-2180
 Project: Atlas
  Issue Type: Bug
  Components: atlas-intg
Affects Versions: 1.0.0
Reporter: Sharmadha Sainath
Priority: Blocker


Hive table creation succeeded but while invoking Atlas hook , following error 
message seen in hive logs :

{code}
2017-09-27 06:29:26,084 INFO  [Atlas Logger 0]: hook.HiveHook 
(HiveHook.java:collect(244)) - Entered Atlas hook for hook type POST_EXEC_HOOK, 
operation CREATETABLE , user null as hive
2017-09-27 06:29:26,084 INFO  [HiveServer2-Background-Pool: Thread-236]: 
log.PerfLogger (PerfLogger.java:PerfLogBegin(149)) - 
2017-09-27 06:29:26,084 INFO  [HiveServer2-Background-Pool: Thread-236]: 
log.PerfLogger (PerfLogger.java:PerfLogEnd(177)) - 
2017-09-27 06:29:26,085 INFO  [HiveServer2-Background-Pool: Thread-236]: 
log.PerfLogger (PerfLogger.java:PerfLogEnd(177)) - 
2017-09-27 06:29:26,087 ERROR [Atlas Logger 0]: hook.HiveHook 
(HiveHook.java:run(205)) - Atlas hook failed due to error 
java.lang.NoClassDefFoundError: org/apache/atlas/AtlasServiceException
at org.apache.atlas.hive.hook.HiveHook.collect(HiveHook.java:246)
at org.apache.atlas.hive.hook.HiveHook.access$200(HiveHook.java:83)
at org.apache.atlas.hive.hook.HiveHook$2$1.run(HiveHook.java:198)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)
at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1866)
at org.apache.atlas.hive.hook.HiveHook$2.run(HiveHook.java:195)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: 
org.apache.atlas.AtlasServiceException
at java.lang.ClassLoader.findClass(ClassLoader.java:530)
at 
org.apache.atlas.plugin.classloader.AtlasPluginClassLoader$MyClassLoader.findClass(AtlasPluginClassLoader.java:328)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at 
org.apache.atlas.plugin.classloader.AtlasPluginClassLoader.loadClass(AtlasPluginClassLoader.java:136)
... 12 more
{code}





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (ATLAS-2180) Regression : Hive hook is broken

2017-09-27 Thread Sharmadha Sainath (JIRA)

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

Sharmadha Sainath commented on ATLAS-2180:
--

Falcon,Storm hooks are working well. Problem is with hive hook only. (Didn't 
test Sqoop hook as there is an already existing issue with Sqoop component 
itself)

> Regression : Hive hook is broken
> 
>
> Key: ATLAS-2180
> URL: https://issues.apache.org/jira/browse/ATLAS-2180
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-intg
>Affects Versions: 1.0.0
>Reporter: Sharmadha Sainath
>Priority: Blocker
>
> Hive table creation succeeded but while invoking Atlas hook , following error 
> message seen in hive logs :
> {code}
> 2017-09-27 06:29:26,084 INFO  [Atlas Logger 0]: hook.HiveHook 
> (HiveHook.java:collect(244)) - Entered Atlas hook for hook type 
> POST_EXEC_HOOK, operation CREATETABLE , user null as hive
> 2017-09-27 06:29:26,084 INFO  [HiveServer2-Background-Pool: Thread-236]: 
> log.PerfLogger (PerfLogger.java:PerfLogBegin(149)) -  method=releaseLocks from=org.apache.hadoop.hive.ql.Driver>
> 2017-09-27 06:29:26,084 INFO  [HiveServer2-Background-Pool: Thread-236]: 
> log.PerfLogger (PerfLogger.java:PerfLogEnd(177)) -  method=releaseLocks start=1506493766084 end=1506493766084 duration=0 
> from=org.apache.hadoop.hive.ql.Driver>
> 2017-09-27 06:29:26,085 INFO  [HiveServer2-Background-Pool: Thread-236]: 
> log.PerfLogger (PerfLogger.java:PerfLogEnd(177)) -  method=Driver.run start=1506493763780 end=1506493766085 duration=2305 
> from=org.apache.hadoop.hive.ql.Driver>
> 2017-09-27 06:29:26,087 ERROR [Atlas Logger 0]: hook.HiveHook 
> (HiveHook.java:run(205)) - Atlas hook failed due to error 
> java.lang.NoClassDefFoundError: org/apache/atlas/AtlasServiceException
>   at org.apache.atlas.hive.hook.HiveHook.collect(HiveHook.java:246)
>   at org.apache.atlas.hive.hook.HiveHook.access$200(HiveHook.java:83)
>   at org.apache.atlas.hive.hook.HiveHook$2$1.run(HiveHook.java:198)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at javax.security.auth.Subject.doAs(Subject.java:422)
>   at 
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1866)
>   at org.apache.atlas.hive.hook.HiveHook$2.run(HiveHook.java:195)
>   at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>   at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>   at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.ClassNotFoundException: 
> org.apache.atlas.AtlasServiceException
>   at java.lang.ClassLoader.findClass(ClassLoader.java:530)
>   at 
> org.apache.atlas.plugin.classloader.AtlasPluginClassLoader$MyClassLoader.findClass(AtlasPluginClassLoader.java:328)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>   at 
> org.apache.atlas.plugin.classloader.AtlasPluginClassLoader.loadClass(AtlasPluginClassLoader.java:136)
>   ... 12 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Comment Edited] (ATLAS-2180) Regression : Hive hook is broken

2017-09-27 Thread Sharmadha Sainath (JIRA)

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

Sharmadha Sainath edited comment on ATLAS-2180 at 9/27/17 9:51 AM:
---

Falcon,Storm hooks are working well. Problem is with hive hook only. (Didn't 
test Sqoop hook as there is an already existing issue with Sqoop hive 
integration itself)


was (Author: ssainath):
Falcon,Storm hooks are working well. Problem is with hive hook only. (Didn't 
test Sqoop hook as there is an already existing issue with Sqoop component 
itself)

> Regression : Hive hook is broken
> 
>
> Key: ATLAS-2180
> URL: https://issues.apache.org/jira/browse/ATLAS-2180
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-intg
>Affects Versions: 1.0.0
>Reporter: Sharmadha Sainath
>Priority: Blocker
>
> Hive table creation succeeded but while invoking Atlas hook , following error 
> message seen in hive logs :
> {code}
> 2017-09-27 06:29:26,084 INFO  [Atlas Logger 0]: hook.HiveHook 
> (HiveHook.java:collect(244)) - Entered Atlas hook for hook type 
> POST_EXEC_HOOK, operation CREATETABLE , user null as hive
> 2017-09-27 06:29:26,084 INFO  [HiveServer2-Background-Pool: Thread-236]: 
> log.PerfLogger (PerfLogger.java:PerfLogBegin(149)) -  method=releaseLocks from=org.apache.hadoop.hive.ql.Driver>
> 2017-09-27 06:29:26,084 INFO  [HiveServer2-Background-Pool: Thread-236]: 
> log.PerfLogger (PerfLogger.java:PerfLogEnd(177)) -  method=releaseLocks start=1506493766084 end=1506493766084 duration=0 
> from=org.apache.hadoop.hive.ql.Driver>
> 2017-09-27 06:29:26,085 INFO  [HiveServer2-Background-Pool: Thread-236]: 
> log.PerfLogger (PerfLogger.java:PerfLogEnd(177)) -  method=Driver.run start=1506493763780 end=1506493766085 duration=2305 
> from=org.apache.hadoop.hive.ql.Driver>
> 2017-09-27 06:29:26,087 ERROR [Atlas Logger 0]: hook.HiveHook 
> (HiveHook.java:run(205)) - Atlas hook failed due to error 
> java.lang.NoClassDefFoundError: org/apache/atlas/AtlasServiceException
>   at org.apache.atlas.hive.hook.HiveHook.collect(HiveHook.java:246)
>   at org.apache.atlas.hive.hook.HiveHook.access$200(HiveHook.java:83)
>   at org.apache.atlas.hive.hook.HiveHook$2$1.run(HiveHook.java:198)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at javax.security.auth.Subject.doAs(Subject.java:422)
>   at 
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1866)
>   at org.apache.atlas.hive.hook.HiveHook$2.run(HiveHook.java:195)
>   at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>   at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>   at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.ClassNotFoundException: 
> org.apache.atlas.AtlasServiceException
>   at java.lang.ClassLoader.findClass(ClassLoader.java:530)
>   at 
> org.apache.atlas.plugin.classloader.AtlasPluginClassLoader$MyClassLoader.findClass(AtlasPluginClassLoader.java:328)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>   at 
> org.apache.atlas.plugin.classloader.AtlasPluginClassLoader.loadClass(AtlasPluginClassLoader.java:136)
>   ... 12 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (ATLAS-2181) Search API invalid POST and GET descriptions

2017-09-27 Thread David Radley (JIRA)
David Radley created ATLAS-2181:
---

 Summary: Search API invalid POST and GET descriptions
 Key: ATLAS-2181
 URL: https://issues.apache.org/jira/browse/ATLAS-2181
 Project: Atlas
  Issue Type: Bug
Reporter: David Radley


For the V2 search REST API: 
I notice there is a POST for basic search. This does not make sense as it is 
not creating anything. Also the description is incorrect as it says it is an 
attribute search. I can see that POST has been used to be able to pass 
information in parameters, but unless you are creating something POST should 
not be used.
 
The GET for basic search has the incorrect description
"Retrieve data for the specified fulltext query"




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (ATLAS-2178) Type Inheritance in conjunction with RelationshipDef fails to set legacy attributes

2017-09-27 Thread Pierre Padovani (JIRA)

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

Pierre Padovani updated ATLAS-2178:
---
Attachment: entities.json
rel1.json
rel2.json
rel3.json
rel4.json
rel5.json
types.json

types.json is the type system, while entities.json are the new entities 
created. Each of the rel#.json files contains the payload to create a 
relationship. The guids in the relationship#.json files have to be updated to 
match the created entities prior to submission.

Results seen from these files:
SorTable instance does not know about linked column, column doesn't know about 
table.
SorExtraction (Process) only has outputs set, but no inputs.
Many other inconsistencies in how relationships were set including the legacy 
attributes not being set correctly.

> Type Inheritance in conjunction with RelationshipDef fails to set legacy 
> attributes
> ---
>
> Key: ATLAS-2178
> URL: https://issues.apache.org/jira/browse/ATLAS-2178
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 1.0.0
>Reporter: Pierre Padovani
> Attachments: entities.json, rel1.json, rel2.json, rel3.json, 
> rel4.json, rel5.json, types.json
>
>
> If a type inherits from another that has an old style reference attribute, 
> and a new style RelationshipDef defined, creating the relationship instance 
> fails to set the legacy attributes and in some cases fails to create the 
> relationship itself.
> Steps to reproduce:
> * create a type, say my_table, that inherits from the hive_table
> * Create an instance of the new type my_table
> * Create an instance of a hive_column
> * Create the containment relationship between the two models.
> This behavior causes odd and inconsistent behavior and fully breaks lineage 
> reports for process types that inherit from the built in Process.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (ATLAS-2182) UI : Web elements are hidden when zoomed in

2017-09-27 Thread Sharmadha Sainath (JIRA)

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

Sharmadha Sainath updated ATLAS-2182:
-
Description: 
Opened Atlas UI on Chrome . On zooming at 150% , most of the elements on Search 
tab are not visible.
Attached the screenshot. At 200 % , complete left Search pane is not visible.

  was:
Opened Atlas UI on Chrome . On zooming at 150% , few elements on Search tab are 
not visible.
Attached the screenshot. At 200 % , complete left Search pane is not visible.


> UI : Web elements are hidden when zoomed in 
> 
>
> Key: ATLAS-2182
> URL: https://issues.apache.org/jira/browse/ATLAS-2182
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Affects Versions: 1.0.0
>Reporter: Sharmadha Sainath
> Attachments: Atlas_UI_zoomed_at_150%.png
>
>
> Opened Atlas UI on Chrome . On zooming at 150% , most of the elements on 
> Search tab are not visible.
> Attached the screenshot. At 200 % , complete left Search pane is not visible.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


Re: Review Request 62627: ATLAS-2155: Allow null value comparison for NEQ operation with String attributes

2017-09-27 Thread Madhan Neethiraj

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/62627/#review186487
---




repository/src/main/java/org/apache/atlas/util/SearchPredicateUtil.java
Line 1092 (original), 1104 (patched)


Similar updated would be needed for 'NotEquals' predicates on other 
datatypes as well, right? Short, Integer, Long, Boolean, Date, ..


- Madhan Neethiraj


On Sept. 27, 2017, 8:47 p.m., Apoorv Naik wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62627/
> ---
> 
> (Updated Sept. 27, 2017, 8:47 p.m.)
> 
> 
> Review request for atlas, Ashutosh Mestry, Madhan Neethiraj, and Sarath 
> Subramanian.
> 
> 
> Bugs: ATLAS-2155
> https://issues.apache.org/jira/browse/ATLAS-2155
> 
> 
> Repository: atlas
> 
> 
> Description
> ---
> 
> Currently if the Vertex has the attribute value as null, the in-memory filter 
> discards the vertex. This change will allow String NEQ predicate to work with 
> null values
> 
> 
> Diffs
> -
> 
>   repository/src/main/java/org/apache/atlas/util/SearchPredicateUtil.java 
> 18d77ee7 
> 
> 
> Diff: https://reviews.apache.org/r/62627/diff/1/
> 
> 
> Testing
> ---
> 
> REST and curl validation
> mvn clean package was successful as well
> 
> 
> Thanks,
> 
> Apoorv Naik
> 
>



[jira] [Updated] (ATLAS-2182) UI : Web elements are hidden when zoomed in

2017-09-27 Thread Keval Bhatt (JIRA)

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

Keval Bhatt updated ATLAS-2182:
---
Attachment: ATLAS-2182.patch

> UI : Web elements are hidden when zoomed in 
> 
>
> Key: ATLAS-2182
> URL: https://issues.apache.org/jira/browse/ATLAS-2182
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Affects Versions: 1.0.0
>Reporter: Sharmadha Sainath
>Assignee: Keval Bhatt
> Attachments: ATLAS-2182.patch, Atlas_UI_zoomed_at_150%.png
>
>
> Opened Atlas UI on Chrome . On zooming at 150% , most of the elements on 
> Search tab are not visible.
> Attached the screenshot. At 200 % , complete left Search pane is not visible.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Assigned] (ATLAS-2182) UI : Web elements are hidden when zoomed in

2017-09-27 Thread Keval Bhatt (JIRA)

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

Keval Bhatt reassigned ATLAS-2182:
--

Assignee: Keval Bhatt

> UI : Web elements are hidden when zoomed in 
> 
>
> Key: ATLAS-2182
> URL: https://issues.apache.org/jira/browse/ATLAS-2182
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Affects Versions: 1.0.0
>Reporter: Sharmadha Sainath
>Assignee: Keval Bhatt
> Attachments: ATLAS-2182.patch, Atlas_UI_zoomed_at_150%.png
>
>
> Opened Atlas UI on Chrome . On zooming at 150% , most of the elements on 
> Search tab are not visible.
> Attached the screenshot. At 200 % , complete left Search pane is not visible.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)