Validating HFiles
Before migrating to Cloudera Operational Database Public Cloud ensure that your HFiles are compatible with the version Apache HBase in Cloudera.
-
hbase pre-upgrade validate-hfile
-
hbase hbck
The validate-hfile
tool lists all the corrupt HFiles with details.
The hbck
command identifes HFiles that are in a bad state.
If your cluster is Kerberized, ensure that you run the kinit
command
as a hbase
user before running the pre-upgrade commands.
- Download and distribute parcels for the target version of Cloudera.
If the downloaded parcel version is higher than the current Cloudera Manager version, the following error message displayed:
Error for parcel CDH-7.x.parcel : Parcel version 7.X is not supported by this version of Cloudera Manager. Upgrade Cloudera Manager to at least 7.X before using this version of the parcel.
You can safely ignore this error message.
- Find the installed parcel at
/opt/cloudera/parcels
.For example:
/opt/cloudera/parcels/CDH-7.1.1-1.cdh7.1.1.p0.3224867/bin/hbase
Use the Cloudera parcel to run the pre-upgrade commands. Cloudera recommends that you run them on an HMaster host.