Skip to content

Instantly share code, notes, and snippets.

@actsasflinn
Last active October 9, 2015 15:56
Show Gist options
  • Save actsasflinn/ac66d0e8db51ea614721 to your computer and use it in GitHub Desktop.
Save actsasflinn/ac66d0e8db51ea614721 to your computer and use it in GitHub Desktop.
hadoop fs -mkdir -p /apps/hivemall
hadoop fs -put hivemall-0.3.2-3-with-dependencies.jar /apps/hivemall
curl -L -O https://github.com/myui/hivemall/releases/download/v0.3.2-3/hivemall-0.3.2-3-with-dependencies.jar
curl -L -O https://raw.githubusercontent.com/myui/hivemall/v0.3.2-3/scripts/ddl/define-all-as-permanent.hive
CREATE DATABASE IF NOT EXISTS hivemall0323;
USE hivemall0323;
set hivevar:hivemall_jar=hdfs:///apps/hivemall/hivemall-0.3.2-3-with-dependencies.jar;
source /home/hdfs/define-all-as-permanent.hive;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment