[ https://issues.apache.org/jira/browse/HDFS-15338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ayush Saxena updated HDFS-15338: -------------------------------- Summary: listOpenFiles() should throw InvalidPathException in case of invalid paths (was: listOpenFiles() should throw InvalidPathException to remind the admin.) > 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 > Reporter: Jinglun > Assignee: Jinglun > Priority: Minor > 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.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org