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

Reply via email to