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

(Updated 五月 19, 2017, 7:26 a.m.)


Review request for ranger, Alok Lal, Ankita Sinha, Don Bosco Durai, Colm O 
hEigeartaigh, Gautam Borad, Madhan Neethiraj, Ramesh Mani, Selvamohan 
Neethiraj, Velmurugan Periasamy, and Qiang Zhang.


Summary (updated)
-----------------

Modify code for the error logs in KnoxClient.java


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


Repository: ranger


Description
-------

modify code for the error logs in 
ranger\knox-agent\src\main\java\org\apache\ranger\services\knox\client\KnoxClient.java
chang from LOG.debug("Knox service look up response JSON string: " + 
jsonString); to    LOG.debug("Knox service lookup response JSON string: " + 
jsonString);
Reason :keep the log consistent:
response = webResource.accept(EXPECTED_MIME_TYPE)
.get(ClientResponse.class);
LOG.debug("Knox service lookup response: " + response);
if (response != null) {
if (response.getStatus() == 200) {
String jsonString = response.getEntity(String.class);
LOG.debug("Knox service lookup response JSON string: " + jsonString);


Diffs
-----

  
knox-agent/src/main/java/org/apache/ranger/services/knox/client/KnoxClient.java 
ec08ae8 


Diff: https://reviews.apache.org/r/59388/diff/1/


Testing
-------

tested it


Thanks,

pengjianhua

Reply via email to