Class ProcedureWALPrettyPrinter
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.hbase.procedure2.store.wal.ProcedureWALPrettyPrinter
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable,org.apache.hadoop.util.Tool
@Deprecated
@LimitedPrivate("Tools")
@Evolving
public class ProcedureWALPrettyPrinter
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
Deprecated.
Since 2.3.0, will be removed in 4.0.0. Keep here only for rolling upgrading, now we
use the new region based procedure store.
ProcedureWALPrettyPrinter prints the contents of a given ProcedureWAL file
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.LoggerDeprecated.private final PrintStreamDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidDeprecated.private voidprintEntry(org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureWALEntry entry) Deprecated.private voidprintHeader(org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureWALHeader header) Deprecated.private voidprintProcedure(Procedure<?> proc) Deprecated.voidprocessFile(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.Path p) Deprecated.Reads a log file and outputs its contents.voidDeprecated.intDeprecated.Pass one or more log file names and formatting options and it will dump out a text version of the contents onstdout.Methods inherited from class org.apache.hadoop.conf.Configured
getConf, setConfMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConf
-
Field Details
-
LOG
Deprecated. -
out
Deprecated.
-
-
Constructor Details
-
ProcedureWALPrettyPrinter
public ProcedureWALPrettyPrinter()Deprecated.
-
-
Method Details
-
processFile
public void processFile(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.Path p) throws IOException Deprecated.Reads a log file and outputs its contents.- Parameters:
conf- HBase configuration relevant to this log filep- path of the log file to be read- Throws:
IOException- IOException
-
processProcedureWALFile
Deprecated.- Throws:
IOException
-
printEntry
private void printEntry(org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureWALEntry entry) throws IOException Deprecated.- Throws:
IOException
-
printProcedure
Deprecated. -
printHeader
private void printHeader(org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureWALHeader header) Deprecated. -
run
Deprecated.Pass one or more log file names and formatting options and it will dump out a text version of the contents onstdout. Command line arguments Thrown upon file system errors etc.- Specified by:
runin interfaceorg.apache.hadoop.util.Tool- Throws:
IOException
-
main
Deprecated.- Throws:
Exception
-