You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Koji Noguchi (JIRA)" <ji...@apache.org> on 2009/08/18 20:58:14 UTC

[jira] Created: (HADOOP-6202) harchive: Har doesn't work on files having '%' character

harchive:   Har doesn't work on files having '%' character
----------------------------------------------------------

                 Key: HADOOP-6202
                 URL: https://issues.apache.org/jira/browse/HADOOP-6202
             Project: Hadoop Common
          Issue Type: Bug
          Components: fs
            Reporter: Koji Noguchi


If I have a harchive file test.har that contain 
/a/b <dir> 
/a/b/abc%cde <file>
/a/b/fgh <file>

{noformat}
$ hadoop dfs -cat test.har/_masterindex
1 
0 2046275926 0 244 
$ hadoop dfs -cat test.har/_index
/ dir none 0 0 user 
/user dir none 0 0 knoguchi 
/user/knoguchi/a/b dir none 0 0 abc%cde fgh 
/user/knoguchi dir none 0 0 a 
/user/knoguchi/a dir none 0 0 b 
/user/knoguchi/a/b/fgh file part-0 8 10 
/user/knoguchi/a/b/abc%cde file part-0 0 8 
$ hadoop dfs -lsr har:///user/knoguchi/test.har/
drw-r--r--   - knoguchi users          0 2009-08-18 18:52 /user/knoguchi/test.har/user
drw-r--r--   - knoguchi users          0 2009-08-18 18:52 /user/knoguchi/test.har/user/knoguchi
drw-r--r--   - knoguchi users          0 2009-08-18 18:52 /user/knoguchi/test.har/user/knoguchi/a
drw-r--r--   - knoguchi users          0 2009-08-18 18:52 /user/knoguchi/test.har/user/knoguchi/a/b
lsr: could not get get listing for 'har:/user/knoguchi/test.har/user/knoguchi/a/b' : File: har://hdfs-mithrilgold-nn1.gold.ygrid.yahoo.com:8020/user/knoguchi/test.har/user/knoguchi/a/b/abc%cde does not exist in har:///user/knoguchi/test.har
$
{noformat}


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


[jira] Resolved: (HADOOP-6202) harchive: Har doesn't work on files having '%' character

Posted by "Koji Noguchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Koji Noguchi resolved HADOOP-6202.
----------------------------------

    Resolution: Duplicate

This is reported in HADOOP-6097.

> harchive:   Har doesn't work on files having '%' character
> ----------------------------------------------------------
>
>                 Key: HADOOP-6202
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6202
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>            Reporter: Koji Noguchi
>
> If I have a harchive file test.har that contain 
> /a/b <dir> 
> /a/b/abc%cde <file>
> /a/b/fgh <file>
> {noformat}
> $ hadoop dfs -cat test.har/_masterindex
> 1 
> 0 2046275926 0 244 
> $ hadoop dfs -cat test.har/_index
> / dir none 0 0 user 
> /user dir none 0 0 knoguchi 
> /user/knoguchi/a/b dir none 0 0 abc%cde fgh 
> /user/knoguchi dir none 0 0 a 
> /user/knoguchi/a dir none 0 0 b 
> /user/knoguchi/a/b/fgh file part-0 8 10 
> /user/knoguchi/a/b/abc%cde file part-0 0 8 
> $ hadoop dfs -lsr har:///user/knoguchi/test.har/
> drw-r--r--   - knoguchi users          0 2009-08-18 18:52 /user/knoguchi/test.har/user
> drw-r--r--   - knoguchi users          0 2009-08-18 18:52 /user/knoguchi/test.har/user/knoguchi
> drw-r--r--   - knoguchi users          0 2009-08-18 18:52 /user/knoguchi/test.har/user/knoguchi/a
> drw-r--r--   - knoguchi users          0 2009-08-18 18:52 /user/knoguchi/test.har/user/knoguchi/a/b
> lsr: could not get get listing for 'har:/user/knoguchi/test.har/user/knoguchi/a/b' : File: har://hdfs-aaa.bbb.ccc.com:8020/user/knoguchi/test.har/user/knoguchi/a/b/abc%cde does not exist in har:///user/knoguchi/test.har
> $
> {noformat}

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