Created
June 6, 2017 16:58
-
-
Save bepcyc/8521e965ec7bbeac55ea9b6f9ef593e6 to your computer and use it in GitHub Desktop.
Workaround for Spark 2.1.0 to work with HBase tables mapped to Hive
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this works on Cloudera CDH, but you can easily run it on any path | |
HBASE_JARS=$(ls -1 /opt/cloudera/parcels/CDH/jars/*hbase*.jar|grep -v test|tr '\n' ',') | |
spark2-shell ${HBASE_JARS}/opt/cloudera/parcels/CDH/jars/htrace-core-3.2.0-incubating.jar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment