Tool to bring Hive in sync with a PartitionedFileSet

Details

Added a tool that allows to bring Hive in sync with the partitions of a (time-)partitioned file set.

Rank:

1|hzzglj:

Description

There are conditions when the Hive state of a PFS gets out of sync. For example, as detailed in CDAP-6062 when a transaction fails after dropping several partitions. Or if updating the properties succeeds but altering the Hive table fails. In that case, there is no easy way to bring Hive up-to-date with the actual partitions.