Validate HFile
Before upgrading to CDP Private Cloud Base, ensure that your HFiles are compatible with the version Apache HBase in CDP.
If your cluster is Kerberized, ensure that you run the
kinit
command as a hbase
user before running
the pre-upgrade commands.
After converting all the PREFIX_TREE encoded HFiles to a supported format, there may
be HFiles that are not compatible with HBase in CDP. Run the
validate-hfile
command again on the cluster that has the HDP
intermediate bits. Also check for bad state of HFiles using the
hbck
command.
-
hbase pre-upgrade validate-hfile
-
hbase hbck
The validate-hfile
tool lists all the corrupt HFiles with details.
The hbck
Use the CDP parcel to run the pre-upgrade commands. Cloudera recommends that you run them on an HMaster host.