#!/bin/sh
tar -xf /dbfs/hopsworks/10.0.0.4/clients.tar.gz -C /tmp
tar -xf /tmp/client/apache-hive-*-bin.tar.gz -C /tmp
mv /tmp/apache-hive-*-bin /hopsworks_metastore_jar
chmod -R +xr /hopsworks_metastore_jar
cp /tmp/client/hsfs*.jar /databricks/jars/
