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:30:00 UTC

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

Jinglun created HDFS-15338:
------------------------------

             Summary: 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


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