Return-Path: X-Original-To: apmail-incubator-drill-user-archive@minotaur.apache.org Delivered-To: apmail-incubator-drill-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D4B1610E58 for ; Thu, 19 Dec 2013 10:17:17 +0000 (UTC) Received: (qmail 43553 invoked by uid 500); 19 Dec 2013 10:17:15 -0000 Delivered-To: apmail-incubator-drill-user-archive@incubator.apache.org Received: (qmail 43297 invoked by uid 500); 19 Dec 2013 10:17:09 -0000 Mailing-List: contact drill-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: drill-user@incubator.apache.org Delivered-To: mailing list drill-user@incubator.apache.org Received: (qmail 43267 invoked by uid 99); 19 Dec 2013 10:17:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Dec 2013 10:17:07 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of yypvsxf19870706@gmail.com designates 209.85.128.43 as permitted sender) Received: from [209.85.128.43] (HELO mail-qe0-f43.google.com) (209.85.128.43) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Dec 2013 10:17:00 +0000 Received: by mail-qe0-f43.google.com with SMTP id jy17so761975qeb.30 for ; Thu, 19 Dec 2013 02:16:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=C/PLZaVVvQssyxUlleE9Rb5ZCE1V8SD7aIY5GBEiCqY=; b=HXyuwOKhD++jkkMpClJBvjV8U3yg1g/B4e3P+qUWdo1O3KD3lTm7j0qPSL2Mfa3eqa vD8k6zEAuKC3Kp+yUr21TlLBt/3Wn/VLnmO/9EP16W0yuMl1+YCx7oFL8KoZKmMK7WwP 9qNDxWsCOlubMoMC7NjSM13N+g5nOC7bRt/WNb15Tk7hF4wJJ4VPXeFM7TjFTwvkg+5E l5NX/iSXXdSIy7U6WYaKy4GgWvfVtQulQdgTdcuD9OitG0CF7vWp6/+srAYd6h4JHd0/ 6+nOWAaV8oDSaNvnDZ02Devp8Snylw8r9b/lx8mFnO8OMp02Q79DSstIaSP6jWv9wi6I cKVg== MIME-Version: 1.0 X-Received: by 10.224.8.72 with SMTP id g8mr957967qag.83.1387448200059; Thu, 19 Dec 2013 02:16:40 -0800 (PST) Received: by 10.229.170.199 with HTTP; Thu, 19 Dec 2013 02:16:39 -0800 (PST) In-Reply-To: References: <95A393FA-8C79-4224-9557-3569E704982A@gmail.com> Date: Thu, 19 Dec 2013 18:16:39 +0800 Message-ID: Subject: Re: complie drill with hadoop2.2.0 From: YouPeng Yang To: "drill-user@incubator.apache.org" Content-Type: multipart/alternative; boundary=001a11c2478e1be31204ede07510 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c2478e1be31204ede07510 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable Hi I take a stupid solution to switch the* default-hadoop* profile and the *cdh *profile, also make changes in the pom.xml files as : exec/java-exec/pom.xml, exec/ref/pom.xml , sqlparser/pom.xml, exec/ref/pom.xml. Finally,the complie succeed.I do found the hadoop-2.x.jar of cdh in the final apache-drill-1.0.0-m1-incubating-binary-release.tar.gz *[drill@hadoop1 target]$ ls apache-drill-1.0.0-m1-incubating/lib/ha* hadoop-annotations-2.0.0-cdh4.4.0.jar hadoop-common-2.0.0-cdh4.4.0.jar hazelcast-2.5.1.jar hadoop-auth-2.0.0-cdh4.4.0.jar hamcrest-core-1.3.jar Is there any better solutions? I do want to complie drill simply with maven profile . [drill@hadoop1 apache-drill-1.0.0-m1-incubating]$mvn clean install -DskipTests -Pcdh * Or I have to make the change as above. * 2013/12/17 Jacques Nadeau > I think there are multiple references to the jar. Some for building and > some for packaging. Check out the pom in the distribution folder. > > > On Tue, Dec 17, 2013 at 6:58 AM, YouPeng Yang >wrote: > > > Hi > > I try to complie the drill with Hadoop 2.2 using the command > > mvn clean install -Dskiptes -Pcdh. > > > > I try to use cdh the maven native profile in the pom.xml. It compli= ed > > successfully,however there are no cdh hadoop jars in bin tar.gz . > > > > Did I miss something? > > > > > > Regards. > > > > > > > > > > > > > > 2013/12/14 Jacques Nadeau > > > > > I can't remember the analog but there are a set that match. If you > want > > to > > > file a jira, we'll try to get to it soon. > > > > > > Thx > > > Jacques > > > On Dec 13, 2013 5:10 PM, "yypvsxf19870706" > > > wrote: > > > > > > > hi > > > > > > > > Sorry,I do not have tried=A3=ACthe hadoop2.2 does not contain t= he > > > > hadoop-core.jar, So I thought it might not go well. > > > > Any way I will try. Thanks. > > > > > > > > =B7=A2=D7=D4=CE=D2=B5=C4 iPhone > > > > > > > > =D4=DA 2013-12-14=A3=AC2:15=A3=ACJason Altekruse =D0=B4=B5=C0=A3=BA > > > > > > > > > Hi YouPeng, > > > > > > > > > > Not sure if I'm misunderstanding what you've already tried, but a= t > > the > > > > top > > > > > of the pom file is the entry for hadoop, did you try just changin= g > > the > > > > > version number and building? > > > > > > > > > > > > > > > org.apache.hadoop > > > > > hadoop-core > > > > > > > > > > 1.2.1 > > > > > > > > > > > > > > > jets3t > > > > > net.java.dev.jets3t > > > > > > > > > > > > > > > log4j > > > > > log4j > > > > > > > > > > Please let us know how the build goes, we have Hadoop 2 and YARN > > > support > > > > on > > > > > our roadmap. > > > > > > > > > > -Jason Altekruse > > > > > > > > > > > > > > > On Fri, Dec 13, 2013 at 2:48 AM, YouPeng Yang < > > > yypvsxf19870706@gmail.com > > > > >wrote: > > > > > > > > > >> Hi Drill users > > > > >> > > > > >> Again. > > > > >> Would anyone give me some tips to comple drill will > hadoop-2.2.0? > > > > >> > > > > >> regards > > > > >> > > > > >> > > > > >> 2013/12/11 YouPeng Yang > > > > >> > > > > >>> Hi drill users > > > > >>> > > > > >>> I have complie the drill src,however default hadoop version > that > > is > > > > >>> included in drill is 1.2.1.My test hadoop cluster is 2.2.0. > > > > >>> I want to complie drill with hadoop2.2.0 ,please tell me how = to > > > > modify > > > > >>> the pom.xml. > > > > >>> I got the hadoop part in the pom.xml as following: > > > > >>> > > > > >>> > > > > >>> > > > > >>> org.apache.hadoop > > > > >>> hadoop-core > > > > >>> 1.2.1 > > > > >>> > > > > >>> > > > > >>> jets3t > > > > >>> net.java.dev.jets3t > > > > >>> > > > > >>> > > > > >>> log4j > > > > >>> log4j > > > > >>> > > > > >>> > > > > >>> > > > > >>> mockito-all > > > > >>> org.mockito > > > > >>> > > > > >>> > > > > >>> commons-logging-api > > > > >>> commons-logging > > > > >>> > > > > >>> > > > > >>> commons-logging > > > > >>> commons-logging > > > > >>> > > > > >>> > > > > >>> jersey-server > > > > >>> com.sun.jersey > > > > >>> > > > > >>> > > > > >>> core > > > > >>> org.eclipse.jdt > > > > >>> > > > > >>> > > > > >>> org.codehaus.jackson > > > > >>> jackson-core-asl > > > > >>> > > > > >>> > > > > >>> org.codehaus.jackson > > > > >>> jackson-mapper-asl > > > > >>> > > > > >>> > > > > >>> org.codehaus.jackson > > > > >>> jackson-xc > > > > >>> > > > > >>> > > > > >>> org.codehaus.jackson > > > > >>> jackson-jaxrs > > > > >>> > > > > >>> > > > > >>> > > > > >>> > > > > >>> > > > > >>> > > > > >>> Regards > > > > >> > > > > > > > > > > --001a11c2478e1be31204ede07510--