[ 
https://issues.apache.org/jira/browse/HADOOP-6560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12832997#action_12832997
 ] 

Steve Loughran commented on HADOOP-6560:
----------------------------------------

patch looks good but could add a test. I also think the {{i == host.length()?}} 
bit could have braces as I first misread it as {{host.length()?}}, which is of 
course legit C/C++, and left me feeling very confused. 

> HarFileSystem throws NPE for har://hdfs-/foo
> --------------------------------------------
>
>                 Key: HADOOP-6560
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6560
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Mahadev konar
>             Fix For: 0.22.0
>
>         Attachments: c6560_20100211.patch
>
>
> {noformat}
> -bash-3.1$ hadoop distcp -Dmapred.job.queue.name=${JOBQ}  
> har://hdfs-/user/tsz/t10_4.har/t10_4 t10_4_distcp t10_4_distcp
> 10/01/28 23:20:45 INFO tools.DistCp: 
> srcPaths=[har://hdfs-/user/tsz/t10_4.har/t10_4]
> 10/01/28 23:20:45 INFO tools.DistCp: destPath=t10_4_distcp
> With failures, global counters are inaccurate; consider running with -i
> Copy failed: java.lang.NullPointerException
>         at 
> org.apache.hadoop.fs.HarFileSystem.decodeHarURI(HarFileSystem.java:184)
>         at 
> org.apache.hadoop.fs.HarFileSystem.initialize(HarFileSystem.java:95)
>         ...
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to