> On May 9, 2017, 9:38 a.m., Colm O hEigeartaigh wrote: > > Is the change to "RangerServiceHdfs" intended? It doesn't appear to be part > > of the NPE issue. > > Qiang Zhang wrote: > This should be environmental problems, I did not reproduce it.
yes, after the test connection was successful audit to hdfs was not working for kms as the folder was not correct. so that is related to audit to hdfs directory. - Ankita ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/59086/#review174283 ----------------------------------------------------------- On May 9, 2017, 9:24 a.m., Ankita Sinha wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/59086/ > ----------------------------------------------------------- > > (Updated May 9, 2017, 9:24 a.m.) > > > 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 > >
