[
https://issues.apache.org/jira/browse/HADOOP-15106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16291379#comment-16291379
]
Virajith Jalaparti commented on HADOOP-15106:
---------------------------------------------
Minor comment -- How about moving {{InvalidPathHandleException}} above
{{IOException}} in the javadoc to be consistent with others like
{{getFileStatus}} (e.g., {{FileNotFoundException}} goes above
{{IOException}}).? Other than that, lgtm.
> FileSystem::open(PathHandle) should throw a specific exception on validation
> failure
> ------------------------------------------------------------------------------------
>
> Key: HADOOP-15106
> URL: https://issues.apache.org/jira/browse/HADOOP-15106
> Project: Hadoop Common
> Issue Type: Improvement
> Reporter: Chris Douglas
> Priority: Minor
> Attachments: HADOOP-15106.00.patch, HADOOP-15106.01.patch,
> HADOOP-15106.02.patch, HADOOP-15106.03.patch
>
>
> Callers of {{FileSystem::open(PathHandle)}} cannot distinguish between I/O
> errors and an invalid handle. The signature should include a specific,
> checked exception for this case.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]