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 D233B101C3 for ; Thu, 27 Jun 2013 00:18:08 +0000 (UTC) Received: (qmail 15433 invoked by uid 500); 27 Jun 2013 00:18:08 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 15370 invoked by uid 500); 27 Jun 2013 00:18:08 -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 15361 invoked by uid 99); 27 Jun 2013 00:18:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jun 2013 00:18:08 +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.182 as permitted sender) Received: from [209.85.220.182] (HELO mail-vc0-f182.google.com) (209.85.220.182) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jun 2013 00:18:04 +0000 Received: by mail-vc0-f182.google.com with SMTP id id13so37698vcb.27 for ; Wed, 26 Jun 2013 17:17:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=lwJYAxFiQpR+YBwaIJ3B6lUN5VATu5jNK+Gb7FAoNFw=; b=ugXIb0uus37HYMS199CXzTuCrhq/9qjR+EU/F2FYs6yLErTUbJblaLaz/O9FShYkNf rXYZY4oweOv5HrjxMijPvzVObaw1ezKzrCpYloknp1Mi51FLmMml/4xWBvorKVqu3wRc 9TKHbLFDbxbrvKqLyvsW9xtEY/CjztFi/aRuo2cvAttPp1yInN7p045bVDzxDr+cu2H+ aSP7n33Vw7o7atVbn8PTVTE6co1HB0pjZr/0e+VouW8zU6romhh5e0aqUeH9ccxp9Fez g2pcAacKAvUGDPxKpolE/jEE68w8eyf/6zdO/o0dTN7UYeugQBdfTnhB9sFANsgM4fDh X5HQ== X-Received: by 10.58.31.106 with SMTP id z10mr2606409veh.61.1372292263389; Wed, 26 Jun 2013 17:17:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.107.73 with HTTP; Wed, 26 Jun 2013 17:17:23 -0700 (PDT) In-Reply-To: <51CB8401.9030505@oracle.com> References: <51CB2D32.5030805@oracle.com> <51CB50DC.1080006@oracle.com> <51CB8401.9030505@oracle.com> From: Jesse Yates Date: Wed, 26 Jun 2013 17:17:23 -0700 Message-ID: Subject: Re: Compile fails To: dev@hbase.apache.org Content-Type: multipart/alternative; boundary=089e013a2a62e3339c04e017b072 X-Virus-Checked: Checked by ClamAV on apache.org --089e013a2a62e3339c04e017b072 Content-Type: text/plain; charset=ISO-8859-1 Yep, that would do it. Older 1.6 versions of JDK have a generics compatibility issue... can you give _36, if not newer? ------------------- Jesse Yates @jesse_yates jyates.github.com On Wed, Jun 26, 2013 at 5:14 PM, Shivendra Singh < shivendra.p.singh@oracle.com> wrote: > Hi Ted, > > I am on 1.6.0_22 > Is it because of the old version incompatibility? > > Thanks, > Shivendra > > On 6/26/2013 2:16 PM, Ted Yu wrote: > >> What version of JDK are you using ? >> >> I use java version "1.6.0_43" and don't get the error you cited on trunk. >> >> Cheers >> >> On Thu, Jun 27, 2013 at 4:36 AM, Shivendra Singh < >> shivendra.p.singh@oracle.com> wrote: >> >> Hi Jesse, >>> >>> Thanks for replying. >>> I am running "mvn compile" on the entire project, what I meant in the >>> earlier mail was that I am making changes to hbase-server. >>> I ran "mvn clean install -DskipTests" on the entire project and still >>> have >>> same errors. >>> >>> Thanks, >>> Shivendra >>> >>> >>> On 6/26/2013 11:06 AM, Jesse Yates wrote: >>> >>> You need to do a "mvn clean install -DskipTests" on the *entire HBase >>>> project, not just hbase-server*. Should get you going. >>>> >>>> -Jesse >>>> ------------------- >>>> Jesse Yates >>>> @jesse_yates >>>> jyates.github.com >>>> >>>> >>>> On Wed, Jun 26, 2013 at 11:04 AM, Shivendra Singh < >>>> shivendra.p.singh@oracle.com> wrote: >>>> >>>> Hi All, >>>> >>>>> I am trying to compile the hbase-server project after cloning the git >>>>> repository. >>>>> However, it is errors out: >>>>> * Failed to execute goal >>>>> org.apache.maven.plugins:****maven-compiler-plugin:2.5.1:****compile >>>>> (default-compile) on project hbase-server: Compilation failure: >>>>> Compilation >>>>> failure: >>>>> [ERROR] >>>>> /scratch/shivends/hbase-patch/****hbase/hbase-server/src/main/**** >>>>> java/org/apache/hadoop/hbase/****security/access/** >>>>> AccessController.java:[490,56] >>>>> incompatible types; no instance(s) of type variable(s) K,V exist so >>>>> that >>>>> java.util.TreeMap conforms to >>>>> java.util.Map> >>>>> [ERROR] found : java.util.TreeMap* >>>>> >>>>> Please help me to proceed. >>>>> >>>>> Thanks, >>>>> Shivendra >>>>> >>>>> >>>>> > --089e013a2a62e3339c04e017b072--