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

Qiang Zhang updated RANGER-1391:
--------------------------------
    Description: 
RangerAdmin use solr to store audit data,
then open the WebPage Audit Access of RangerAdmin,
and use only EndDate as Search Filter without StartDate,
there is error occurred with message "Unable to connect to Audit store!!",
please refer screenshot 
[solrEndDateError.png|https://issues.apache.org/jira/secure/attachment/12853228/solrEndDateError.png]
 for more detail,
check ranger_admin.log to find error log:
{noformat}
2017-02-17 06:28:36,113 [http-bio-6080-exec-5] ERROR 
org.apache.ranger.solr.SolrUtil (SolrUtil.java:159) - Error running query. 
query=q=*:*&fq=null:[*+TO+2017-02-17T15:59:59Z]&sort=evtTime+desc&start=0&rows=25,
 response=null
2017-02-17 06:28:36,113 [http-bio-6080-exec-5] INFO  
org.apache.ranger.common.RESTErrorUtil (RESTErrorUtil.java:63) - Request 
failed. loginId=admin, logMessage=Error running query
{noformat}

  was:
RangerAdmin use solr to store audit data,
then open the WebPage Audit Access of RangerAdmin,
and use only EndDate as Search Filter without StartDate,
there is error occurred with message "Unable to connect to Audit store!!",
please refer screenshot [solrEndDateError.png] for more detail,
check ranger_admin.log to find error log:
{noformat}
2017-02-17 06:28:36,113 [http-bio-6080-exec-5] ERROR 
org.apache.ranger.solr.SolrUtil (SolrUtil.java:159) - Error running query. 
query=q=*:*&fq=null:[*+TO+2017-02-17T15:59:59Z]&sort=evtTime+desc&start=0&rows=25,
 response=null
2017-02-17 06:28:36,113 [http-bio-6080-exec-5] INFO  
org.apache.ranger.common.RESTErrorUtil (RESTErrorUtil.java:63) - Request 
failed. loginId=admin, logMessage=Error running query
{noformat}


> Error occurred when use EndDate as Search Filter in Audit Access WebPage
> ------------------------------------------------------------------------
>
>                 Key: RANGER-1391
>                 URL: https://issues.apache.org/jira/browse/RANGER-1391
>             Project: Ranger
>          Issue Type: Bug
>          Components: admin
>            Reporter: Qiang Zhang
>            Assignee: Qiang Zhang
>              Labels: patch
>         Attachments: solrEndDateError.png
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> RangerAdmin use solr to store audit data,
> then open the WebPage Audit Access of RangerAdmin,
> and use only EndDate as Search Filter without StartDate,
> there is error occurred with message "Unable to connect to Audit store!!",
> please refer screenshot 
> [solrEndDateError.png|https://issues.apache.org/jira/secure/attachment/12853228/solrEndDateError.png]
>  for more detail,
> check ranger_admin.log to find error log:
> {noformat}
> 2017-02-17 06:28:36,113 [http-bio-6080-exec-5] ERROR 
> org.apache.ranger.solr.SolrUtil (SolrUtil.java:159) - Error running query. 
> query=q=*:*&fq=null:[*+TO+2017-02-17T15:59:59Z]&sort=evtTime+desc&start=0&rows=25,
>  response=null
> 2017-02-17 06:28:36,113 [http-bio-6080-exec-5] INFO  
> org.apache.ranger.common.RESTErrorUtil (RESTErrorUtil.java:63) - Request 
> failed. loginId=admin, logMessage=Error running query
> {noformat}



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

Reply via email to