[
https://issues.apache.org/jira/browse/HDFS-1016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hairong Kuang updated HDFS-1016:
--------------------------------
Attachment: optimizeCat_HDFS2.patch
In the trunk, DistributedFileSystem#open throws FileNotFoundException but with
a not idea message. My previous patch catches the exception at the client side
and instantiates a new exception with a more readable message. After discussion
with Suresh, here is another patch that does the minimal change to the trunk.
It makes the NameNode side exception with a more meaningful message but no
change at the client side. The disadvantage of the new patch is that the
command line error message contains the exception class name which is
introduced by RPC. This will be addressed in a later jira.
> HDFS side change for HADOOP-6569
> --------------------------------
>
> Key: HDFS-1016
> URL: https://issues.apache.org/jira/browse/HDFS-1016
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: hdfs client
> Reporter: Hairong Kuang
> Assignee: Hairong Kuang
> Fix For: 0.22.0
>
> Attachments: optimizeCat_HDFS.patch, optimizeCat_HDFS1.patch,
> optimizeCat_HDFS2.patch
>
>
> 1. TestCLI configuration file should be modified.
> 2. DistributedFileSystem#open change the exception to be
> FileNotFoundException when the file does not exist.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.