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 for more detail,
but check ranger_admin.log find the following log:
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} }]} }
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".