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 3B0D2200BDA for ; Tue, 13 Dec 2016 19:39:06 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 39B0F160B23; Tue, 13 Dec 2016 18:39:06 +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 A87E9160B07 for ; Tue, 13 Dec 2016 19:39:05 +0100 (CET) Received: (qmail 88027 invoked by uid 500); 13 Dec 2016 18:38:59 -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 87795 invoked by uid 99); 13 Dec 2016 18:38:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Dec 2016 18:38:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A39F42C03E2 for ; Tue, 13 Dec 2016 18:38:59 +0000 (UTC) Date: Tue, 13 Dec 2016 18:38:59 +0000 (UTC) From: "Marcelo Vanzin (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SPARK-18840) HDFSCredentialProvider throws exception in non-HDFS security environment MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 13 Dec 2016 18:39:06 -0000 [ https://issues.apache.org/jira/browse/SPARK-18840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcelo Vanzin updated SPARK-18840: ----------------------------------- Fix Version/s: 2.2.0 2.1.1 > HDFSCredentialProvider throws exception in non-HDFS security environment > ------------------------------------------------------------------------ > > Key: SPARK-18840 > URL: https://issues.apache.org/jira/browse/SPARK-18840 > Project: Spark > Issue Type: Bug > Components: YARN > Affects Versions: 1.6.3, 2.1.0 > Reporter: Saisai Shao > Assignee: Saisai Shao > Priority: Minor > Fix For: 2.1.1, 2.2.0 > > > Current in {{HDFSCredentialProvider}}, the code logic assumes HDFS delegation token should be existed, this is ok for HDFS environment, but for some cloud environment like Azure, HDFS is not required, so it will throw exception: > {code} > java.util.NoSuchElementException: head of empty list > at scala.collection.immutable.Nil$.head(List.scala:337) > at scala.collection.immutable.Nil$.head(List.scala:334) > at org.apache.spark.deploy.yarn.Client.getTokenRenewalInterval(Client.scala:627) > {code} > We should also consider this situation. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org For additional commands, e-mail: issues-help@spark.apache.org