hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6591) HarFileSystem cannot handle paths with the space character
Date Sat, 06 Mar 2010 00:35:27 GMT

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

Tsz Wo (Nicholas), SZE commented on HADOOP-6591:
------------------------------------------------

Tested current implementation:
- Suppose we have a file "k20d3f3/aaaa bbb".  The archive job failed with FileNotFoundException.

- If another file k20d3f3/aaaa exist, then the archive job succeeded but the result .har is
corrupted and "fs -ls" failed.
{noformat}
-bash-3.1$ hadoop fs -ls  har://hdfs-namenode:8020/user/tsz/k20d3f3.2.har/k20d3f3
ls: could not get get listing for 'har://hdfs-namenode:8020/user/tsz/k20d3f3.2.har/k20d3f3'
:
 File: har://hdfs-namenode:8020/user/tsz/k20d3f3.2.har/k20d3f3/bbb does not exist in har://hdfs-namenode:8020/user/tsz/k20d3f3.2.har
{noformat}

- If file k20d3f3/bbb also exist, the archive job successed.  "fs -ls" also succeeded with
duplicated entries.
{noformat}
-bash-3.1$ hadoop fs -ls  har://hdfs-namenode:8020/user/tsz/k20d3f3.3.har/k20d3f3
Found 69 items
-rw-------   5 tsz users          0 2010-03-06 00:29 /user/tsz/k20d3f3.3.har/k20d3f3/aaaa
-rw-------   5 tsz users          0 2010-03-06 00:29 /user/tsz/k20d3f3.3.har/k20d3f3/aaaa
-rw-------   5 tsz users          0 2010-03-06 00:29 /user/tsz/k20d3f3.3.har/k20d3f3/bbb
-rw-------   5 tsz users          0 2010-03-06 00:29 /user/tsz/k20d3f3.3.har/k20d3f3/bbb
...
{noformat}


> HarFileSystem cannot handle paths with the space character
> ----------------------------------------------------------
>
>                 Key: HADOOP-6591
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6591
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Mahadev konar
>
> Since HarFileSystem is using " " as a separator in the index files, it won't work if
there are " " in the path.

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


Mime
View raw message