oev
Hadoop offline edits viewer.
Details on using the utility can be found at Offline Edits Viewer Guide.
The usage is as follows:
$ hdfs oev [OPTIONS] -i INPUT_FILE -o OUTPUT_FILE
-i,--inputFile arg |
Edits file to process, |
-o,--outputFile arg |
A name for the output file. |
-f,--fix-txids |
Renumbers the transaction IDs in the input, so that there are no gaps or invalid transaction IDs |
-h,--help |
Displays usage information |
-r,--recover |
When reading binary edit logs, uses the recovery mode. |
--p,--processor arg |
Selects the type of processor to apply for an image file, currently supported processors are:
|
-v,--verbose |
Produces a more verbose output, prints the input and output filenames, for processors that write to a file, output their names. |
Example:
$ hdfs oev -p xml -i edits -o edits.xml