Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save je2ryw/b7b21866726ae7a9c9fb0be76b2310c8 to your computer and use it in GitHub Desktop.
Save je2ryw/b7b21866726ae7a9c9fb0be76b2310c8 to your computer and use it in GitHub Desktop.
Install OpenX Hive JSON SerDe in Amazon EMR to use it with Presto
# Do this on every node of the cluster
curl -O http://www.congiu.net/hive-json-serde/1.3.8/hdp23/json-serde-1.3.8-jar-with-dependencies.jar
sudo cp json-serde-1.3.8-jar-with-dependencies.jar /usr/lib/presto/plugin/hive-hadoop2/
sudo chown presto:presto /usr/lib/presto/plugin/hive-hadoop2/json-serde-1.3.8-jar-with-dependencies.jar
#restart presto
sudo restart presto-server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment