Package org.apache.hadoop.hbase.tool
Class PreUpgradeValidator
java.lang.Object
org.apache.hadoop.hbase.tool.PreUpgradeValidator
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable
,org.apache.hadoop.util.Tool
@LimitedPrivate("Tools")
public class PreUpgradeValidator
extends Object
implements org.apache.hadoop.util.Tool
Tool for validating that cluster can be upgraded from HBase 1.x to 2.0
Available validations:
- validate-cp: Validates Co-processors compatibility
- validate-dbe: Check Data Block Encoding for column families
- validate-hfile: Check for corrupted HFiles
-
Field Details
-
LOG
-
TOOL_NAME
- See Also:
-
VALIDATE_CP_NAME
- See Also:
-
VALIDATE_DBE_NAME
- See Also:
-
VALIDATE_HFILE
- See Also:
-
configuration
-
-
Constructor Details
-
PreUpgradeValidator
public PreUpgradeValidator()
-
-
Method Details
-
getConf
- Specified by:
getConf
in interfaceorg.apache.hadoop.conf.Configurable
-
setConf
- Specified by:
setConf
in interfaceorg.apache.hadoop.conf.Configurable
-
printUsage
-
run
- Specified by:
run
in interfaceorg.apache.hadoop.util.Tool
- Throws:
Exception
-
main
-