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/10/13 09:00:14 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=14954513#comment-14954513 ] 

nijel commented on HADOOP-11715:
--------------------------------

hi [~brandonli]
Can you have a look on this change ? 

> 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
>            Assignee: nijel
>              Labels: BB2015-05-TBR
>             Fix For: 2.8.0
>
>         Attachments: HADOOP-11715.1.patch, HADOOP-11715.2.patch, HADOOP-11715.3.patch
>
>
>  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)