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 3406911664 for ; Thu, 14 Aug 2014 17:59:46 +0000 (UTC) Received: (qmail 24788 invoked by uid 500); 14 Aug 2014 17:59:45 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 24693 invoked by uid 500); 14 Aug 2014 17:59:45 -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 24670 invoked by uid 99); 14 Aug 2014 17:59:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Aug 2014 17:59:45 +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 (nike.apache.org: domain of andrew.purtell@gmail.com designates 209.85.218.52 as permitted sender) Received: from [209.85.218.52] (HELO mail-oi0-f52.google.com) (209.85.218.52) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Aug 2014 17:59:18 +0000 Received: by mail-oi0-f52.google.com with SMTP id h136so967205oig.25 for ; Thu, 14 Aug 2014 10:59:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=KI0ym/qkmtDDTWGWzSd9JUG8hcfSwIzTi+cP5NktjeA=; b=GLKdJ0BxRBvjd/p9G6EsT13p5OFfyOXYL+ykps04gR5byKFZI3TGsL419zM3j1Gmms Fc/pZ1iFokry/gXPALQ41nr4QmpUKxs2xHeMRVlCqsGH3hZOENG0RKY2fMh8VmvQGgY9 0d4sb7/WuMTM9acF7v3fs/fhfjG47h9XCg4b2uN+faTwysRnRDmeDm36DvCLL2lsto3l c87Afjslo0gwvvbnUBmNhKJX60iKfg9up+vrcrQEkX62qWTK7OgO57KbS36lzhiwmA13 BojOhXtQxnY+8YNPisITsJ8aCHQzMe8MoRlFfNpHApUyVz6OtBAGJvlbXGWDdYVidSH3 Sslg== X-Received: by 10.182.181.3 with SMTP id ds3mr14621557obc.11.1408039157428; Thu, 14 Aug 2014 10:59:17 -0700 (PDT) MIME-Version: 1.0 Sender: andrew.purtell@gmail.com Received: by 10.202.189.130 with HTTP; Thu, 14 Aug 2014 10:58:37 -0700 (PDT) In-Reply-To: References: From: Andrew Purtell Date: Thu, 14 Aug 2014 10:58:37 -0700 X-Google-Sender-Auth: sLMlnRagBPuZ9ZFUZJwsdXHx4R4 Message-ID: Subject: Re: 0.98-trunk build (pom) issue To: "dev@hbase.apache.org" Content-Type: multipart/alternative; boundary=089e01182856cef83c05009aa999 X-Virus-Checked: Checked by ClamAV on apache.org --089e01182856cef83c05009aa999 Content-Type: text/plain; charset=UTF-8 Oh. Sorry. Just remembered... to select the default profile you don't specify hadoop.profile. -Phadoop.profile=2.0 will cause issues, yes, don't specify hadoop.profile unless != 2.0. And IIRC specifying a specific Hadoop 2 version requires: -Dhadoop.version=2.x.x -Dhadoop-two.version=2.x.x On Thu, Aug 14, 2014 at 10:51 AM, Vladimir Rodionov wrote: > -Phadoop.version=2.2 worked fine to me. I was able to build package and > create eclipse workspace. I just checked dependencies and all hadoop libs > are 2.2? > > -Vladimir Rodionov > > > On Thu, Aug 14, 2014 at 10:37 AM, Andrew Purtell > wrote: > > > There is no hadoop.profile named "2.2". Use "2.0" > > > > > > On Thu, Aug 14, 2014 at 10:34 AM, Vladimir Rodionov < > > vladrodionov@gmail.com> > > wrote: > > > > > Actually, -Phadoop.profile=2.2. > > > > > > -Vladimir Rodionov > > > > > > > > > On Thu, Aug 14, 2014 at 10:28 AM, Jean-Marc Spaggiari < > > > jean-marc@spaggiari.org> wrote: > > > > > > > You should try mvn clean package -DskipTests -Dhadoop.profile=2.0 > > > > > > > > JM > > > > > > > > > > > > 2014-08-14 13:27 GMT-04:00 Vladimir Rodionov >: > > > > > > > > > I just synced my local 0.98-trunk and tried to build it: > > > > > > > > > > mvn clean package -DskipTests -Dhadoop.profile=2.2 > > > > > > > > > > > > > > > [INFO] Scanning for projects... > > > > > [ERROR] The build could not read 1 project -> [Help 1] > > > > > [ERROR] > > > > > [ERROR] The project org.apache.hbase:hbase:0.98.6-SNAPSHOT > > > > > > > > > > > > > > > > > > > > (/Users/vrodionov/Development/hbase/vanila/hbase-0.98-trunk-patch-new/pom.xml) > > > > > has 2 errors > > > > > [ERROR] > 'dependencyManagement.dependencies.dependency.artifactId' > > > for > > > > > org.apache.hbase:${compat.module}:jar with value '${compat.module}' > > > does > > > > > not match a valid id pattern. @ line 997, column 21 > > > > > [ERROR] > 'dependencyManagement.dependencies.dependency.artifactId' > > > for > > > > > org.apache.hbase:${compat.module}:test-jar with value > > > '${compat.module}' > > > > > does not match a valid id pattern. @ line 1002, column 21 > > > > > [ERROR] > > > > > [ERROR] To see the full stack trace of the errors, re-run Maven > with > > > the > > > > -e > > > > > switch. > > > > > [ERROR] Re-run Maven using the -X switch to enable full debug > > logging. > > > > > [ERROR] > > > > > [ERROR] For more information about the errors and possible > solutions, > > > > > please read the following articles: > > > > > [ERROR] [Help 1] > > > > > > > > > > > > > > > http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException > > > > > > > > > > > > > > > -Vladimir Rodionov > > > > > > > > > > > > > > > > > > > > -- > > Best regards, > > > > - Andy > > > > Problems worthy of attack prove their worth by hitting back. - Piet Hein > > (via Tom White) > > > -- Best regards, - Andy Problems worthy of attack prove their worth by hitting back. - Piet Hein (via Tom White) --089e01182856cef83c05009aa999--