Description
If you pass a path that doesn't start with '/' to INode.getPathComponents, it throws a NullPointerException. Instead it should throw IllegalArgumentException to make it clear that absolute paths are required in this code.
The attached patch fixes this, clarifies, the javadoc, and adds a test case.
Attachments
Attachments
Issue Links
- is duplicated by
-
HADOOP-6028 NPE server side when getting http://namenode/fileChecksum/*
- Resolved