From commits-return-55069-archive-asf-public=cust-asf.ponee.io@beam.apache.org Thu Jan 4 22:29:05 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id B3A60180657 for ; Thu, 4 Jan 2018 22:29:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id A2C42160C18; Thu, 4 Jan 2018 21:29:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C5B33160C2B for ; Thu, 4 Jan 2018 22:29:04 +0100 (CET) Received: (qmail 29612 invoked by uid 500); 4 Jan 2018 21:29:04 -0000 Mailing-List: contact commits-help@beam.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@beam.apache.org Delivered-To: mailing list commits@beam.apache.org Received: (qmail 29603 invoked by uid 99); 4 Jan 2018 21:29:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jan 2018 21:29:03 +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 8D18BC39AC for ; Thu, 4 Jan 2018 21:29:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.011 X-Spam-Level: X-Spam-Status: No, score=-100.011 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id qtkqFbPc9Jx8 for ; Thu, 4 Jan 2018 21:29:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 4263C5FAF6 for ; Thu, 4 Jan 2018 21:29:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 7332BE0D6A for ; Thu, 4 Jan 2018 21:29:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 326B1212F7 for ; Thu, 4 Jan 2018 21:29:00 +0000 (UTC) Date: Thu, 4 Jan 2018 21:29:00 +0000 (UTC) From: =?utf-8?Q?Isma=C3=ABl_Mej=C3=ADa_=28JIRA=29?= To: commits@beam.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (BEAM-981) Not possible to directly submit a pipeline on spark cluster MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/BEAM-981?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Isma=C3=ABl Mej=C3=ADa reassigned BEAM-981: --------------------------------- Assignee: =C5=81ukasz Gajowy (was: Kobi Salant) > Not possible to directly submit a pipeline on spark cluster > ----------------------------------------------------------- > > Key: BEAM-981 > URL: https://issues.apache.org/jira/browse/BEAM-981 > Project: Beam > Issue Type: Bug > Components: runner-spark > Affects Versions: 0.6.0 > Reporter: Jean-Baptiste Onofr=C3=A9 > Assignee: =C5=81ukasz Gajowy > > It's not possible to directly run a pipeline on the spark runner (for ins= tance using {{mvn exec:java}}. It fails with: > {code} > [appclient-register-master-threadpool-0] INFO org.apache.spark.deploy.cli= ent.AppClient$ClientEndpoint - Connecting to master spark://10.200.118.197:= 7077... > [shuffle-client-0] ERROR org.apache.spark.network.client.TransportClient = - Failed to send RPC 6813731522650020739 to /10.200.118.197:7077: java.lang= .AbstractMethodError: org.apache.spark.network.protocol.MessageWithHeader.t= ouch(Ljava/lang/Object;)Lio/netty/util/ReferenceCounted; > java.lang.AbstractMethodError: org.apache.spark.network.protocol.MessageW= ithHeader.touch(Ljava/lang/Object;)Lio/netty/util/ReferenceCounted; > at io.netty.util.ReferenceCountUtil.touch(ReferenceCountUtil.java= :73) > at io.netty.channel.DefaultChannelPipeline.touch(DefaultChannelPi= peline.java:107) > at io.netty.channel.AbstractChannelHandlerContext.write(AbstractC= hannelHandlerContext.java:820) > at io.netty.channel.AbstractChannelHandlerContext.write(AbstractC= hannelHandlerContext.java:733) > at io.netty.handler.codec.MessageToMessageEncoder.write(MessageTo= MessageEncoder.java:111) > at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(Ab= stractChannelHandlerContext.java:748) > at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(Abs= tractChannelHandlerContext.java:740) > at io.netty.channel.AbstractChannelHandlerContext.write(AbstractC= hannelHandlerContext.java:826) > at io.netty.channel.AbstractChannelHandlerContext.write(AbstractC= hannelHandlerContext.java:733) > at io.netty.handler.timeout.IdleStateHandler.write(IdleStateHandl= er.java:284) > at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(Ab= stractChannelHandlerContext.java:748) > at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(Abs= tractChannelHandlerContext.java:740) > at io.netty.channel.AbstractChannelHandlerContext.access$1900(Abs= tractChannelHandlerContext.java:38) > at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTa= sk.write(AbstractChannelHandlerContext.java:1101) > at io.netty.channel.AbstractChannelHandlerContext$WriteAndFlushTa= sk.write(AbstractChannelHandlerContext.java:1148) > at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTa= sk.run(AbstractChannelHandlerContext.java:1090) > at io.netty.util.concurrent.SingleThreadEventExecutor.safeExecute= (SingleThreadEventExecutor.java:451) > at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks= (SingleThreadEventExecutor.java:418) > at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:401) > at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(Singl= eThreadEventExecutor.java:877) > at java.lang.Thread.run(Thread.java:745) > [appclient-register-master-threadpool-0] WARN org.apache.spark.deploy.cli= ent.AppClient$ClientEndpoint - Failed to connect to master 10.200.118.197:7= 077 > java.io.IOException: Failed to send RPC 6813731522650020739 to /10.200.11= 8.197:7077: java.lang.AbstractMethodError: org.apache.spark.network.protoco= l.MessageWithHeader.touch(Ljava/lang/Object;)Lio/netty/util/ReferenceCounte= d; > at org.apache.spark.network.client.TransportClient$3.operationCom= plete(TransportClient.java:239) > at org.apache.spark.network.client.TransportClient$3.operationCom= plete(TransportClient.java:226) > at io.netty.util.concurrent.DefaultPromise.notifyListener0(Defaul= tPromise.java:514) > at io.netty.util.concurrent.DefaultPromise.notifyListeners0(Defau= ltPromise.java:507) > at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(Def= aultPromise.java:486) > at io.netty.util.concurrent.DefaultPromise.notifyListeners(Defaul= tPromise.java:427) > at io.netty.util.concurrent.DefaultPromise.tryFailure(DefaultProm= ise.java:129) > at io.netty.channel.AbstractChannelHandlerContext.notifyOutboundH= andlerException(AbstractChannelHandlerContext.java:845) > at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(Ab= stractChannelHandlerContext.java:750) > at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(Abs= tractChannelHandlerContext.java:740) > at io.netty.channel.AbstractChannelHandlerContext.write(AbstractC= hannelHandlerContext.java:826) > at io.netty.channel.AbstractChannelHandlerContext.write(AbstractC= hannelHandlerContext.java:733) > at io.netty.handler.timeout.IdleStateHandler.write(IdleStateHandl= er.java:284) > at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(Ab= stractChannelHandlerContext.java:748) > at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(Abs= tractChannelHandlerContext.java:740) > at io.netty.channel.AbstractChannelHandlerContext.access$1900(Abs= tractChannelHandlerContext.java:38) > at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTa= sk.write(AbstractChannelHandlerContext.java:1101) > at io.netty.channel.AbstractChannelHandlerContext$WriteAndFlushTa= sk.write(AbstractChannelHandlerContext.java:1148) > at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTa= sk.run(AbstractChannelHandlerContext.java:1090) > at io.netty.util.concurrent.SingleThreadEventExecutor.safeExecute= (SingleThreadEventExecutor.java:451) > at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks= (SingleThreadEventExecutor.java:418) > at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:401) > at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(Singl= eThreadEventExecutor.java:877) > at java.lang.Thread.run(Thread.java:745) > Caused by: java.lang.AbstractMethodError: org.apache.spark.network.protoc= ol.MessageWithHeader.touch(Ljava/lang/Object;)Lio/netty/util/ReferenceCount= ed; > at io.netty.util.ReferenceCountUtil.touch(ReferenceCountUtil.java= :73) > at io.netty.channel.DefaultChannelPipeline.touch(DefaultChannelPi= peline.java:107) > at io.netty.channel.AbstractChannelHandlerContext.write(AbstractC= hannelHandlerContext.java:820) > at io.netty.channel.AbstractChannelHandlerContext.write(AbstractC= hannelHandlerContext.java:733) > at io.netty.handler.codec.MessageToMessageEncoder.write(MessageTo= MessageEncoder.java:111) > at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(Ab= stractChannelHandlerContext.java:748) > ... 15 more > {code} > It looks like a conflict between the Netty version used in Spark and the = one in Beam (just guessing). > The workaround is to use {{spark-submit}}. -- This message was sent by Atlassian JIRA (v6.4.14#64029)