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

Review request for ranger, Don Bosco Durai, Gautam Borad, Abhay Kulkarni, 
Madhan Neethiraj, Pradeep Agrawal, Ramesh Mani, Selvamohan Neethiraj, Sailaja 
Polavarapu, and Velmurugan Periasamy.


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


Repository: ranger


Description
-------

HDFS test connection is failing due to null pointer exception:

```
2017-05-05 15:36:10,025 [timed-executor-pool-0] INFO  
apache.ranger.services.hdfs.client.HdfsClient (HdfsClient.java:204) - ===> 
HdfsClient.testConnection()
2017-05-05 15:36:10,032 [timed-executor-pool-0] ERROR 
org.apache.ranger.biz.ServiceMgr$TimedCallable (ServiceMgr.java:510) - 
TimedCallable.call: Error:java.lang.NullPointerException
2017-05-05 15:36:10,035 [http-bio-6182-exec-4] ERROR 
org.apache.ranger.biz.ServiceMgr (ServiceMgr.java:188) - ==> 
ServiceMgr.validateConfig 
Error:org.apache.ranger.plugin.client.HadoopException: 
java.lang.NullPointerException
```


Diffs
-----

  
agents-common/src/main/java/org/apache/ranger/plugin/client/HadoopConfigHolder.java
 7a0b48a 
  
hdfs-agent/src/main/java/org/apache/ranger/services/hdfs/RangerServiceHdfs.java 
2647bad 


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


Testing
-------

1. Checked Test connection and resource lookup for all the plugins on simple 
cluster
2. Checked Test connection and resource lookup for all the plugins on secure 
cluster
and it's working fine.


Thanks,

Ankita Sinha

Reply via email to