Class OfflineImageViewerPB
java.lang.Object
org.apache.hadoop.hdfs.tools.offlineImageViewer.OfflineImageViewerPB
OfflineImageViewerPB to dump the contents of an Hadoop image file to XML or
the console. Main entry point into utility, either via the command line or
programmatically.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
LOG
public static final org.slf4j.Logger LOG
-
-
Constructor Details
-
OfflineImageViewerPB
public OfflineImageViewerPB()
-
-
Method Details
-
main
Entry point to command-line-driven operation. User may specify options and start fsimage viewer from the command line. Program will process image file and exit cleanly or, if an error is encountered, inform user and exit.- Parameters:
args- Command line options- Throws:
IOExceptionException
-
run
- Throws:
Exception
-