You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Jinglun (Jira)" <ji...@apache.org> on 2020/05/06 13:33:00 UTC

[jira] [Updated] (HDFS-15338) listOpenFiles() should throw InvalidPathException to remind the admin.

     [ https://issues.apache.org/jira/browse/HDFS-15338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jinglun updated HDFS-15338:
---------------------------
    Attachment: HDFS-15338.001.patch
        Status: Patch Available  (was: Open)

> listOpenFiles() should throw InvalidPathException to remind the admin.
> ----------------------------------------------------------------------
>
>                 Key: HDFS-15338
>                 URL: https://issues.apache.org/jira/browse/HDFS-15338
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Jinglun
>            Assignee: Jinglun
>            Priority: Minor
>         Attachments: HDFS-15338.001.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.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org