Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.1.1
-
None
Description
"hdfs dfs -ls -e" throws NPE When EC Policy of Directory set as "-replicate"
Steps :-
- Create a Directory
- Set EC Policy for the Directory as "-replicate"
- Check the folder details with command "hdfs dfs -ls -e <Dir path>"
Null Pointer exception will display < ls: java.lang.NullPointerException >
Actual Result :-
ls: java.lang.NullPointerException
Expected Result :-
Should not throw NullPointerException