Return-Path: X-Original-To: apmail-asterixdb-dev-archive@minotaur.apache.org Delivered-To: apmail-asterixdb-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4EB1117799 for ; Tue, 3 Nov 2015 05:34:28 +0000 (UTC) Received: (qmail 7486 invoked by uid 500); 3 Nov 2015 05:34:28 -0000 Delivered-To: apmail-asterixdb-dev-archive@asterixdb.apache.org Received: (qmail 7405 invoked by uid 500); 3 Nov 2015 05:34:28 -0000 Mailing-List: contact dev-help@asterixdb.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@asterixdb.incubator.apache.org Delivered-To: mailing list dev@asterixdb.incubator.apache.org Received: (qmail 7391 invoked by uid 99); 3 Nov 2015 05:34:27 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Nov 2015 05:34:27 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 58333C8735 for ; Tue, 3 Nov 2015 05:34:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.791 X-Spam-Level: * X-Spam-Status: No, score=1.791 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id dbxKF5HPMt5T for ; Tue, 3 Nov 2015 05:34:16 +0000 (UTC) Received: from whu.edu.cn (whu.edu.cn [202.114.64.189]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTP id C95A4439D8 for ; Tue, 3 Nov 2015 05:34:14 +0000 (UTC) Received: by ajax-webmail-app1 (Coremail) ; Tue, 3 Nov 2015 13:34:00 +0800 (GMT+08:00) Date: Tue, 3 Nov 2015 13:34:00 +0800 (GMT+08:00) From: =?utf-8?B?5p2O5paH5rW3?= To: dev@asterixdb.incubator.apache.org Message-ID: <41e2a330.37ddf.150cbd67333.Coremail.lwh@whu.edu.cn> In-Reply-To: <70342706-4567-48C6-8AC8-27809957857C@apache.org> References: <3D468A61-6031-40B0-BD45-90377F03471D@apache.org> <70342706-4567-48C6-8AC8-27809957857C@apache.org> Subject: Re: Re: Trouble Building Master MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [128.195.53.212] X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT2.1.11 dev build 20150107(58648.7033.6860) Copyright (c) 2002-2015 www.mailtech.cn whu X-SendMailWithSms: false X-CM-TRANSID: 5wFkCkBpaEJIRzhWIgLPAA--.3839W X-CM-SenderInfo: aqqqimqxuzq4lkxovvfxof0/1tbiAQMBCVSC8DpsewAMsN X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= Hi, It doesn't work even under jdk1.8 plus maven 3.1.1. What your environme= nts, Till/Yingyi? Best, Wenhai > -----Original Messages----- > From: "Till Westmann" > Sent Time: Tuesday, November 3, 2015 > To: dev@asterixdb.incubator.apache.org > Cc:=20 > Subject: Re: Trouble Building Master >=20 > +1 >=20 > On 2 Nov 2015, at 12:21, Murtadha Hubail wrote: >=20 > > Even thought it says 8 in the POM, it doesn=E2=80=99t force you to use = it.=20 > > Currently, it looks for the highest JDK version available and use it. > > > > I think we should change it to force you to use 8 now since we have=20 > > used JDK 8 features in the code. That way the error message will be=20 > > much more clearer :-) > > > > Ian said that this change is easy to do. > > > > -Murtadha > > > >> On Nov 2, 2015, at 12:12 PM, Steven Jacobs wrote: > >> > >> Got it, Thanks (I was using 7 still)! > >> Steven > >> > >> On Mon, Nov 2, 2015 at 11:48 AM, Yingyi Bu =20 > >> wrote: > >> > >>> All right, great! > >>> > >>> Best, > >>> Yingyi > >>> > >>> On Mon, Nov 2, 2015 at 11:46 AM, Till Westmann =20 > >>> wrote: > >>> > >>>> I think that we=E2=80=99re on 8 (that=E2=80=99s what my pom.xml says= ) and I=20 > >>>> also think > >>>> that we should be Java 8 only as Java 7 is not supported anymore=20 > >>>> since > >>>> April 2015 [1]. > >>>> > >>>> Cheers, > >>>> Till > >>>> > >>>> [1] https://www.java.com/en/download/faq/java_7.xml > >>>> > >>>> > >>>> On 2 Nov 2015, at 11:36, Yingyi Bu wrote: > >>>> > >>>> Yes, I think it's because my change depends on a default interface= =20 > >>>> method > >>>>> implementation. > >>>>> I thought we had moved to Java 8. > >>>>> > >>>>> Do I need to add a fix for that so that we can build with Java 7=20 > >>>>> as > >>> well? > >>>>> > >>>>> Best, > >>>>> Yingyi > >>>>> > >>>>> On Mon, Nov 2, 2015 at 11:28 AM, Chris Hillery=20 > >>>>> > >>>>> wrote: > >>>>> > >>>>> Do we depend on default interface method implementations? That=20 > >>>>> feature > >>> was > >>>>>> only introduced with Java 8. > >>>>>> > >>>>>> What version of the JDK are you using, Till and Steven? > >>>>>> > >>>>>> Ceej > >>>>>> aka Chris Hillery > >>>>>> On Nov 2, 2015 11:22 AM, "Till Westmann" =20 > >>>>>> wrote: > >>>>>> > >>>>>> That is indeed strange. I=E2=80=99m using maven 3.3.3 on OS X and = it=20 > >>>>>> builds > >>> fine. > >>>>>>> Also, in my JDK the Iterator interface has a default=20 > >>>>>>> implementation > >>> for > >>>>>>> the remove method. > >>>>>>> So there should no be a reason to provide a remove method for an > >>>>>>> > >>>>>> iterator. > >>>>>> > >>>>>>> > >>>>>>> On 2 Nov 2015, at 10:57, Steven Jacobs wrote: > >>>>>>> > >>>>>>> Is any one else having trouble building master? I've updated=20 > >>>>>>> maven to > >>>>>>> > >>>>>> 3.3.3 > >>>>>> > >>>>>>> but I get a strange error now from asterix-lang-common: > >>>>>>>> > >>>>>>>> [INFO] 1 error > >>>>>>>> > >>>>>>>> [INFO]=20 > >>>>>>>> ------------------------------------------------------------- > >>>>>>>> > >>>>>>>> [INFO] > >>>>>>>> > >>>>>>>> > >>> ---------------------------------------------------------------------= --- > >>>>>>>> > >>>>>>>> [INFO] Reactor Summary: > >>>>>>>> > >>>>>>>> [INFO] > >>>>>>>> > >>>>>>>> [INFO] asterix ............................................=20 > >>>>>>>> SUCCESS [ > >>>>>>>> 29.003 s] > >>>>>>>> > >>>>>>>> [INFO] asterix-test-framework .............................=20 > >>>>>>>> SUCCESS [ > >>>>>>>> 4.790 s] > >>>>>>>> > >>>>>>>> [INFO] asterix-common .....................................=20 > >>>>>>>> SUCCESS [ > >>>>>>>> 5.980 s] > >>>>>>>> > >>>>>>>> [INFO] asterix-maven-plugins ..............................=20 > >>>>>>>> SUCCESS [ > >>>>>>>> 0.092 s] > >>>>>>>> > >>>>>>>> [INFO] record-manager-generator-maven-plugin ..............=20 > >>>>>>>> SUCCESS [ > >>>>>>>> 2.629 s] > >>>>>>>> > >>>>>>>> [INFO] asterix-transactions ...............................=20 > >>>>>>>> SUCCESS [ > >>>>>>>> 2.733 s] > >>>>>>>> > >>>>>>>> [INFO] asterix-om .........................................=20 > >>>>>>>> SUCCESS [ > >>>>>>>> 3.718 s] > >>>>>>>> > >>>>>>>> [INFO] asterix-fuzzyjoin ..................................=20 > >>>>>>>> SUCCESS [ > >>>>>>>> 1.940 s] > >>>>>>>> > >>>>>>>> [INFO] lexer-generator-maven-plugin .......................=20 > >>>>>>>> SUCCESS [ > >>>>>>>> 1.726 s] > >>>>>>>> > >>>>>>>> [INFO] asterix-runtime ....................................=20 > >>>>>>>> SUCCESS [ > >>>>>>>> 5.355 s] > >>>>>>>> > >>>>>>>> [INFO] asterix-events .....................................=20 > >>>>>>>> SUCCESS [ > >>>>>>>> 3.605 s] > >>>>>>>> > >>>>>>>> [INFO] asterix-metadata ...................................=20 > >>>>>>>> SUCCESS [ > >>>>>>>> 3.965 s] > >>>>>>>> > >>>>>>>> [INFO] asterix-lang-common ................................=20 > >>>>>>>> FAILURE [ > >>>>>>>> 4.162 s] > >>>>>>>> > >>>>>>>> [INFO] asterix-lang-aql ...................................=20 > >>>>>>>> SKIPPED > >>>>>>>> > >>>>>>>> [INFO] asterix-lang-sqlpp .................................=20 > >>>>>>>> SKIPPED > >>>>>>>> > >>>>>>>> [INFO] asterix-external-data ..............................=20 > >>>>>>>> SKIPPED > >>>>>>>> > >>>>>>>> [INFO] asterix-algebra ....................................=20 > >>>>>>>> SKIPPED > >>>>>>>> > >>>>>>>> [INFO] asterix-tools ......................................=20 > >>>>>>>> SKIPPED > >>>>>>>> > >>>>>>>> [INFO] asterix-app ........................................=20 > >>>>>>>> SKIPPED > >>>>>>>> > >>>>>>>> [INFO] asterix-examples ...................................=20 > >>>>>>>> SKIPPED > >>>>>>>> > >>>>>>>> [INFO] asterix-server .....................................=20 > >>>>>>>> SKIPPED > >>>>>>>> > >>>>>>>> [INFO] asterix-installer ..................................=20 > >>>>>>>> SKIPPED > >>>>>>>> > >>>>>>>> [INFO] asterix-doc ........................................=20 > >>>>>>>> SKIPPED > >>>>>>>> > >>>>>>>> [INFO] asterix-yarn .......................................=20 > >>>>>>>> SKIPPED > >>>>>>>> > >>>>>>>> [INFO] > >>>>>>>> > >>>>>>>> > >>> ---------------------------------------------------------------------= --- > >>>>>>>> > >>>>>>>> [INFO] BUILD FAILURE > >>>>>>>> > >>>>>>>> [INFO] > >>>>>>>> > >>>>>>>> > >>> ---------------------------------------------------------------------= --- > >>>>>>>> > >>>>>>>> [INFO] Total time: 01:10 min > >>>>>>>> > >>>>>>>> [INFO] Finished at: 2015-11-02T10:53:54-08:00 > >>>>>>>> > >>>>>>>> [INFO] Final Memory: 163M/904M > >>>>>>>> > >>>>>>>> [INFO] > >>>>>>>> > >>>>>>>> > >>> ---------------------------------------------------------------------= --- > >>>>>>>> > >>>>>>>> [ERROR] Failed to execute goal > >>>>>>>> org.apache.maven.plugins:maven-compiler-plugin:3.1:compile > >>>>>>>> (default-compile) on project asterix-lang-common: Compilation=20 > >>>>>>>> failure > >>>>>>>> > >>>>>>>> [ERROR] > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>> > >>> /Users/stevenjacobs/asterix/asertixdb/asterix-lang-common/src/main/ja= va/org/apache/asterix/lang/common/context/Scope.java:[161,42] > >>>>>> > >>>>>>> error: >>>>>>> org.apache.asterix.lang.common.context.Scope$1> is > >>> not > >>>>>>>> abstract and does not override abstract method remove() in=20 > >>>>>>>> Iterator > >>>>>>>> > >>>>>>>> [ERROR] -> [Help 1] > >>>>>>>> > >>>>>>>> [ERROR] > >>>>>>>> > >>>>>>>> [ERROR] To see the full stack trace of the errors, re-run Maven= =20 > >>>>>>>> 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=20 > >>>>>>>> solutions, > >>>>>>>> please read the following articles: > >>>>>>>> > >>>>>>>> [ERROR] [Help 1] > >>>>>>>> > >>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException > >>>>>>>> > >>>>>>>> [ERROR] > >>>>>>>> > >>>>>>>> [ERROR] After correcting the problems, you can resume the build= =20 > >>>>>>>> with > >>>>>>>> the > >>>>>>>> command > >>>>>>>> > >>>>>>>> [ERROR] mvn -rf :asterix-lang-common > >>>>>>>> > >>>>>>>> Steven > >>>>>>>> > >>>>>>>> > >>>>>>> > >>>>>> > >>>