Return-Path: X-Original-To: apmail-flink-dev-archive@www.apache.org Delivered-To: apmail-flink-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 28D3C173ED for ; Wed, 10 Jun 2015 12:42:39 +0000 (UTC) Received: (qmail 95045 invoked by uid 500); 10 Jun 2015 12:42:39 -0000 Delivered-To: apmail-flink-dev-archive@flink.apache.org Received: (qmail 95001 invoked by uid 500); 10 Jun 2015 12:42:39 -0000 Mailing-List: contact dev-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list dev@flink.apache.org Received: (qmail 94987 invoked by uid 99); 10 Jun 2015 12:42:38 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jun 2015 12:42:38 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 3FD181827EA for ; Wed, 10 Jun 2015 12:42:38 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.15 X-Spam-Level: *** X-Spam-Status: No, score=3.15 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, KAM_LOTSOFHASH=0.25, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id v8IsCKxskdGp for ; Wed, 10 Jun 2015 12:42:27 +0000 (UTC) Received: from mail-lb0-f175.google.com (mail-lb0-f175.google.com [209.85.217.175]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id EBA4543ACE for ; Wed, 10 Jun 2015 12:42:26 +0000 (UTC) Received: by lbbtu8 with SMTP id tu8so27946120lbb.2 for ; Wed, 10 Jun 2015 05:42:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=qA+S9zhmweXMoqAJ+g845KGBRfx72jUIa3NbZ23t/BU=; b=cPY7TvzxOMQ+X2fM0F24pJtNkAJ7ZWOsJZUIAjEeUkP/YUdaG4iV0b8MkKhuQWKqcD QgwE/v7kO5Mu5BujrjB5fPco40cdbVjeG451IkGOcExb6iVBQm5+upexzbuIZAJYHCR7 c8aeanlXl0bogs3ONvL1ynUsWdF4Tl5bLYRLS1VksPp+MtqvKpwIN9AQRHRxF2mw5hIz Xro3U6K07amCCPASHRjPRbHHUYHRI9HtHjxKSreffefjMLUlRRwWjBg/MBYmNo/l8DCo aKu/7EaXvKiXyKw5OMN8LboB5iZ4Rci6xTHpzSIOYhVNc8o2boHAm028IYcC1E67qFgR aWbg== MIME-Version: 1.0 X-Received: by 10.112.142.232 with SMTP id rz8mr3643637lbb.74.1433940139955; Wed, 10 Jun 2015 05:42:19 -0700 (PDT) Received: by 10.152.225.171 with HTTP; Wed, 10 Jun 2015 05:42:19 -0700 (PDT) In-Reply-To: <55782C0E.9040507@informatik.hu-berlin.de> References: <55782C0E.9040507@informatik.hu-berlin.de> Date: Wed, 10 Jun 2015 14:42:19 +0200 Message-ID: Subject: Re: Build works locally but fails on travis (Storm compatibility) From: Fabian Hueske To: "dev@flink.apache.org" Content-Type: multipart/alternative; boundary=089e0112cdfeabdc800518293420 --089e0112cdfeabdc800518293420 Content-Type: text/plain; charset=UTF-8 Travis caches Maven dependendies and sometimes fails to update them. Try to clear you Travis cache via "Settings" (up right) -> "Caches" Cheers, Fabian 2015-06-10 14:22 GMT+02:00 Matthias J. Sax : > Hi, > > the current PR of storm compatibility layer builds successfully on my > laptop (mvn clean install). However, on travis I get strange error > messages in the IT-Cases: > https://travis-ci.org/mjsax/flink/builds/66137928 > > For example: > > > Caused by: java.lang.AbstractMethodError: > org.apache.flink.stormcompatibility.wrappers.StormFiniteSpoutWrapper.run(Lorg/apache/flink/streaming/api/functions/source/SourceFunction$SourceContext;)V > > at > org.apache.flink.streaming.api.operators.StreamSource.run(StreamSource.java:49) > > at > org.apache.flink.streaming.runtime.tasks.SourceStreamTask.invoke(SourceStreamTask.java:55) > > at org.apache.flink.runtime.taskmanager.Task.run(Task.java:559) > > at java.lang.Thread.run(Thread.java:701) > > and > > > java.lang.NoSuchMethodError: > org.apache.flink.streaming.api.datastream.DataStream.distribute()Lorg/apache/flink/streaming/api/datastream/DataStream; > > at > org.apache.flink.stormcompatibility.api.FlinkTopologyBuilder.createTopology(FlinkTopologyBuilder.java:155) > > at > org.apache.flink.stormcompatibility.wordcount.StormWordCountLocal.main(StormWordCountLocal.java:66) > > at > org.apache.flink.stormcompatibility.wordcount.StormWordCountLocalITCase.testProgram(StormWordCountLocalITCase.java:45) > > Looking into the code the method "run(...)" is implemented in > AbstractStormSpoutWrapper.java what is the base class of > StormFiniteSpoutWrapper.java. So I cannot explain this error... > > see: > > > https://github.com/mjsax/flink/blob/18a3c8b79c5f353bbfd65370811e900edc7abc89/flink-contrib/flink-storm-compatibility/flink-storm-compatibility-core/src/main/java/org/apache/flink/stormcompatibility/wrappers/StormFiniteSpoutWrapper.java > > > https://github.com/mjsax/flink/blob/18a3c8b79c5f353bbfd65370811e900edc7abc89/flink-contrib/flink-storm-compatibility/flink-storm-compatibility-core/src/main/java/org/apache/flink/stormcompatibility/wrappers/AbstractStormSpoutWrapper.java > > Furthermore, the method "distribute()" was used in an old version of the > layer, but got replaces by "shuffle()". Thus, I don't understand the > second error message either... > > see: > > > https://github.com/mjsax/flink/blob/18a3c8b79c5f353bbfd65370811e900edc7abc89/flink-contrib/flink-storm-compatibility/flink-storm-compatibility-core/src/main/java/org/apache/flink/stormcompatibility/api/FlinkTopologyBuilder.java > > Something must be wrong with travis. It seems not to work on the correct > code. However, I have no idea why... Maybe some version mixup. > > And ideas how I can fix this? > > > -Matthias > > > --089e0112cdfeabdc800518293420--