You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "nijel (JIRA)" <ji...@apache.org> on 2015/03/16 12:21:38 UTC
[jira] [Commented] (HADOOP-11715) azureFs::getFileStatus doesn't
check the file system scheme and thus could throw a misleading exception.
[ https://issues.apache.org/jira/browse/HADOOP-11715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14363081#comment-14363081 ]
nijel commented on HADOOP-11715:
--------------------------------
i would like to work on this.
Please feel free to reassign if work started
> azureFs::getFileStatus doesn't check the file system scheme and thus could throw a misleading exception.
> ---------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-11715
> URL: https://issues.apache.org/jira/browse/HADOOP-11715
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs
> Affects Versions: 2.7.0
> Reporter: Brandon Li
>
> azureFs::getFileStatus doesn't check the file system scheme and thus could throw a misleading exception.
> For example, it complains filenotfound instead of wrong-fs for an hdfs path:
> Caused by: java.io.FileNotFoundException: hdfs://headnode0:9000/hive/scratch/hadoopqa/a7d34a22-57eb-4678-84b4-43d84027d45f/hive_2015-03-02_23-13-04_713_5722627238053417441-1/hadoopqa/_tez_scratch_dir/_tez_scratch_dir/split_Map_1/job.split: No such file or directory.
> at org.apache.hadoop.fs.azure.NativeAzureFileSystem.getFileStatus(NativeAzureFileSystem.java:1625)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)