[ 
https://issues.apache.org/jira/browse/HDFS-16728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17583909#comment-17583909
 ] 

ASF GitHub Bot commented on HDFS-16728:
---------------------------------------

ZanderXu commented on PR #4734:
URL: https://github.com/apache/hadoop/pull/4734#issuecomment-1225010431

   @goiri @Hexiaoqiao I have rebased this patch based on the latest trunk. 
Please help me review and merge it into trunk. Then I will rebase 
[HDFS-16734](https://issues.apache.org/jira/browse/HDFS-16734) on the latest 
trunk.




> RBF throw IndexOutOfBoundsException with disableNameServices
> ------------------------------------------------------------
>
>                 Key: HDFS-16728
>                 URL: https://issues.apache.org/jira/browse/HDFS-16728
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: ZanderXu
>            Assignee: ZanderXu
>            Priority: Major
>              Labels: pull-request-available
>
> 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.
> {code:java}
> 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)
>  {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to