atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ayub Pathan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ATLAS-2164) Unable to execute the saved search query using its GUID
Date Fri, 22 Sep 2017 10:07:00 GMT

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

Ayub Pathan commented on ATLAS-2164:
------------------------------------

[~ssainath] I dont see any reference to below API
{noformat}
http://localhost:21000/api/atlas/v2/search/saved/execute/<GUID>
{noformat}

Can you please check?

> Unable to execute the saved search query using its GUID
> -------------------------------------------------------
>
>                 Key: ATLAS-2164
>                 URL: https://issues.apache.org/jira/browse/ATLAS-2164
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 0.9.1
>            Reporter: Sharmadha Sainath
>            Priority: Critical
>
> 1.Created and saved 2 searches - one basic , one Advanced.
> Following is the response of  /api/atlas/v2/search/saved :
> {code}
> [  
>    {  
>       "guid":"153e89bb-eabb-4cc6-9cda-07c7ed084bac",
>       "ownerName":"admin",
>       "name":"basic_search1",
>       "searchType":"BASIC",
>       "searchParameters":{  
>          "query":"default",
>          "typeName":"Asset",
>          "classification":"tag3",
>          "excludeDeletedEntities":true,
>          "limit":0,
>          "offset":0
>       }
>    },
>    {  
>       "guid":"19be50af-bba1-424f-80e1-c49681b2bdeb",
>       "ownerName":"admin",
>       "name":"dsl_search_1",
>       "searchType":"ADVANCED",
>       "searchParameters":{  
>          "query":"where name=\"h1\"",
>          "typeName":"hdfs_path",
>          "excludeDeletedEntities":true,
>          "limit":0,
>          "offset":0
>       }
>    }
> ]
> {code}
> 2.Fired the following to execute basic saved query using its GUID:
> {code}
> http://localhost:21000/api/atlas/v2/search/saved/execute/153e89bb-eabb-4cc6-9cda-07c7ed084bac
> {code}
> Response :
> {code}
> {
> errorCode: "ATLAS-404-00-009",
> errorMessage: "Instance __AtlasUserSavedSearch with unique attribute {uniqueName=admin:153e89bb-eabb-4cc6-9cda-07c7ed084bac:BASIC}
does not exist"
> }
> {code}
> Note : Logged in as admin while executing the "execute" query.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message