Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2ACF817AB2 for ; Fri, 10 Oct 2014 01:48:59 +0000 (UTC) Received: (qmail 84759 invoked by uid 500); 10 Oct 2014 01:48:59 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 84731 invoked by uid 500); 10 Oct 2014 01:48:58 -0000 Mailing-List: contact issues-help@drill.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.incubator.apache.org Delivered-To: mailing list issues@drill.incubator.apache.org Received: (qmail 84722 invoked by uid 99); 10 Oct 2014 01:48:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Oct 2014 01:48:58 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 10 Oct 2014 01:48:36 +0000 Received: (qmail 81876 invoked by uid 99); 10 Oct 2014 01:48:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Oct 2014 01:48:34 +0000 Date: Fri, 10 Oct 2014 01:48:34 +0000 (UTC) From: "Jacques Nadeau (JIRA)" To: issues@drill.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-1160) Need changes to Drill classpath to run Drill on CDH MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DRILL-1160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Nadeau updated DRILL-1160: ---------------------------------- Assignee: Suresh Ollala (was: Patrick Wong) > 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: Suresh Ollala > 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)