You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Madhan Neethiraj (JIRA)" <ji...@apache.org> on 2017/11/27 19:44:00 UTC

[jira] [Assigned] (ATLAS-2274) Search using entity and trait attributes - typename and "*" in classificationName throws Invalid condition exception

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

Madhan Neethiraj reassigned ATLAS-2274:
---------------------------------------

             Assignee: Madhan Neethiraj
    Affects Version/s: 0.8.2
        Fix Version/s: 0.8.2
                       1.0.0

Good catch [~ssainath]!

Patch to fix this issue is available in review board here: https://reviews.apache.org/r/64072/

> Search using entity and trait attributes - typename and "*" in classificationName throws Invalid condition exception
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: ATLAS-2274
>                 URL: https://issues.apache.org/jira/browse/ATLAS-2274
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 1.0.0, 0.8.2
>            Reporter: Sharmadha Sainath
>            Assignee: Madhan Neethiraj
>             Fix For: 1.0.0, 0.8.2
>
>         Attachments: Atlas_asterisk_in_classification_and type_name_exception.txt
>
>
> Following is the POST request body to /api/atlas/v2/search/basic
> {code}
> {
> "excludeDeletedEntities":true,
> "entityFilters":null,
> "tagFilters":null,
> "attributes":[],
> "limit":25,
> "offset":0,
> "typeName":"hive_table",
> "classification":"*"
> }
> {code}
> When any typeName is provided , Atlas throws 500 Internal server exception.Attached the exception stack trace.
> When typeName parameter is removed ,or is given "null" value , response is 200 OK.
> When a tag name is provided instead of "*" , and typeName is given ,no issues are seen.
> Hence , issue with * in classificationName and typeName provided together.
> CC : [~sarath.kum4r@gmail.com]



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