[
https://issues.apache.org/jira/browse/HDFS-15338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shilun Fan updated HDFS-15338:
------------------------------
Component/s: namanode
Target Version/s: 3.3.1, 3.4.0
Affects Version/s: 3.3.1
3.4.0
> listOpenFiles() should throw InvalidPathException in case of invalid paths
> --------------------------------------------------------------------------
>
> Key: HDFS-15338
> URL: https://issues.apache.org/jira/browse/HDFS-15338
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: namanode
> Affects Versions: 3.3.1, 3.4.0
> Reporter: Jinglun
> Assignee: Jinglun
> Priority: Minor
> Fix For: 3.3.1, 3.4.0
>
> Attachments: HDFS-15338.001.patch, HDFS-15338.002.patch,
> HDFS-15338.003.patch, HDFS-15338.004.patch, HDFS-15338.005.patch
>
>
> We don't verify the validation of param path in listOpenFiles(). The admin
> might accidentally passe a path with schema and find there is no open files
> while there actually are open files under the path.
> I think we can throw an InvalidPathException to remind the caller.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]