[GitHub] [atlas] bolkedebruin commented on issue #66: fix - aws_s3_bucket createTime attribute
bolkedebruin commented on issue #66: fix - aws_s3_bucket createTime attribute URL: https://github.com/apache/atlas/pull/66#issuecomment-522804371 Cc @sarathkumarsubramanian This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[jira] [Commented] (ATLAS-3380) Regression: After moving a table to a different database , db attribute in the table entity still points to the old db.
[ https://issues.apache.org/jira/browse/ATLAS-3380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16910824#comment-16910824 ] ASF subversion and git services commented on ATLAS-3380: Commit 10933c579aba485ff117c7556aee9d0408a899f4 in atlas's branch refs/heads/branch-2.0 from Sarath Subramanian [ https://gitbox.apache.org/repos/asf?p=atlas.git;h=10933c5 ] ATLAS-3380: Regression: After moving a table to a different database , db attribute in the table entity still points to the old db (cherry picked from commit b96ce272d42283a3ee67e984d919c21bb65b587d) > Regression: After moving a table to a different database , db attribute in > the table entity still points to the old db. > --- > > Key: ATLAS-3380 > URL: https://issues.apache.org/jira/browse/ATLAS-3380 > Project: Atlas > Issue Type: Bug > Components: atlas-core >Affects Versions: 2.0.0 >Reporter: Sarath Subramanian >Assignee: Sarath Subramanian >Priority: Major > Fix For: 2.1.0 > > > Hive commands: > 1.create database db1; > 2.create table table1(id int); > 3.alter table table1 rename to db1.table2; > > In table2's entity definition , db attribute is still pointing to default db > , expected is db1. Other attributes like qualifiedName , sd's qualifiedName > are pointing to db1 correctly. -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (ATLAS-3380) Regression: After moving a table to a different database , db attribute in the table entity still points to the old db.
[ https://issues.apache.org/jira/browse/ATLAS-3380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16910823#comment-16910823 ] ASF subversion and git services commented on ATLAS-3380: Commit b96ce272d42283a3ee67e984d919c21bb65b587d in atlas's branch refs/heads/master from Sarath Subramanian [ https://gitbox.apache.org/repos/asf?p=atlas.git;h=b96ce27 ] ATLAS-3380: Regression: After moving a table to a different database , db attribute in the table entity still points to the old db > Regression: After moving a table to a different database , db attribute in > the table entity still points to the old db. > --- > > Key: ATLAS-3380 > URL: https://issues.apache.org/jira/browse/ATLAS-3380 > Project: Atlas > Issue Type: Bug > Components: atlas-core >Affects Versions: 2.0.0 >Reporter: Sarath Subramanian >Assignee: Sarath Subramanian >Priority: Major > Fix For: 2.1.0 > > > Hive commands: > 1.create database db1; > 2.create table table1(id int); > 3.alter table table1 rename to db1.table2; > > In table2's entity definition , db attribute is still pointing to default db > , expected is db1. Other attributes like qualifiedName , sd's qualifiedName > are pointing to db1 correctly. -- This message was sent by Atlassian Jira (v8.3.2#803003)
Re: Review Request 71319: ATLAS-3380: Regression: After moving a table to a different database , db attribute in the table entity still points to the old db.
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/71319/ --- (Updated Aug. 19, 2019, 4:14 p.m.) Review request for atlas, Ashutosh Mestry, Aadarsh Jajodia, Sridhar K, Le Ma, Madhan Neethiraj, and Nixon Rodrigues. Bugs: ATLAS-3380 https://issues.apache.org/jira/browse/ATLAS-3380 Repository: atlas Description --- Hive commands: 1.create database db1; 2.create table table1(id int); 3.alter table table1 rename to db1.table2; In table2's entity definition , db attribute is still pointing to default db , expected is db1. Other attributes like qualifiedName , sd's qualifiedName are pointing to db1 correctly. Diffs - addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/events/AlterTableRename.java f496b788d intg/src/main/java/org/apache/atlas/model/instance/AtlasEntity.java 5b24ef14e Diff: https://reviews.apache.org/r/71319/diff/1/ Testing (updated) --- Manually validated the fix works. Precommit succeeded: [INFO] [INFO] Reactor Summary: [INFO] [INFO] Apache Atlas Server Build Tools 1.0 SUCCESS [ 0.545 s] [INFO] apache-atlas 3.0.0-SNAPSHOT SUCCESS [ 11.285 s] [INFO] Apache Atlas Test Utility Tools 3.0.0-SNAPSHOT . SUCCESS [ 10.025 s] [INFO] Apache Atlas Integration 3.0.0-SNAPSHOT SUCCESS [01:23 min] [INFO] Apache Atlas Common 3.0.0-SNAPSHOT . SUCCESS [ 8.129 s] [INFO] Apache Atlas Client 3.0.0-SNAPSHOT . SUCCESS [ 0.334 s] [INFO] atlas-client-common 3.0.0-SNAPSHOT . SUCCESS [ 4.137 s] [INFO] atlas-client-v1 3.0.0-SNAPSHOT . SUCCESS [ 5.918 s] [INFO] Apache Atlas Server API 3.0.0-SNAPSHOT . SUCCESS [ 6.121 s] [INFO] Apache Atlas Notification 3.0.0-SNAPSHOT ... SUCCESS [ 24.046 s] [INFO] atlas-client-v2 3.0.0-SNAPSHOT . SUCCESS [ 4.452 s] [INFO] Apache Atlas Graph Database Projects 3.0.0-SNAPSHOT SUCCESS [ 0.326 s] [INFO] Apache Atlas Graph Database API 3.0.0-SNAPSHOT . SUCCESS [ 3.892 s] [INFO] Graph Database Common Code 3.0.0-SNAPSHOT .. SUCCESS [ 3.205 s] [INFO] Apache Atlas JanusGraph-HBase2 Module 3.0.0-SNAPSHOT SUCCESS [ 5.510 s] [INFO] Apache Atlas JanusGraph DB Impl 3.0.0-SNAPSHOT . SUCCESS [02:19 min] [INFO] Apache Atlas Graph Database Implementation Dependencies 3.0.0-SNAPSHOT SUCCESS [ 1.361 s] [INFO] Apache Atlas Authorization 3.0.0-SNAPSHOT .. SUCCESS [ 7.355 s] [INFO] Apache Atlas Repository 3.0.0-SNAPSHOT . SUCCESS [07:29 min] [INFO] Apache Atlas UI 3.0.0-SNAPSHOT . SUCCESS [01:02 min] [INFO] Apache Atlas Web Application 3.0.0-SNAPSHOT SUCCESS [09:04 min] [INFO] Apache Atlas Documentation 3.0.0-SNAPSHOT .. SUCCESS [ 5.925 s] [INFO] Apache Atlas FileSystem Model 3.0.0-SNAPSHOT ... SUCCESS [ 2.422 s] [INFO] Apache Atlas Plugin Classloader 3.0.0-SNAPSHOT . SUCCESS [ 7.767 s] [INFO] Apache Atlas Hive Bridge Shim 3.0.0-SNAPSHOT ... SUCCESS [ 6.181 s] [INFO] Apache Atlas Hive Bridge 3.0.0-SNAPSHOT SUCCESS [22:07 min] [INFO] Apache Atlas Falcon Bridge Shim 3.0.0-SNAPSHOT . SUCCESS [ 4.384 s] [INFO] Apache Atlas Falcon Bridge 3.0.0-SNAPSHOT .. SUCCESS [02:40 min] [INFO] Apache Atlas Sqoop Bridge Shim 3.0.0-SNAPSHOT .. SUCCESS [ 2.436 s] [INFO] Apache Atlas Sqoop Bridge 3.0.0-SNAPSHOT ... SUCCESS [02:42 min] [INFO] Apache Atlas Storm Bridge Shim 3.0.0-SNAPSHOT .. SUCCESS [ 2.687 s] [INFO] Apache Atlas Storm Bridge 3.0.0-SNAPSHOT ... SUCCESS [02:37 min] [INFO] Apache Atlas Hbase Bridge Shim 3.0.0-SNAPSHOT .. SUCCESS [ 4.331 s] [INFO] Apache Atlas Hbase Bridge 3.0.0-SNAPSHOT ... SUCCESS [03:01 min] [INFO] Apache HBase - Testing Util 3.0.0-SNAPSHOT . SUCCESS [ 16.120 s] [INFO] Apache Atlas Kafka Bridge 3.0.0-SNAPSHOT ... SUCCESS [ 5.580 s] [INFO] Apache Atlas classification updater 3.0.0-SNAPSHOT . SUCCESS [ 3.876 s] [INFO] Apache Atlas Impala Hook API 3.0.0-SNAPSHOT SUCCESS [ 2.484 s] [INFO] Apache Atlas Impala Bridge Shim 3.0.0-SNAPSHOT . SUCCESS [ 2.540 s] [INFO] Apache Atlas Impala Bridge 3.0.0-SNAPSHOT .. SUCCESS [05:39 min] [INFO] Apache Atlas Distribution 3.0.0-SNAPSHOT ... SUCCESS [ 1.781 s] [INFO] [INFO] BUILD SUCCESS [INFO] [INFO] Total time: 01:02 h [INFO] Finished at: 2019-08-19T16:14:22-07:00 [INFO] Thanks, Sarath Subramanian
Re: Review Request 71319: ATLAS-3380: Regression: After moving a table to a different database , db attribute in the table entity still points to the old db.
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/71319/#review217303 --- Ship it! Ship It! - Sridhar K On Aug. 19, 2019, 9:58 p.m., Sarath Subramanian wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/71319/ > --- > > (Updated Aug. 19, 2019, 9:58 p.m.) > > > Review request for atlas, Ashutosh Mestry, Aadarsh Jajodia, Sridhar K, Le Ma, > Madhan Neethiraj, and Nixon Rodrigues. > > > Bugs: ATLAS-3380 > https://issues.apache.org/jira/browse/ATLAS-3380 > > > Repository: atlas > > > Description > --- > > Hive commands: > > 1.create database db1; > > 2.create table table1(id int); > > 3.alter table table1 rename to db1.table2; > > > > In table2's entity definition , db attribute is still pointing to default db > , expected is db1. Other attributes like qualifiedName , sd's qualifiedName > are pointing to db1 correctly. > > > Diffs > - > > > addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/events/AlterTableRename.java > f496b788d > intg/src/main/java/org/apache/atlas/model/instance/AtlasEntity.java > 5b24ef14e > > > Diff: https://reviews.apache.org/r/71319/diff/1/ > > > Testing > --- > > Manually validated the fix works. > > > Thanks, > > Sarath Subramanian > >
Re: Review Request 71319: ATLAS-3380: Regression: After moving a table to a different database , db attribute in the table entity still points to the old db.
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/71319/#review217302 --- Ship it! Ship It! - Ashutosh Mestry On Aug. 19, 2019, 9:58 p.m., Sarath Subramanian wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/71319/ > --- > > (Updated Aug. 19, 2019, 9:58 p.m.) > > > Review request for atlas, Ashutosh Mestry, Aadarsh Jajodia, Sridhar K, Le Ma, > Madhan Neethiraj, and Nixon Rodrigues. > > > Bugs: ATLAS-3380 > https://issues.apache.org/jira/browse/ATLAS-3380 > > > Repository: atlas > > > Description > --- > > Hive commands: > > 1.create database db1; > > 2.create table table1(id int); > > 3.alter table table1 rename to db1.table2; > > > > In table2's entity definition , db attribute is still pointing to default db > , expected is db1. Other attributes like qualifiedName , sd's qualifiedName > are pointing to db1 correctly. > > > Diffs > - > > > addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/events/AlterTableRename.java > f496b788d > intg/src/main/java/org/apache/atlas/model/instance/AtlasEntity.java > 5b24ef14e > > > Diff: https://reviews.apache.org/r/71319/diff/1/ > > > Testing > --- > > Manually validated the fix works. > > > Thanks, > > Sarath Subramanian > >
[jira] [Updated] (ATLAS-3380) Regression: After moving a table to a different database , db attribute in the table entity still points to the old db.
[ https://issues.apache.org/jira/browse/ATLAS-3380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sarath Subramanian updated ATLAS-3380: -- Description: Hive commands: 1.create database db1; 2.create table table1(id int); 3.alter table table1 rename to db1.table2; In table2's entity definition , db attribute is still pointing to default db , expected is db1. Other attributes like qualifiedName , sd's qualifiedName are pointing to db1 correctly. was: Hive commands: 1.create database db1; 2.create table table1(id int); 3.alter table table1 rename to db1.table2; In table2's entity definition , db attribute is still pointing to default db , expected is db1. Other attributes like qualifiedName , sd's qualifiedName are pointing to db1 correctly. Attaching the screenshot. > Regression: After moving a table to a different database , db attribute in > the table entity still points to the old db. > --- > > Key: ATLAS-3380 > URL: https://issues.apache.org/jira/browse/ATLAS-3380 > Project: Atlas > Issue Type: Bug > Components: atlas-core >Affects Versions: 2.0.0 >Reporter: Sarath Subramanian >Assignee: Sarath Subramanian >Priority: Major > Fix For: 2.1.0 > > > Hive commands: > 1.create database db1; > 2.create table table1(id int); > 3.alter table table1 rename to db1.table2; > > In table2's entity definition , db attribute is still pointing to default db > , expected is db1. Other attributes like qualifiedName , sd's qualifiedName > are pointing to db1 correctly. -- This message was sent by Atlassian Jira (v8.3.2#803003)
Review Request 71319: ATLAS-3380: Regression: After moving a table to a different database , db attribute in the table entity still points to the old db.
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/71319/ --- Review request for atlas, Ashutosh Mestry, Aadarsh Jajodia, Sridhar K, Le Ma, Madhan Neethiraj, and Nixon Rodrigues. Bugs: ATLAS-3380 https://issues.apache.org/jira/browse/ATLAS-3380 Repository: atlas Description --- Hive commands: 1.create database db1; 2.create table table1(id int); 3.alter table table1 rename to db1.table2; In table2's entity definition , db attribute is still pointing to default db , expected is db1. Other attributes like qualifiedName , sd's qualifiedName are pointing to db1 correctly. Diffs - addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/events/AlterTableRename.java f496b788d intg/src/main/java/org/apache/atlas/model/instance/AtlasEntity.java 5b24ef14e Diff: https://reviews.apache.org/r/71319/diff/1/ Testing --- Manually validated the fix works. Thanks, Sarath Subramanian
[jira] [Created] (ATLAS-3380) Regression: After moving a table to a different database , db attribute in the table entity still points to the old db.
Sarath Subramanian created ATLAS-3380: - Summary: Regression: After moving a table to a different database , db attribute in the table entity still points to the old db. Key: ATLAS-3380 URL: https://issues.apache.org/jira/browse/ATLAS-3380 Project: Atlas Issue Type: Bug Components: atlas-core Affects Versions: 2.0.0 Reporter: Sarath Subramanian Assignee: Sarath Subramanian Fix For: 2.1.0 Hive commands: 1.create database db1; 2.create table table1(id int); 3.alter table table1 rename to db1.table2; In table2's entity definition , db attribute is still pointing to default db , expected is db1. Other attributes like qualifiedName , sd's qualifiedName are pointing to db1 correctly. Attaching the screenshot. -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Resolved] (ATLAS-3379) Relationship API: Fetch using Relationship GUID Fails with 'Internal Server Error'
[ https://issues.apache.org/jira/browse/ATLAS-3379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashutosh Mestry resolved ATLAS-3379. Resolution: Fixed > Relationship API: Fetch using Relationship GUID Fails with 'Internal Server > Error' > -- > > Key: ATLAS-3379 > URL: https://issues.apache.org/jira/browse/ATLAS-3379 > Project: Atlas > Issue Type: Bug > Components: atlas-core >Affects Versions: trunk >Reporter: Ashutosh Mestry >Assignee: Ashutosh Mestry >Priority: Major > Fix For: trunk, 2.0.0 > > Attachments: > ATLAS-3379-Relationship-API-inadvertently-uses-getQu.patch > > > *Steps to Duplicate* > * Create entities via Hive hook. > * Search for _hive_table_. Navigate to _db_ property. > _Expected result:_ Properties page is displayed correctly. > _Actual result:_ Web UI displays internal error. > _Additional information:_ This CURL command will result in same error. > _http://localhost:21000/api/atlas/v2/search/relationship?guid=c92801dc-c332-48b1-97cc-ef8838ab0=__hive_table.db_ > _Stack trace:_ > {code:java} > 2019-08-19 12:32:12,816 ERROR - [pool-2-thread-4 - > da11e4af-3a37-402a-9bc0-799c7e4cb85f:] ~ Error handling a request: > 76ac0a4e90315659 (ExceptionMapperUtil:32)2019-08-19 12:32:12,816 ERROR - > [pool-2-thread-4 - da11e4af-3a37-402a-9bc0-799c7e4cb85f:] ~ Error handling a > request: 76ac0a4e90315659 > (ExceptionMapperUtil:32)org.apache.atlas.exception.AtlasBaseException: > Internal server error Relationship search query failed at > org.apache.atlas.discovery.EntityDiscoveryService.searchRelatedEntities(EntityDiscoveryService.java:659) > at > org.apache.atlas.discovery.EntityDiscoveryService$$FastClassBySpringCGLIB$$1af2cf1f.invoke() > at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) > at > org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736) > at org.springframework.aop.framework.Reflec > {code} -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (ATLAS-3379) Relationship API: Fetch using Relationship GUID Fails with 'Internal Server Error'
[ https://issues.apache.org/jira/browse/ATLAS-3379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16910747#comment-16910747 ] ASF subversion and git services commented on ATLAS-3379: Commit 469184a822df3d4d01711cf02cb13bc81eb00089 in atlas's branch refs/heads/branch-2.0 from Ashutosh Mestry [ https://gitbox.apache.org/repos/asf?p=atlas.git;h=469184a ] ATLAS-3379: Relationship API inadvertently uses getQualifiedName. > Relationship API: Fetch using Relationship GUID Fails with 'Internal Server > Error' > -- > > Key: ATLAS-3379 > URL: https://issues.apache.org/jira/browse/ATLAS-3379 > Project: Atlas > Issue Type: Bug > Components: atlas-core >Affects Versions: trunk >Reporter: Ashutosh Mestry >Assignee: Ashutosh Mestry >Priority: Major > Fix For: 2.0.0, trunk > > Attachments: > ATLAS-3379-Relationship-API-inadvertently-uses-getQu.patch > > > *Steps to Duplicate* > * Create entities via Hive hook. > * Search for _hive_table_. Navigate to _db_ property. > _Expected result:_ Properties page is displayed correctly. > _Actual result:_ Web UI displays internal error. > _Additional information:_ This CURL command will result in same error. > _http://localhost:21000/api/atlas/v2/search/relationship?guid=c92801dc-c332-48b1-97cc-ef8838ab0=__hive_table.db_ > _Stack trace:_ > {code:java} > 2019-08-19 12:32:12,816 ERROR - [pool-2-thread-4 - > da11e4af-3a37-402a-9bc0-799c7e4cb85f:] ~ Error handling a request: > 76ac0a4e90315659 (ExceptionMapperUtil:32)2019-08-19 12:32:12,816 ERROR - > [pool-2-thread-4 - da11e4af-3a37-402a-9bc0-799c7e4cb85f:] ~ Error handling a > request: 76ac0a4e90315659 > (ExceptionMapperUtil:32)org.apache.atlas.exception.AtlasBaseException: > Internal server error Relationship search query failed at > org.apache.atlas.discovery.EntityDiscoveryService.searchRelatedEntities(EntityDiscoveryService.java:659) > at > org.apache.atlas.discovery.EntityDiscoveryService$$FastClassBySpringCGLIB$$1af2cf1f.invoke() > at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) > at > org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736) > at org.springframework.aop.framework.Reflec > {code} -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (ATLAS-3379) Relationship API: Fetch using Relationship GUID Fails with 'Internal Server Error'
[ https://issues.apache.org/jira/browse/ATLAS-3379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16910727#comment-16910727 ] ASF subversion and git services commented on ATLAS-3379: Commit 8c136a86fc125672e054bc5bcfdd65f8230ae07c in atlas's branch refs/heads/master from Ashutosh Mestry [ https://gitbox.apache.org/repos/asf?p=atlas.git;h=8c136a8 ] ATLAS-3379: Relationship API inadvertently uses getQualifiedName. > Relationship API: Fetch using Relationship GUID Fails with 'Internal Server > Error' > -- > > Key: ATLAS-3379 > URL: https://issues.apache.org/jira/browse/ATLAS-3379 > Project: Atlas > Issue Type: Bug > Components: atlas-core >Affects Versions: trunk >Reporter: Ashutosh Mestry >Assignee: Ashutosh Mestry >Priority: Major > Fix For: 2.0.0, trunk > > Attachments: > ATLAS-3379-Relationship-API-inadvertently-uses-getQu.patch > > > *Steps to Duplicate* > * Create entities via Hive hook. > * Search for _hive_table_. Navigate to _db_ property. > _Expected result:_ Properties page is displayed correctly. > _Actual result:_ Web UI displays internal error. > _Additional information:_ This CURL command will result in same error. > _http://localhost:21000/api/atlas/v2/search/relationship?guid=c92801dc-c332-48b1-97cc-ef8838ab0=__hive_table.db_ > _Stack trace:_ > {code:java} > 2019-08-19 12:32:12,816 ERROR - [pool-2-thread-4 - > da11e4af-3a37-402a-9bc0-799c7e4cb85f:] ~ Error handling a request: > 76ac0a4e90315659 (ExceptionMapperUtil:32)2019-08-19 12:32:12,816 ERROR - > [pool-2-thread-4 - da11e4af-3a37-402a-9bc0-799c7e4cb85f:] ~ Error handling a > request: 76ac0a4e90315659 > (ExceptionMapperUtil:32)org.apache.atlas.exception.AtlasBaseException: > Internal server error Relationship search query failed at > org.apache.atlas.discovery.EntityDiscoveryService.searchRelatedEntities(EntityDiscoveryService.java:659) > at > org.apache.atlas.discovery.EntityDiscoveryService$$FastClassBySpringCGLIB$$1af2cf1f.invoke() > at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) > at > org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736) > at org.springframework.aop.framework.Reflec > {code} -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Updated] (ATLAS-3379) Relationship API: Fetch using Relationship GUID Fails with 'Internal Server Error'
[ https://issues.apache.org/jira/browse/ATLAS-3379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sarath Subramanian updated ATLAS-3379: -- Fix Version/s: 2.0.0 > Relationship API: Fetch using Relationship GUID Fails with 'Internal Server > Error' > -- > > Key: ATLAS-3379 > URL: https://issues.apache.org/jira/browse/ATLAS-3379 > Project: Atlas > Issue Type: Bug > Components: atlas-core >Affects Versions: trunk >Reporter: Ashutosh Mestry >Assignee: Ashutosh Mestry >Priority: Major > Fix For: 2.0.0, trunk > > Attachments: > ATLAS-3379-Relationship-API-inadvertently-uses-getQu.patch > > > *Steps to Duplicate* > * Create entities via Hive hook. > * Search for _hive_table_. Navigate to _db_ property. > _Expected result:_ Properties page is displayed correctly. > _Actual result:_ Web UI displays internal error. > _Additional information:_ This CURL command will result in same error. > _http://localhost:21000/api/atlas/v2/search/relationship?guid=c92801dc-c332-48b1-97cc-ef8838ab0=__hive_table.db_ > _Stack trace:_ > {code:java} > 2019-08-19 12:32:12,816 ERROR - [pool-2-thread-4 - > da11e4af-3a37-402a-9bc0-799c7e4cb85f:] ~ Error handling a request: > 76ac0a4e90315659 (ExceptionMapperUtil:32)2019-08-19 12:32:12,816 ERROR - > [pool-2-thread-4 - da11e4af-3a37-402a-9bc0-799c7e4cb85f:] ~ Error handling a > request: 76ac0a4e90315659 > (ExceptionMapperUtil:32)org.apache.atlas.exception.AtlasBaseException: > Internal server error Relationship search query failed at > org.apache.atlas.discovery.EntityDiscoveryService.searchRelatedEntities(EntityDiscoveryService.java:659) > at > org.apache.atlas.discovery.EntityDiscoveryService$$FastClassBySpringCGLIB$$1af2cf1f.invoke() > at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) > at > org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736) > at org.springframework.aop.framework.Reflec > {code} -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (ATLAS-3379) Relationship API: Fetch using Relationship GUID Fails with 'Internal Server Error'
[ https://issues.apache.org/jira/browse/ATLAS-3379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16910679#comment-16910679 ] Sarath Subramanian commented on ATLAS-3379: --- Thanks for the patch [~ashutoshm]. +1 > Relationship API: Fetch using Relationship GUID Fails with 'Internal Server > Error' > -- > > Key: ATLAS-3379 > URL: https://issues.apache.org/jira/browse/ATLAS-3379 > Project: Atlas > Issue Type: Bug > Components: atlas-core >Affects Versions: trunk >Reporter: Ashutosh Mestry >Assignee: Ashutosh Mestry >Priority: Major > Fix For: trunk > > Attachments: > ATLAS-3379-Relationship-API-inadvertently-uses-getQu.patch > > > *Steps to Duplicate* > * Create entities via Hive hook. > * Search for _hive_table_. Navigate to _db_ property. > _Expected result:_ Properties page is displayed correctly. > _Actual result:_ Web UI displays internal error. > _Additional information:_ This CURL command will result in same error. > _http://localhost:21000/api/atlas/v2/search/relationship?guid=c92801dc-c332-48b1-97cc-ef8838ab0=__hive_table.db_ > _Stack trace:_ > {code:java} > 2019-08-19 12:32:12,816 ERROR - [pool-2-thread-4 - > da11e4af-3a37-402a-9bc0-799c7e4cb85f:] ~ Error handling a request: > 76ac0a4e90315659 (ExceptionMapperUtil:32)2019-08-19 12:32:12,816 ERROR - > [pool-2-thread-4 - da11e4af-3a37-402a-9bc0-799c7e4cb85f:] ~ Error handling a > request: 76ac0a4e90315659 > (ExceptionMapperUtil:32)org.apache.atlas.exception.AtlasBaseException: > Internal server error Relationship search query failed at > org.apache.atlas.discovery.EntityDiscoveryService.searchRelatedEntities(EntityDiscoveryService.java:659) > at > org.apache.atlas.discovery.EntityDiscoveryService$$FastClassBySpringCGLIB$$1af2cf1f.invoke() > at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) > at > org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736) > at org.springframework.aop.framework.Reflec > {code} -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Updated] (ATLAS-3379) Relationship API: Fetch using Relationship GUID Fails with 'Internal Server Error'
[ https://issues.apache.org/jira/browse/ATLAS-3379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashutosh Mestry updated ATLAS-3379: --- Attachment: ATLAS-3379-Relationship-API-inadvertently-uses-getQu.patch > Relationship API: Fetch using Relationship GUID Fails with 'Internal Server > Error' > -- > > Key: ATLAS-3379 > URL: https://issues.apache.org/jira/browse/ATLAS-3379 > Project: Atlas > Issue Type: Bug > Components: atlas-core >Affects Versions: trunk >Reporter: Ashutosh Mestry >Assignee: Ashutosh Mestry >Priority: Major > Fix For: trunk > > Attachments: > ATLAS-3379-Relationship-API-inadvertently-uses-getQu.patch > > > *Steps to Duplicate* > * Create entities via Hive hook. > * Search for _hive_table_. Navigate to _db_ property. > _Expected result:_ Properties page is displayed correctly. > _Actual result:_ Web UI displays internal error. > _Additional information:_ This CURL command will result in same error. > _http://localhost:21000/api/atlas/v2/search/relationship?guid=c92801dc-c332-48b1-97cc-ef8838ab0=__hive_table.db_ > _Stack trace:_ > {code:java} > 2019-08-19 12:32:12,816 ERROR - [pool-2-thread-4 - > da11e4af-3a37-402a-9bc0-799c7e4cb85f:] ~ Error handling a request: > 76ac0a4e90315659 (ExceptionMapperUtil:32)2019-08-19 12:32:12,816 ERROR - > [pool-2-thread-4 - da11e4af-3a37-402a-9bc0-799c7e4cb85f:] ~ Error handling a > request: 76ac0a4e90315659 > (ExceptionMapperUtil:32)org.apache.atlas.exception.AtlasBaseException: > Internal server error Relationship search query failed at > org.apache.atlas.discovery.EntityDiscoveryService.searchRelatedEntities(EntityDiscoveryService.java:659) > at > org.apache.atlas.discovery.EntityDiscoveryService$$FastClassBySpringCGLIB$$1af2cf1f.invoke() > at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) > at > org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736) > at org.springframework.aop.framework.Reflec > {code} -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (ATLAS-3379) Relationship API: Fetch using Relationship GUID Fails with 'Internal Server Error'
[ https://issues.apache.org/jira/browse/ATLAS-3379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16910676#comment-16910676 ] Ashutosh Mestry commented on ATLAS-3379: Analysis: Recent change that uses _Asset.name_ to store name and other attributes within the database has removed the equivalency of _getQualifiedName_ and _getVertexProperty__Name_. Using these calls interchangeably will result in errors like this one. > Relationship API: Fetch using Relationship GUID Fails with 'Internal Server > Error' > -- > > Key: ATLAS-3379 > URL: https://issues.apache.org/jira/browse/ATLAS-3379 > Project: Atlas > Issue Type: Bug > Components: atlas-core >Affects Versions: trunk >Reporter: Ashutosh Mestry >Assignee: Ashutosh Mestry >Priority: Major > Fix For: trunk > > > *Steps to Duplicate* > * Create entities via Hive hook. > * Search for _hive_table_. Navigate to _db_ property. > _Expected result:_ Properties page is displayed correctly. > _Actual result:_ Web UI displays internal error. > _Additional information:_ This CURL command will result in same error. > _http://localhost:21000/api/atlas/v2/search/relationship?guid=c92801dc-c332-48b1-97cc-ef8838ab0=__hive_table.db_ > _Stack trace:_ > {code:java} > 2019-08-19 12:32:12,816 ERROR - [pool-2-thread-4 - > da11e4af-3a37-402a-9bc0-799c7e4cb85f:] ~ Error handling a request: > 76ac0a4e90315659 (ExceptionMapperUtil:32)2019-08-19 12:32:12,816 ERROR - > [pool-2-thread-4 - da11e4af-3a37-402a-9bc0-799c7e4cb85f:] ~ Error handling a > request: 76ac0a4e90315659 > (ExceptionMapperUtil:32)org.apache.atlas.exception.AtlasBaseException: > Internal server error Relationship search query failed at > org.apache.atlas.discovery.EntityDiscoveryService.searchRelatedEntities(EntityDiscoveryService.java:659) > at > org.apache.atlas.discovery.EntityDiscoveryService$$FastClassBySpringCGLIB$$1af2cf1f.invoke() > at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) > at > org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736) > at org.springframework.aop.framework.Reflec > {code} -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Updated] (ATLAS-3379) Relationship API: Fetch using Relationship GUID Fails with 'Internal Server Error'
[ https://issues.apache.org/jira/browse/ATLAS-3379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashutosh Mestry updated ATLAS-3379: --- Description: *Steps to Duplicate* * Create entities via Hive hook. * Search for _hive_table_. Navigate to _db_ property. _Expected result:_ Properties page is displayed correctly. _Actual result:_ Web UI displays internal error. _Additional information:_ This CURL command will result in same error. _http://localhost:21000/api/atlas/v2/search/relationship?guid=c92801dc-c332-48b1-97cc-ef8838ab0=__hive_table.db_ _Stack trace:_ {code:java} 2019-08-19 12:32:12,816 ERROR - [pool-2-thread-4 - da11e4af-3a37-402a-9bc0-799c7e4cb85f:] ~ Error handling a request: 76ac0a4e90315659 (ExceptionMapperUtil:32)2019-08-19 12:32:12,816 ERROR - [pool-2-thread-4 - da11e4af-3a37-402a-9bc0-799c7e4cb85f:] ~ Error handling a request: 76ac0a4e90315659 (ExceptionMapperUtil:32)org.apache.atlas.exception.AtlasBaseException: Internal server error Relationship search query failed at org.apache.atlas.discovery.EntityDiscoveryService.searchRelatedEntities(EntityDiscoveryService.java:659) at org.apache.atlas.discovery.EntityDiscoveryService$$FastClassBySpringCGLIB$$1af2cf1f.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736) at org.springframework.aop.framework.Reflec {code} was: *Steps to Duplicate* * Create entities via Hive hook. * Search for _hive_table_. Navigate to _db_ property. _Expected result:_ Properties page is displayed correctly. _Actual result:_ Web UI displays internal error. _Stack trace:_ {code:java} 2019-08-19 12:32:12,816 ERROR - [pool-2-thread-4 - da11e4af-3a37-402a-9bc0-799c7e4cb85f:] ~ Error handling a request: 76ac0a4e90315659 (ExceptionMapperUtil:32)2019-08-19 12:32:12,816 ERROR - [pool-2-thread-4 - da11e4af-3a37-402a-9bc0-799c7e4cb85f:] ~ Error handling a request: 76ac0a4e90315659 (ExceptionMapperUtil:32)org.apache.atlas.exception.AtlasBaseException: Internal server error Relationship search query failed at org.apache.atlas.discovery.EntityDiscoveryService.searchRelatedEntities(EntityDiscoveryService.java:659) at org.apache.atlas.discovery.EntityDiscoveryService$$FastClassBySpringCGLIB$$1af2cf1f.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736) at org.springframework.aop.framework.Reflec {code} > Relationship API: Fetch using Relationship GUID Fails with 'Internal Server > Error' > -- > > Key: ATLAS-3379 > URL: https://issues.apache.org/jira/browse/ATLAS-3379 > Project: Atlas > Issue Type: Bug > Components: atlas-core >Affects Versions: trunk >Reporter: Ashutosh Mestry >Assignee: Ashutosh Mestry >Priority: Major > Fix For: trunk > > > *Steps to Duplicate* > * Create entities via Hive hook. > * Search for _hive_table_. Navigate to _db_ property. > _Expected result:_ Properties page is displayed correctly. > _Actual result:_ Web UI displays internal error. > _Additional information:_ This CURL command will result in same error. > _http://localhost:21000/api/atlas/v2/search/relationship?guid=c92801dc-c332-48b1-97cc-ef8838ab0=__hive_table.db_ > _Stack trace:_ > {code:java} > 2019-08-19 12:32:12,816 ERROR - [pool-2-thread-4 - > da11e4af-3a37-402a-9bc0-799c7e4cb85f:] ~ Error handling a request: > 76ac0a4e90315659 (ExceptionMapperUtil:32)2019-08-19 12:32:12,816 ERROR - > [pool-2-thread-4 - da11e4af-3a37-402a-9bc0-799c7e4cb85f:] ~ Error handling a > request: 76ac0a4e90315659 > (ExceptionMapperUtil:32)org.apache.atlas.exception.AtlasBaseException: > Internal server error Relationship search query failed at > org.apache.atlas.discovery.EntityDiscoveryService.searchRelatedEntities(EntityDiscoveryService.java:659) > at > org.apache.atlas.discovery.EntityDiscoveryService$$FastClassBySpringCGLIB$$1af2cf1f.invoke() > at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) > at > org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736) > at org.springframework.aop.framework.Reflec > {code} -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Created] (ATLAS-3379) Relationship API: Fetch using Relationship GUID Fails with 'Internal Server Error'
Ashutosh Mestry created ATLAS-3379: -- Summary: Relationship API: Fetch using Relationship GUID Fails with 'Internal Server Error' Key: ATLAS-3379 URL: https://issues.apache.org/jira/browse/ATLAS-3379 Project: Atlas Issue Type: Bug Components: atlas-core Affects Versions: trunk Reporter: Ashutosh Mestry Assignee: Ashutosh Mestry Fix For: trunk *Steps to Duplicate* * Create entities via Hive hook. * Search for _hive_table_. Navigate to _db_ property. _Expected result:_ Properties page is displayed correctly. _Actual result:_ Web UI displays internal error. _Stack trace:_ {code:java} 2019-08-19 12:32:12,816 ERROR - [pool-2-thread-4 - da11e4af-3a37-402a-9bc0-799c7e4cb85f:] ~ Error handling a request: 76ac0a4e90315659 (ExceptionMapperUtil:32)2019-08-19 12:32:12,816 ERROR - [pool-2-thread-4 - da11e4af-3a37-402a-9bc0-799c7e4cb85f:] ~ Error handling a request: 76ac0a4e90315659 (ExceptionMapperUtil:32)org.apache.atlas.exception.AtlasBaseException: Internal server error Relationship search query failed at org.apache.atlas.discovery.EntityDiscoveryService.searchRelatedEntities(EntityDiscoveryService.java:659) at org.apache.atlas.discovery.EntityDiscoveryService$$FastClassBySpringCGLIB$$1af2cf1f.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736) at org.springframework.aop.framework.Reflec {code} -- This message was sent by Atlassian Jira (v8.3.2#803003)