You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Qiang Zhang (JIRA)" <ji...@apache.org> on 2017/03/10 08:20:04 UTC

[jira] [Created] (RANGER-1445) Incorrect error message for searching in Audit page

Qiang Zhang created RANGER-1445:
-----------------------------------

             Summary: Incorrect error message for searching in Audit page 
                 Key: RANGER-1445
                 URL: https://issues.apache.org/jira/browse/RANGER-1445
             Project: Ranger
          Issue Type: Bug
          Components: admin
            Reporter: Qiang Zhang
            Assignee: Qiang Zhang
             Fix For: 1.0.0


In Audit Login-Sessions webpage of Ranger-Admin,
use "Session ID:xiehh" as search filter,
search failed with error message "Unable to connect to Audit store !!",
please refer screenshot [sessionidErrorMessage.jpg|] for more detail,
but check ranger_admin.log find the following log:
{noformat}
2017-03-10 07:29:08,588 [http-bio-6080-exec-9] INFO  org.apache.ranger.common.RESTErrorUtil (RESTErrorUtil.java:302) - 
Validation error:logMessage=xiehh, response=VXResponse={org.apache.ranger.view.VXResponse@3832b97statusCode={1} 
msgDesc={Invalid value for Auth Session Id} messageList={[VXMessage={org.apache.ranger.view.VXMessage@18a2c84ename={INVALID_INPUT_DATA} rbKey={xa.validation.invalid_input_data} message={Invalid input data} objectId={null} fieldName={id} }]} }
{noformat}
which means the error message "Unable to connect to Audit store !!" is not correct,
in fact the real reason for searching failed is "Invalid value for Auth Session Id".



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)