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 2143418D03 for ; Mon, 2 Nov 2015 20:22:01 +0000 (UTC) Received: (qmail 76784 invoked by uid 500); 2 Nov 2015 20:22:00 -0000 Delivered-To: apmail-asterixdb-dev-archive@asterixdb.apache.org Received: (qmail 76729 invoked by uid 500); 2 Nov 2015 20:22:00 -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 76665 invoked by uid 99); 2 Nov 2015 20:22:00 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Nov 2015 20:22:00 +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 1ACBBC2863 for ; Mon, 2 Nov 2015 20:22:00 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.701 X-Spam-Level: X-Spam-Status: No, score=0.701 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, KAM_ASCII_DIVIDERS=0.8, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id rQuWhsw5E21t for ; Mon, 2 Nov 2015 20:21:47 +0000 (UTC) Received: from mail-pa0-f53.google.com (mail-pa0-f53.google.com [209.85.220.53]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id CEF3B207D6 for ; Mon, 2 Nov 2015 20:21:46 +0000 (UTC) Received: by pacfv9 with SMTP id fv9so164835638pac.3 for ; Mon, 02 Nov 2015 12:21:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=ZF9ZqWyMBK9AJYnK6rVX+hnmxGgA6DmOmB7fwTveOAE=; b=RtCmYl5BcuqOUxCzf6mPXktTZEYbXJmq2sDOGsOeZCkKibfhNlX3Zs4tK9zB4mPTPS bjpvckAJ2FapVrzreHRDxO0+kaXXILe1/0bqWmFzc58AQAune1IPoL2YGkfxOlwABktQ 1GA3N9WSLfpHMxXZ1HWnD0cPAHo2uJK3rBm/XcrWqM/nWIIHWv2X1gEkznp7LKgpzsqW v4FPAJD5j7sN+47xRtyy74gZQNCVypfQT7XxvaArzzPWwZh9a7OmxYYnAQEOKFGJrNys JyK1rCdNgwFWIH73Uu/o18ngwVutTvGIopQlOXrdaV2dtcHBIhnLEd6/LXiDBgosdB76 hXQA== X-Received: by 10.68.202.170 with SMTP id kj10mr29159967pbc.104.1446495705457; Mon, 02 Nov 2015 12:21:45 -0800 (PST) Received: from [192.168.0.2] (ip174-67-219-63.oc.oc.cox.net. [174.67.219.63]) by smtp.gmail.com with ESMTPSA id fe8sm25659503pab.40.2015.11.02.12.21.44 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 02 Nov 2015 12:21:44 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) Subject: Re: Trouble Building Master From: Murtadha Hubail In-Reply-To: Date: Mon, 2 Nov 2015 12:21:42 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: References: <3D468A61-6031-40B0-BD45-90377F03471D@apache.org> To: dev@asterixdb.incubator.apache.org X-Mailer: Apple Mail (2.3096.5) Even thought it says 8 in the POM, it doesn=E2=80=99t force you to use = it. 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 used = JDK 8 features in the code. That way the error message will be much more = clearer :-) Ian said that this change is easy to do. -Murtadha > On Nov 2, 2015, at 12:12 PM, Steven Jacobs wrote: >=20 > Got it, Thanks (I was using 7 still)! > Steven >=20 > On Mon, Nov 2, 2015 at 11:48 AM, Yingyi Bu wrote: >=20 >> All right, great! >>=20 >> Best, >> Yingyi >>=20 >> On Mon, Nov 2, 2015 at 11:46 AM, Till Westmann = wrote: >>=20 >>> I think that we=E2=80=99re on 8 (that=E2=80=99s what my pom.xml = says) and I also think >>> that we should be Java 8 only as Java 7 is not supported anymore = since >>> April 2015 [1]. >>>=20 >>> Cheers, >>> Till >>>=20 >>> [1] https://www.java.com/en/download/faq/java_7.xml >>>=20 >>>=20 >>> On 2 Nov 2015, at 11:36, Yingyi Bu wrote: >>>=20 >>> Yes, I think it's because my change depends on a default interface = method >>>> implementation. >>>> I thought we had moved to Java 8. >>>>=20 >>>> Do I need to add a fix for that so that we can build with Java 7 as >> well? >>>>=20 >>>> Best, >>>> Yingyi >>>>=20 >>>> On Mon, Nov 2, 2015 at 11:28 AM, Chris Hillery = >>>> wrote: >>>>=20 >>>> Do we depend on default interface method implementations? That = feature >> was >>>>> only introduced with Java 8. >>>>>=20 >>>>> What version of the JDK are you using, Till and Steven? >>>>>=20 >>>>> Ceej >>>>> aka Chris Hillery >>>>> On Nov 2, 2015 11:22 AM, "Till Westmann" wrote: >>>>>=20 >>>>> That is indeed strange. I=E2=80=99m using maven 3.3.3 on OS X and = it builds >> fine. >>>>>> Also, in my JDK the Iterator interface has a default = implementation >> for >>>>>> the remove method. >>>>>> So there should no be a reason to provide a remove method for an >>>>>>=20 >>>>> iterator. >>>>>=20 >>>>>>=20 >>>>>> On 2 Nov 2015, at 10:57, Steven Jacobs wrote: >>>>>>=20 >>>>>> Is any one else having trouble building master? I've updated = maven to >>>>>>=20 >>>>> 3.3.3 >>>>>=20 >>>>>> but I get a strange error now from asterix-lang-common: >>>>>>>=20 >>>>>>> [INFO] 1 error >>>>>>>=20 >>>>>>> [INFO] = ------------------------------------------------------------- >>>>>>>=20 >>>>>>> [INFO] >>>>>>>=20 >>>>>>>=20 >> = ------------------------------------------------------------------------ >>>>>>>=20 >>>>>>> [INFO] Reactor Summary: >>>>>>>=20 >>>>>>> [INFO] >>>>>>>=20 >>>>>>> [INFO] asterix ............................................ = SUCCESS [ >>>>>>> 29.003 s] >>>>>>>=20 >>>>>>> [INFO] asterix-test-framework ............................. = SUCCESS [ >>>>>>> 4.790 s] >>>>>>>=20 >>>>>>> [INFO] asterix-common ..................................... = SUCCESS [ >>>>>>> 5.980 s] >>>>>>>=20 >>>>>>> [INFO] asterix-maven-plugins .............................. = SUCCESS [ >>>>>>> 0.092 s] >>>>>>>=20 >>>>>>> [INFO] record-manager-generator-maven-plugin .............. = SUCCESS [ >>>>>>> 2.629 s] >>>>>>>=20 >>>>>>> [INFO] asterix-transactions ............................... = SUCCESS [ >>>>>>> 2.733 s] >>>>>>>=20 >>>>>>> [INFO] asterix-om ......................................... = SUCCESS [ >>>>>>> 3.718 s] >>>>>>>=20 >>>>>>> [INFO] asterix-fuzzyjoin .................................. = SUCCESS [ >>>>>>> 1.940 s] >>>>>>>=20 >>>>>>> [INFO] lexer-generator-maven-plugin ....................... = SUCCESS [ >>>>>>> 1.726 s] >>>>>>>=20 >>>>>>> [INFO] asterix-runtime .................................... = SUCCESS [ >>>>>>> 5.355 s] >>>>>>>=20 >>>>>>> [INFO] asterix-events ..................................... = SUCCESS [ >>>>>>> 3.605 s] >>>>>>>=20 >>>>>>> [INFO] asterix-metadata ................................... = SUCCESS [ >>>>>>> 3.965 s] >>>>>>>=20 >>>>>>> [INFO] asterix-lang-common ................................ = FAILURE [ >>>>>>> 4.162 s] >>>>>>>=20 >>>>>>> [INFO] asterix-lang-aql ................................... = SKIPPED >>>>>>>=20 >>>>>>> [INFO] asterix-lang-sqlpp ................................. = SKIPPED >>>>>>>=20 >>>>>>> [INFO] asterix-external-data .............................. = SKIPPED >>>>>>>=20 >>>>>>> [INFO] asterix-algebra .................................... = SKIPPED >>>>>>>=20 >>>>>>> [INFO] asterix-tools ...................................... = SKIPPED >>>>>>>=20 >>>>>>> [INFO] asterix-app ........................................ = SKIPPED >>>>>>>=20 >>>>>>> [INFO] asterix-examples ................................... = SKIPPED >>>>>>>=20 >>>>>>> [INFO] asterix-server ..................................... = SKIPPED >>>>>>>=20 >>>>>>> [INFO] asterix-installer .................................. = SKIPPED >>>>>>>=20 >>>>>>> [INFO] asterix-doc ........................................ = SKIPPED >>>>>>>=20 >>>>>>> [INFO] asterix-yarn ....................................... = SKIPPED >>>>>>>=20 >>>>>>> [INFO] >>>>>>>=20 >>>>>>>=20 >> = ------------------------------------------------------------------------ >>>>>>>=20 >>>>>>> [INFO] BUILD FAILURE >>>>>>>=20 >>>>>>> [INFO] >>>>>>>=20 >>>>>>>=20 >> = ------------------------------------------------------------------------ >>>>>>>=20 >>>>>>> [INFO] Total time: 01:10 min >>>>>>>=20 >>>>>>> [INFO] Finished at: 2015-11-02T10:53:54-08:00 >>>>>>>=20 >>>>>>> [INFO] Final Memory: 163M/904M >>>>>>>=20 >>>>>>> [INFO] >>>>>>>=20 >>>>>>>=20 >> = ------------------------------------------------------------------------ >>>>>>>=20 >>>>>>> [ERROR] Failed to execute goal >>>>>>> org.apache.maven.plugins:maven-compiler-plugin:3.1:compile >>>>>>> (default-compile) on project asterix-lang-common: Compilation = failure >>>>>>>=20 >>>>>>> [ERROR] >>>>>>>=20 >>>>>>>=20 >>>>>>>=20 >>>>>=20 >> = /Users/stevenjacobs/asterix/asertixdb/asterix-lang-common/src/main/java/or= g/apache/asterix/lang/common/context/Scope.java:[161,42] >>>>>=20 >>>>>> error: = is >> not >>>>>>> abstract and does not override abstract method remove() in = Iterator >>>>>>>=20 >>>>>>> [ERROR] -> [Help 1] >>>>>>>=20 >>>>>>> [ERROR] >>>>>>>=20 >>>>>>> [ERROR] To see the full stack trace of the errors, re-run Maven = with >>>>>>> the >>>>>>> -e >>>>>>> switch. >>>>>>>=20 >>>>>>> [ERROR] Re-run Maven using the -X switch to enable full debug >> logging. >>>>>>>=20 >>>>>>> [ERROR] >>>>>>>=20 >>>>>>> [ERROR] For more information about the errors and possible = solutions, >>>>>>> please read the following articles: >>>>>>>=20 >>>>>>> [ERROR] [Help 1] >>>>>>>=20 >> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException >>>>>>>=20 >>>>>>> [ERROR] >>>>>>>=20 >>>>>>> [ERROR] After correcting the problems, you can resume the build = with >>>>>>> the >>>>>>> command >>>>>>>=20 >>>>>>> [ERROR] mvn -rf :asterix-lang-common >>>>>>>=20 >>>>>>> Steven >>>>>>>=20 >>>>>>>=20 >>>>>>=20 >>>>>=20 >>=20