Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.4.0
-
Reviewed
Description
RBF will throw an IndexOutOfBoundsException when the namespace is disabled.
Suppose we have a mount point /a/b -> ns0 -> /a/b and we disabled the ns0.
RBF will throw IndexOutOfBoundsException during handling requests with path starting with /a/b.
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:657) at java.util.ArrayList.get(ArrayList.java:433) at org.apache.hadoop.hdfs.server.federation.router.RouterClientProtocol.mkdirs(RouterClientProtocol.java:756) at org.apache.hadoop.hdfs.server.federation.router.RouterRpcServer.mkdirs(RouterRpcServer.java:980)
Attachments
Issue Links
- links to