checkMetastore
public void checkMetastore(String dbName,
String tableName,
List<? extends Map<String,String>> partitions,
CheckResult result)
throws HiveException,
IOException
Check the metastore for inconsistencies, data missing in either the
metastore or on the dfs.
- Parameters:
dbName - name of the database, if not specified the default will be used.tableName - Table we want to run the check for. If null we'll check all the
tables in the database.partitions - List of partition name value pairs, if null or empty check all
partitionsresult - Fill this with the results of the check
- Throws:
HiveException - Failed to get required information from the metastore.
IOException - Most likely filesystem related