[
https://issues.apache.org/jira/browse/HADOOP-15106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16291290#comment-16291290
]
Íñigo Goiri commented on HADOOP-15106:
--------------------------------------
Can we add a couple examples of:
{code}
/**
* Thrown when the constraints enoded in a {@link PathHandle} do not hold.
*/
{code}
In {{InvalidPathHandleException}}.
> 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
>
>
> 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]