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-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to