Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5BDAE200CDA for ; Fri, 21 Jul 2017 02:19:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 58F1A16C5C2; Fri, 21 Jul 2017 00:19: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 9F44916C56A for ; Fri, 21 Jul 2017 02:19:04 +0200 (CEST) Received: (qmail 20812 invoked by uid 500); 21 Jul 2017 00:19:03 -0000 Mailing-List: contact issues-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@spark.apache.org Received: (qmail 20801 invoked by uid 99); 21 Jul 2017 00:19:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jul 2017 00:19:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 4BA60C02AA for ; Fri, 21 Jul 2017 00:19:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id wGFuLmJlid2V for ; Fri, 21 Jul 2017 00:19: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 7D1BA5FC3D for ; Fri, 21 Jul 2017 00:19: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 5EE90E0D45 for ; Fri, 21 Jul 2017 00:19: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 0ECA721EDC for ; Fri, 21 Jul 2017 00:19:00 +0000 (UTC) Date: Fri, 21 Jul 2017 00:19:00 +0000 (UTC) From: "Udit Mehrotra (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SPARK-21494) Spark 2.2.0 AES encryption not working with External shuffle MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 21 Jul 2017 00:19:05 -0000 [ https://issues.apache.org/jira/browse/SPARK-21494?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Udit Mehrotra updated SPARK-21494: ---------------------------------- Attachment: logs.zip > Spark 2.2.0 AES encryption not working with External shuffle > ------------------------------------------------------------ > > Key: SPARK-21494 > URL: https://issues.apache.org/jira/browse/SPARK-21494 > Project: Spark > Issue Type: Bug > Components: Block Manager, Shuffle > Affects Versions: 2.2.0 > Environment: AWS EMR > Reporter: Udit Mehrotra > Attachments: logs.zip > > > Spark=E2=80=99s new AES based authentication mechanism does not seem to w= ork when configured with external shuffle service on YARN.=20 > Here is the stack trace for the error we see in the driver logs: > ERROR YarnScheduler: Lost executor 40 on ip-10-167-104-125.ec2.internal: = Unable to create executor due to Unable to register with external shuffle s= erver due to: java.lang.IllegalArgumentException: Authentication failed. > at org.apache.spark.network.crypto.AuthRpcHandler.receive= (AuthRpcHandler.java:125) > at org.apache.spark.network.server.TransportRequestHandle= r.processRpcRequest(TransportRequestHandler.java:157) > at org.apache.spark.network.server.TransportRequestHandle= r.handle(TransportRequestHandler.java:105) > at org.apache.spark.network.server.TransportChannelHandle= r.channelRead(TransportChannelHandler.java:118) > at org.spark_project.io.netty.channel.AbstractChannelHand= lerContext.invokeChannelRead(AbstractChannelHandlerContext.java:357) > at org.spark_project.io.netty.channel.AbstractChannelHand= lerContext.invokeChannelRead(AbstractChannelHandlerContext.java:343) > at org.spark_project.io.netty.channel.AbstractChannelHand= lerContext.fireChannelRead(AbstractChannelHandlerContext.java:336) > at org.spark_project.io.netty.handler.timeout.IdleStateHa= ndler.channelRead(IdleStateHandler.java:287) > at org.spark_project.io.netty.channel.AbstractChannelHand= lerContext.invokeChannelRead(AbstractChannelHandlerContext.java:357) > at org.spark_project.io.netty.channel.AbstractChannelHand= lerContext.invokeChannelRead(AbstractChannelHandlerContext.java:343) > at org.spark_project.io.netty.channel.AbstractChannelHand= lerContext.fireChannelRead(AbstractChannelHandlerContext.java:336) > at org.spark_project.io.netty.handler.codec.MessageToMess= ageDecoder.channelRead(MessageToMessageDecoder.java:102) > =20 > Here are the settings we are configuring in =E2=80=98spark-defaults=E2=80= =99 and =E2=80=98yarn-site=E2=80=99: > spark.network.crypto.enabled true > spark.network.crypto.saslFallback false > spark.authenticate true > =20 > Turning on DEBUG logs for class =E2=80=98org.apache.spark.network.crypto= =E2=80=99 on both Spark and YARN side is not giving much information either= about why authentication fails. The driver and node manager logs have been= attached to the JIRA. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org For additional commands, e-mail: issues-help@spark.apache.org