Skip to content

Instantly share code, notes, and snippets.

@laughingman7743
Created November 26, 2016 14:39
Show Gist options
  • Save laughingman7743/93bdfa7928bb40def2ae1b986adac371 to your computer and use it in GitHub Desktop.
Save laughingman7743/93bdfa7928bb40def2ae1b986adac371 to your computer and use it in GitHub Desktop.
#!/bin/bash -xe
aws s3 cp s3://YOUR_BUCKET_NAME/path/to/json-serde-1.3.7-jar-with-dependencies.jar /tmp/
aws s3 cp s3://YOUR_BUCKET_NAME/path/to/brickhouse-0.7.1-SNAPSHOT.jar /tmp/
sudo mkdir -p /usr/lib/hive/plugin/
sudo cp /tmp/json-serde-1.3.7-jar-with-dependencies.jar /usr/lib/hive/plugin/
sudo cp /tmp/brickhouse-0.7.1-SNAPSHOT.jar /usr/lib/hive/plugin/
#!/bin/bash -xe
aws s3 cp s3://YOUR_BUCKET_NAME/path/to/json-serde-1.3.7-jar-with-dependencies.jar /tmp/
sudo mkdir -p /usr/lib/presto/plugin/hive-hadoop2/
sudo cp /tmp/json-serde-1.3.7-jar-with-dependencies.jar /usr/lib/presto/plugin/hive-hadoop2/
[{
"classification": "hive-env",
"properties": {},
"configurations": [{
"classification": "export",
"properties": {
"HIVE_AUX_JARS_PATH": "/usr/lib/hive/plugin/json-serde-1.3.7-jar-with-dependencies.jar,/usr/lib/hive/plugin/brickhouse-0.7.1-SNAPSHOT.jar"
},
"configurations": []
}]
}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment