Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8096BEB6E for ; Mon, 25 Feb 2013 17:39:32 +0000 (UTC) Received: (qmail 83400 invoked by uid 500); 25 Feb 2013 17:39:31 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 83240 invoked by uid 500); 25 Feb 2013 17:39:31 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 83231 invoked by uid 99); 25 Feb 2013 17:39:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Feb 2013 17:39:31 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jesse.k.yates@gmail.com designates 209.85.220.173 as permitted sender) Received: from [209.85.220.173] (HELO mail-vc0-f173.google.com) (209.85.220.173) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Feb 2013 17:39:26 +0000 Received: by mail-vc0-f173.google.com with SMTP id fy27so1860626vcb.18 for ; Mon, 25 Feb 2013 09:39:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=XGn1DZit+AdE+pZrB8CIIaFbZVsU53vlakED6QZualQ=; b=UslT2X2B22iJnYWiOFYNzPty4/J8PPsDJrB6fhw+A1Wmn+DKZHTwF3uILMXGmNkyXL R+Reop53sZWfEY3SBPIUC++Z13VPQ8sRGGrtOepCVwWRQ6xzH/0CCnF/ZbVIMQEx7Ylr xn4g74bNZcZpJFmyoV3Io9iJQ795yK5h6V2MibRU95cKqqtXIl0EMlSDJdN5UvLlYquE TGguZ4GUnzGoVKQd57imKY5rFAy7FKzvzTJ028n57KqWUei/rI7216oxEhseZNayMG2t 0z8Wu8TaLrpGmr20gl3iUCnzBCO9fkfN3bDyCgB3Vu6zc5CPpbv5ZZSdjJSpMfMLlPVA cJNg== X-Received: by 10.52.178.161 with SMTP id cz1mr8836447vdc.7.1361813946228; Mon, 25 Feb 2013 09:39:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.58.143.114 with HTTP; Mon, 25 Feb 2013 09:38:46 -0800 (PST) In-Reply-To: References: From: Jesse Yates Date: Mon, 25 Feb 2013 09:38:46 -0800 Message-ID: Subject: Re: help with building hbase trunk against hadoop trunk To: dev@hbase.apache.org Content-Type: multipart/alternative; boundary=bcaec519644b83dfa304d690043b X-Virus-Checked: Checked by ClamAV on apache.org --bcaec519644b83dfa304d690043b Content-Type: text/plain; charset=ISO-8859-1 If you want to build against hadoop 3.0 you will probably need to hack the pom to make it so (you could use a similar method as the 2.x stuff). Then you want to install hadoop 3.0 in your local maven repo (some form of 'mvn install'). Then, supposing you do hacked the pom, you would run: mvn -o install -DskipTests -Dhadoop.profile=3.0 The key here being the -o flag to run in offline mode and just use the installed hadoop dependency. You might need to do a regular install first, and then add the 3.0 and -o flags so you have all the build dependencies locally. Does that make sense? -Jesse ------------------- Jesse Yates @jesse_yates jyates.github.com On Mon, Feb 25, 2013 at 9:10 AM, Ted Yu wrote: > I tried the following command with hadoop trunk and it succeeded: > mvn install -DskipTests > > Cheers > > On Mon, Feb 25, 2013 at 9:07 AM, Hari Mankude >wrote: > > > Hi, > > > > How do I build hbase trunk against local version of hadoop trunk? > > > > I see that hadoop 3.0 maven artificat has not been provided and hence I > > cannot use -Dhadoop.profile=3.0 as a build arg. Do I need to build a > local > > maven artificat for hadoop trunk? If so, how is this done? > > > > thanks > > hari > > > --bcaec519644b83dfa304d690043b--