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

Qiang Zhang updated RANGER-1445:
--------------------------------
    Description: 
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|https://issues.apache.org/jira/secure/attachment/12857274/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".

  was:
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".


> 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
>              Labels: patch
>             Fix For: 1.0.0
>
>         Attachments: 
> 0001-RANGER-1445-Incorrect-error-message-for-searching-in.patch, 
> sessionidErrorMessage.jpg
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> 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|https://issues.apache.org/jira/secure/attachment/12857274/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)

Reply via email to