oiv_legacy
Hadoop Offline Image Viewer for older versions of Hadoop. See oiv_legacy Command for more info.
The usage is as follows:
$ hdfs oiv_legacy [OPTIONS] -i INPUT_FILE -o OUTPUT_FILE
-i,--inputFile input file |
Specifies the input fsimage file to process. Required |
-o,--outputFile output file |
Specifies the output filename, if the specified output processor generates one. If the specified file already exists, it is silently overwritten. Required |
-p|--processor processor |
Specifies the image processor to apply against the image file. Valid options are Ls (default), XML, Delimited, Indented, FileDistribution and NameDistribution |
-maxSize size |
Specifies the range [0, maxSize] of file sizes to be analyzed in bytes ( |
-step size |
Specifies the granularity of the distribution in bytes ( |
-format |
Formats the output result in a human-readable fashion rather than a number of bytes. (false by default). This option is used with FileDistribution processor |
-skipBlocks |
Does not enumerate individual blocks within files. This may save processing time and outfile file space on namespaces with very large files. The Ls processor reads the blocks to correctly determine file sizes and ignores this option |
-printToScreen |
Pipes output of processor to console as well as specified file. On extremely large namespaces, this may increase processing time by an order of magnitude |
-delimiter arg |
When used in conjunction with the Delimited processor, replaces the default tab delimiter with the string specified by arg |
-h|--help |
Displays the tool usage and help information and exit |