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 "Stephen Chu (JIRA)" <ji...@apache.org> on 2013/07/11 08:47:48 UTC

[jira] [Created] (HADOOP-9724) Trying to access har files within a har file complains about no index

Stephen Chu created HADOOP-9724:
-----------------------------------

             Summary: Trying to access har files within a har file complains about no index
                 Key: HADOOP-9724
                 URL: https://issues.apache.org/jira/browse/HADOOP-9724
             Project: Hadoop Common
          Issue Type: Bug
    Affects Versions: 2.0.4-alpha, 3.0.0
            Reporter: Stephen Chu
            Priority: Minor


If a har file contains another har file, accessing the inner har file through FsShell will complain about no index file, even if the index file exists.

{code}
[schu@hdfs-vanilla-1 ~]$ hdfs dfs -ls har:///user/schu/foo4.har/testDir1/testDir2/foo3.har
ls: Invalid path for the Har Filesystem. No index file in har:/user/schu/foo4.har/testDir1/testDir2/foo3.har
[schu@hdfs-vanilla-1 ~]$ hdfs dfs -ls /user/schu/testDir1/testDir2/foo3.har
Found 4 items
-rw-r--r--   1 schu supergroup          0 2013-07-10 23:22 /user/schu/testDir1/testDir2/foo3.har/_SUCCESS
-rw-r--r--   5 schu supergroup         91 2013-07-10 23:22 /user/schu/testDir1/testDir2/foo3.har/_index
-rw-r--r--   5 schu supergroup         22 2013-07-10 23:22 /user/schu/testDir1/testDir2/foo3.har/_masterindex
-rw-r--r--   1 schu supergroup          0 2013-07-10 23:22 /user/schu/testDir1/testDir2/foo3.har/part-0
[schu@hdfs-vanilla-1 ~]$ hdfs dfs -ls har:///user/schu/testDir1/testDir2/foo3.har
Found 1 items
drwxr-xr-x   - schu supergroup          0 2013-07-10 23:22 har:///user/schu/testDir1/testDir2/foo3.har/testDir1
[schu@hdfs-vanilla-1 ~]$ 
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira