You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Ashutosh Mestry (Jira)" <ji...@apache.org> on 2019/08/19 19:22:00 UTC

[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&focusedCommentId=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-ef8838ab03333&relation=__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(<generated>) 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)