[
https://issues.apache.org/jira/browse/DRILL-1160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14068884#comment-14068884
]
Amit Katti commented on DRILL-1160:
-----------------------------------
Further troubleshooting revealed that we need to add another jar to the
classpath:
/opt/cloudera/parcels/CDH-4.7.0-1.cdh4.7.0.p0.40/lib/hadoop-mapreduce/hadoop-mapreduce-client-core-2.0.0-cdh4.7.0.jar
> Need changes to Drill classpath to run Drill on CDH
> ---------------------------------------------------
>
> Key: DRILL-1160
> URL: https://issues.apache.org/jira/browse/DRILL-1160
> Project: Apache Drill
> Issue Type: Bug
> Components: Tools, Build & Test
> Environment: CDH 4 and CDH 5
> Reporter: Amit Katti
> Assignee: Patrick Wong
>
> 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:
> /opt/cloudera/parcels/CDH-4.7.0-1.cdh4.7.0.p0.40/lib/hadoop/hadoop-annotations-2.0.0-cdh4.7.0.jar
> /opt/cloudera/parcels/CDH-4.7.0-1.cdh4.7.0.p0.40/lib/hadoop/hadoop-auth-2.0.0-cdh4.7.0.jar
> /opt/cloudera/parcels/CDH-4.7.0-1.cdh4.7.0.p0.40/lib/hadoop/hadoop-common-2.0.0-cdh4.7.0.jar
> /opt/cloudera/parcels/CDH-4.7.0-1.cdh4.7.0.p0.40/lib/hadoop-hdfs/hadoop-hdfs-2.0.0-cdh4.7.0.jar
> 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
--
This message was sent by Atlassian JIRA
(v6.2#6252)