Nixon Rodrigues created ATLAS-2673:
--------------------------------------

             Summary: DSL query fired on PASSIVE server redirects to ACTIVE 
server with wrong encoding
                 Key: ATLAS-2673
                 URL: https://issues.apache.org/jira/browse/ATLAS-2673
             Project: Atlas
          Issue Type: Bug
          Components: atlas-webui
    Affects Versions: 1.0.0-alpha
            Reporter: Nixon Rodrigues
            Assignee: Nixon Rodrigues
             Fix For: 1.0.0


DSL query :
{code}
/api/atlas/v2/search/dsl?typeName=hive_table&query=name="weather2"
{code}

fired on PASSIVE server redirects to ACTIVE server as
{code}
/api/atlas/v2/search/dsl?limit=25&offset=0&query=name=%2522weather2%2522&typeName=hive_table
{code}

fails with
{code}
{
errorCode: "ATLAS-400-00-059",
errorMessage: "Invalid DSL query: `hive_table` name=%22weather2%22 | Reason: 
DSL Semantic Error - weather2 type not found, DSL Semantic Error - weather2 
type not found, DSL Semantic Error - 22 type not found, DSL Semantic Error - 22 
type not found. Please refer to Atlas DSL grammar for more information"
}
{code}

Attaching the complete exception stack trace from ACTIVE server logs .

Issue not seen with Basic search.





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

Reply via email to