Skip to content

Instantly share code, notes, and snippets.

@Blackmist
Created December 6, 2017 13:50
Show Gist options
  • Save Blackmist/dbd4a3f555397a84ac1074ee73484df2 to your computer and use it in GitHub Desktop.
Save Blackmist/dbd4a3f555397a84ac1074ee73484df2 to your computer and use it in GitHub Desktop.
script to copy various jars to the extlib for Storm on HDInsight
#!/bin/bash -x
sudo cp -f /usr/hdp/current/hadoop-client/*.jar /usr/hdp/current/storm-client/extlib
sudo cp -f /usr/hdp/current/hadoop-client/lib/*.jar /usr/hdp/current/storm-client/extlib
sudo cp -f /usr/hdp/current/hadoop-hdfs-client/*.jar /usr/hdp/current/storm-client/extlib
sudo cp -f /usr/hdp/current/hadoop-hdfs-client/lib/*.jar /usr/hdp/current/storm-client/extlib
sudo cp -f /usr/hdp/current/storm-client/contrib/storm-hbase/storm-hbase*.jar /usr/hdp/current/storm-client/extlib
sudo cp -f /usr/hdp/current/phoenix-client/lib/phoenix*.jar /usr/hdp/current/storm-client/extlib
sudo cp -f /usr/hdp/current/hbase-client/lib/hbase*.jar /usr/hdp/current/storm-client/extlib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment