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.
This tool will help with that.