You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Shwetha G S (JIRA)" <ji...@apache.org> on 2016/02/02 08:55:39 UTC

[jira] [Updated] (ATLAS-452) Exceptions while running HiveHookIT#testAlterTableRename

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

Shwetha G S updated ATLAS-452:
------------------------------
    Attachment: ATLAS-452-v3.patch

Attaching the patch from reviewboard

> Exceptions while running HiveHookIT#testAlterTableRename
> --------------------------------------------------------
>
>                 Key: ATLAS-452
>                 URL: https://issues.apache.org/jira/browse/ATLAS-452
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Shwetha G S
>            Assignee: Shwetha G S
>             Fix For: trunk
>
>         Attachments: ATLAS-452-v2.patch, ATLAS-452-v3.patch, ATLAS-452.patch
>
>
> {noformat}
> 27.0.0.1 - - [22/Jan/2016:06:08:54 +0000] "OPTIONS /api/atlas/discovery/search?query=hive_table+as+t+where+tableName+%3D+'tablehdj2zjk9bz',+db+where+name+%3D+'default'+and+clusterName+%3D+'test'+select+t&user.name=sshivalingamurthy HTTP/1.1" 200 - "-" "Java/1.7.0_79"
> 2016-01-22 11:38:54.720:WARN:oejs.ServletHandler:qtp127815766-153: /api/atlas/entities
> java.lang.IllegalArgumentException: Input String cannot be null cannot be null
> 	at org.apache.atlas.utils.ParamChecker.notNull(ParamChecker.java:40)
> 	at org.apache.atlas.web.util.Servlets.escapeJsonString(Servlets.java:146)
> 	at org.apache.atlas.web.util.Servlets.getErrorResponse(Servlets.java:125)
> 	at org.apache.atlas.web.util.Servlets.getErrorResponse(Servlets.java:107)
> 	at org.apache.atlas.web.resources.EntityResource.updateEntities(EntityResource.java:177)
> {noformat}
> {noformat}
> 2016-01-22 11:47:08,614 ERROR - [qtp1582368608-323 - ddb67cab-8e11-4434-9cb3-53d95fccc10a:] ~ Unable to persist entity instance (EntityResource:176)
> java.lang.NullPointerException
>         at org.apache.atlas.repository.graph.TypedInstanceToGraphMapper.updateClassEdge(TypedInstanceToGraphMapper.java:567)
>         at org.apache.atlas.repository.graph.TypedInstanceToGraphMapper.addOrUpdateClassVertex(TypedInstanceToGraphMapper.java:513)
>         at org.apache.atlas.repository.graph.TypedInstanceToGraphMapper.addOrUpdateCollectionEntry(TypedInstanceToGraphMapper.java:470)
>         at org.apache.atlas.repository.graph.TypedInstanceToGraphMapper.mapArrayCollectionToVertex(TypedInstanceToGraphMapper.java:370)
>         at org.apache.atlas.repository.graph.TypedInstanceToGraphMapper.mapAttributesToVertex(TypedInstanceToGraphMapper.java:208)
>         at org.apache.atlas.repository.graph.TypedInstanceToGraphMapper.mapInstanceToVertex(TypedInstanceToGraphMapper.java:183)
>         at org.apache.atlas.repository.graph.TypedInstanceToGraphMapper.addOrUpdateAttributesAndTraits(TypedInstanceToGraphMapper.java:163)
>         at org.apache.atlas.repository.graph.TypedInstanceToGraphMapper.addOrUpdateAttributesAndTraits(TypedInstanceToGraphMapper.java:139)
>         at org.apache.atlas.repository.graph.TypedInstanceToGraphMapper.mapTypedInstanceToGraph(TypedInstanceToGraphMapper.java:105)
>         at org.apache.atlas.repository.graph.GraphBackedMetadataRepository.updateEntities(GraphBackedMetadataRepository.java:298)
>         at org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:42)
>         at org.apache.atlas.services.DefaultMetadataService.updateEntities(DefaultMetadataService.java:384)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)