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

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.


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


Repository: ranger


Description
-------

"if args.length=2 " the following code 
"String fileNameToMatch = (args.length == 2 ? null : args[2]);"
will case java.lang.ArrayIndexOutOfBoundsException in HdfsClient.class
Chang from "if (args.length < 2) " to "if (args.length < 3) "


Diffs
-----

  
hdfs-agent/src/main/java/org/apache/ranger/services/hdfs/client/HdfsClient.java 
55f5980 


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


Testing
-------

Tested it


Thanks,

pengjianhua

Reply via email to