[
https://issues.apache.org/jira/browse/HDFS-14252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16759139#comment-16759139
]
Íñigo Goiri commented on HDFS-14252:
------------------------------------
Thanks [~ayushtkn] for the patch!
The code looks good.
A couple comments in the unit test:
* Use {{Collections.singletonMap("ns0", "/tmp/testdir");}}
* Do we need to create the directory in the NN to trigger the exception? If we
do, I would create the folder before adding the mount point.
* Can we extract {{routerContext.getFileSystem()}} to {{routerFS}}?
> RBF : Exceptions are exposing the actual sub cluster path
> ---------------------------------------------------------
>
> Key: HDFS-14252
> URL: https://issues.apache.org/jira/browse/HDFS-14252
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Ayush Saxena
> Assignee: Ayush Saxena
> Priority: Major
> Attachments: HDFS-14252-HDFS-13891-01.patch
>
>
> In case of file not found exception. If only one destination is available.
> Either mounted only one Or mounted multiple but available only one(disabled
> NS or something) during operation. In that scenario the exceptions are not
> processed and is directly thrown. This exposes the actual sub cluster
> destination path instead the path w.r.t. Mount.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]