Download the Pre-Upgrade Tool JAR for Compaction

You must download the software that you run later to detect tables for compaction and to perform that compaction.

  1. SSH into the host running the Hive Metastore.
  2. Change to the /tmp directory.
  3. Download the pre-upgrade tool JAR.
    $ wget http://repo.hortonworks.com/content/repositories/releases/org/apache/hive/hive-pre-upgrade/3.1.0.3.1.0.258-3/hive-pre-upgrade-3.1.0.3.1.0.258-3.jar