For Drill to work successfully on CDH, we need to make changes to the classpath. Otherwise while making changes to the storage plugin to point to hdfs on the UI, it simply hangs.
The required jars to be present on the Drill classpath are:
However inside these 2 folders (hadoop & hadoop-hdfs) there are multiple duplicate soft links to these jars, which i believe is causing some kind of classpath ordering issue.
These 2 commands should help us get the required jars from the folders:
ls -all /opt/cloudera/parcels/CDH-4.7.0-1.cdh4.7.0.p0.40/lib/hadoop/.jar | grep -v '^l' | grep -v 'test' | grep -Eo '([^ ]|
ls -all /opt/cloudera/parcels/CDH-4.7.0-1.cdh4.7.0.p0.40/lib/hadoop-hdfs/.jar | grep -v '^l' | grep -v 'test' | grep -Eo '([^ ]|
Also the location of these jars can change depending on how/where they are installed