[ 
https://issues.apache.org/jira/browse/HDFS-15338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17104362#comment-17104362
 ] 

Hudson commented on HDFS-15338:
-------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #18233 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/18233/])
HDFS-15338. listOpenFiles() should throw InvalidPathException in case of 
(ayushsaxena: rev 4c53fb9ce102c46c6956b4aecdfd9dd513280b35)
* (edit) 
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DistributedFileSystem.java
* (edit) 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestListOpenFiles.java
* (edit) 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
* (edit) 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INode.java


> 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
>             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.3.4#803005)

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

Reply via email to