drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Ollala (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (DRILL-1160) Need changes to Drill classpath to run Drill on CDH
Date Fri, 10 Oct 2014 17:50:34 GMT

     [ https://issues.apache.org/jira/browse/DRILL-1160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Suresh Ollala reassigned DRILL-1160:
------------------------------------

    Assignee: Patrick Wong  (was: Suresh Ollala)

Patrick, can you please Drill tarball with CDH 5.x profile?

> 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
>             Fix For: 0.7.0
>
>
> 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.3.4#6332)

Mime
View raw message