Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.0.4-alpha, 3.0.0-alpha1
-
None
-
None
-
None
Description
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.
[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 ~]$