Hadoop V1 java api had HarFileSystem
1 class to archive and access small files in hdfs. I want to use the same feature in current version of hadoop, but cannot find any FileSystem class for the same in the current docs2. How do I do it using java API?
The command line interface has hadoop archive
command to do it. Hadoop CLI is a bash script that uses org.apache.hadoop.tools.HadoopArchives
for the archive command. But there is no info in docs as to how to use this class.
Thanks.
FileSystem harFS = HarFileSystem.get(URI.create("/"), conf);
– Renny