Hadoop Archive - HarFileSystem / HadoopArchives

Hadoop V1 java api has HarFileSystem 1 class for archiving and accessing small files in hdf. I want to use the same function in the current version of hadoop, but cannot find any FileSystem class for the same in the current docs 2 . How to do it using java API?

For the command line has a command hadoop archive. Hadoop CLI is a bash script that uses a command org.apache.hadoop.tools.HadoopArchivesfor an archive command. But the docs don't have information on how to use this class.

Thank.

+4
source share

All Articles