Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Won't Fix
-
None
-
None
-
None
-
None
Description
This patch adds a public getter for archiveIndex to HarFileSystem, allowing us to access the index file corresponding to a har file system (useful for raid).
Index: src/tools/org/apache/hadoop/fs/HarFileSystem.java
===================================================================
— src/tools/org/apache/hadoop/fs/HarFileSystem.java (revision 1004421)
+++ src/tools/org/apache/hadoop/fs/HarFileSystem.java (working copy)
@@ -759,6 +759,13 @@
}
/**
+ * returns the archive index
+ */
+ public Path getArchiveIndex()
+
+ /**
- return the top level archive path.
*/
public Path getHomeDirectory() {
Attachments
Attachments
Issue Links
- is depended upon by
-
MAPREDUCE-2156 Raid-aware FSCK
- Closed