You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Gautam Borad <gb...@gmail.com> on 2016/05/31 09:59:24 UTC

Review Request 48061: RANGER-690 : Ranger Admin doesn't show error if Audit Solr is down

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/48061/
-----------------------------------------------------------

Review request for ranger, Don Bosco Durai, Abhay Kulkarni, Madhan Neethiraj, Ramesh Mani, Selvamohan Neethiraj, and Velmurugan Periasamy.


Bugs: RANGER-690
    https://issues.apache.org/jira/browse/RANGER-690


Repository: ranger


Description
-------

If Solr used to store audit records is down or not reachable, then Ranger Admin doesn't give any errors.
We should popup or show some error if there is any error retrieving errors from Solr.


Diffs
-----

  security-admin/src/main/webapp/scripts/controllers/Controller.js b6dee8d 
  security-admin/src/main/webapp/scripts/modules/globalize/message/en.js 070b3ea 
  security-admin/src/main/webapp/scripts/utils/XAUtils.js e2aab57 
  security-admin/src/main/webapp/scripts/views/reports/AuditLayout.js 23e8b54 

Diff: https://reviews.apache.org/r/48061/diff/


Testing
-------

Verified basic scenarios with patch:

1) When solr was stopped: message came :  "Unable to connect to Audit store !!"
2) When solr working properly: no message was shown
3) Even, if Ranger communication breaks from Solr due to wrong or missing configs then also it shows message : "Unable to connect to Audit store !!"


Thanks,

Gautam Borad


Re: Review Request 48061: RANGER-690 : Ranger Admin doesn't show error if Audit Solr is down

Posted by Velmurugan Periasamy <vp...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/48061/#review135895
-----------------------------------------------------------


Ship it!




Ship It!

- Velmurugan Periasamy


On May 31, 2016, 9:59 a.m., Gautam Borad wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/48061/
> -----------------------------------------------------------
> 
> (Updated May 31, 2016, 9:59 a.m.)
> 
> 
> Review request for ranger, Don Bosco Durai, Abhay Kulkarni, Madhan Neethiraj, Ramesh Mani, Selvamohan Neethiraj, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-690
>     https://issues.apache.org/jira/browse/RANGER-690
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> If Solr used to store audit records is down or not reachable, then Ranger Admin doesn't give any errors.
> We should popup or show some error if there is any error retrieving errors from Solr.
> 
> 
> Diffs
> -----
> 
>   security-admin/src/main/webapp/scripts/controllers/Controller.js b6dee8d 
>   security-admin/src/main/webapp/scripts/modules/globalize/message/en.js 070b3ea 
>   security-admin/src/main/webapp/scripts/utils/XAUtils.js e2aab57 
>   security-admin/src/main/webapp/scripts/views/reports/AuditLayout.js 23e8b54 
> 
> Diff: https://reviews.apache.org/r/48061/diff/
> 
> 
> Testing
> -------
> 
> Verified basic scenarios with patch:
> 
> 1) When solr was stopped: message came :  "Unable to connect to Audit store !!"
> 2) When solr working properly: no message was shown
> 3) Even, if Ranger communication breaks from Solr due to wrong or missing configs then also it shows message : "Unable to connect to Audit store !!"
> 
> 
> Thanks,
> 
> Gautam Borad
> 
>