atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ATLAS-3058) Saving of favorite-search fails
Date Wed, 27 Feb 2019 06:13:00 GMT

    [ https://issues.apache.org/jira/browse/ATLAS-3058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16778937#comment-16778937
] 

ASF subversion and git services commented on ATLAS-3058:
--------------------------------------------------------

Commit 5abd615a1c8d8f33ccf8349d14d4894cb38cb96a in atlas's branch refs/heads/branch-1.0 from
Madhan Neethiraj
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=5abd615 ]

ATLAS-3058: fix for failure in saved-search

(cherry picked from commit fe22a652c1a29c6df24bd906f6f62c9a76c2ddc0)


> Saving of favorite-search fails
> -------------------------------
>
>                 Key: ATLAS-3058
>                 URL: https://issues.apache.org/jira/browse/ATLAS-3058
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 1.2.0, 2.0.0
>            Reporter: Ayub Pathan
>            Assignee: Madhan Neethiraj
>            Priority: Major
>             Fix For: 1.2.0, 2.0.0
>
>         Attachments: ATLAS-3058.patch
>
>
> After recent changes in handling of relationship-attributes during entity create/update
(ATLAS-3055), saving of favorite-seacrh fails with the following error:
> {noformat}
> 2019-02-26 22:59:35,462 ERROR - [pool-2-thread-10 - 05ba0035-4b16-417c-94ed-c2a73c53350a:hrt_qa:POST/api/atlas/v2/search/saved]
~ addSavedSearch(AtlasUserSavedSearch{guid=-18693143454067265,...}) (EntityDiscoveryService:827)
> org.apache.atlas.exception.AtlasBaseException: Referenced entity AtlasObjectId{guid='null',
typeName='__AtlasUserProfile', uniqueAttributes={name:testuser1}} is not found
>        at org.apache.atlas.repository.store.graph.v2.UniqAttrBasedEntityResolver.resolveEntityReferences(UniqAttrBasedEntityResolver.java:68)
>        at org.apache.atlas.repository.store.graph.v2.AtlasEntityGraphDiscoveryV2.resolveReferences(AtlasEntityGraphDiscoveryV2.java:181)
>        at org.apache.atlas.repository.store.graph.v2.AtlasEntityGraphDiscoveryV2.discoverEntities(AtlasEntityGraphDiscoveryV2.java:74)
>        at org.apache.atlas.repository.store.graph.v2.AtlasEntityStoreV2.preCreateOrUpdate(AtlasEntityStoreV2.java:848)
>        at org.apache.atlas.repository.store.graph.v2.AtlasEntityStoreV2.createOrUpdate(AtlasEntityStoreV2.java:715)
>        at org.apache.atlas.repository.store.graph.v2.AtlasEntityStoreV2.createOrUpdate(AtlasEntityStoreV2.java:250)
>        at org.apache.atlas.repository.store.graph.v2.AtlasEntityStoreV2$$FastClassBySpringCGLIB$$6861dca9.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.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
>        at org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:80)
>        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
>        at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:671)
>        at org.apache.atlas.repository.store.graph.v2.AtlasEntityStoreV2$$EnhancerBySpringCGLIB$$ad28ea29.createOrUpdate(<generated>)
>        at org.apache.atlas.repository.ogm.DataAccess.saveNoLoad(DataAccess.java:73)
>        at org.apache.atlas.repository.ogm.DataAccess.save(DataAccess.java:56)
>        at org.apache.atlas.repository.userprofile.UserProfileService.addSavedSearch(UserProfileService.java:70)
>        at org.apache.atlas.discovery.EntityDiscoveryService.addSavedSearch(EntityDiscoveryService.java:825)
>        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$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:667)
>        at org.apache.atlas.discovery.EntityDiscoveryService$$EnhancerBySpringCGLIB$$efb3fb4b.addSavedSearch(<generated>)
>        at org.apache.atlas.web.rest.DiscoveryREST.addSavedSearch(DiscoveryREST.java:401)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message