Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-3379

Relationship API: Fetch using Relationship GUID Fails with 'Internal Server Error'

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: 2.0.0, trunk
    • Component/s: atlas-core
    • Labels:
      None

      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-ef8838ab03333&relation=__hive_table.db_

      Stack trace: 

      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
      

        Attachments

          Activity

            People

            • Assignee:
              amestry Ashutosh Mestry
              Reporter:
              amestry Ashutosh Mestry
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: