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 20:58:00 UTC

[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-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)