Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save juanpampliega/f7b68c3546d921154ac9eaabf06a8911 to your computer and use it in GitHub Desktop.
Save juanpampliega/f7b68c3546d921154ac9eaabf06a8911 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