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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Deprecated.private void
printEntry
(org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureWALEntry entry) Deprecated.private void
printHeader
(org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureWALHeader header) Deprecated.private void
printProcedure
(Procedure<?> proc) Deprecated.void
processFile
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.Path p) Deprecated.Reads a log file and outputs its contents.void
Deprecated.int
Deprecated.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, setConf
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConf
-
Field Details
-
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:
run
in interfaceorg.apache.hadoop.util.Tool
- Throws:
IOException
-
main
Deprecated.- Throws:
Exception
-