From issues-return-13589-apmail-spark-issues-archive=spark.apache.org@spark.apache.org Thu Oct 2 02:26:36 2014 Return-Path: X-Original-To: apmail-spark-issues-archive@minotaur.apache.org Delivered-To: apmail-spark-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 023F817D99 for ; Thu, 2 Oct 2014 02:26:36 +0000 (UTC) Received: (qmail 77513 invoked by uid 500); 2 Oct 2014 02:26:35 -0000 Delivered-To: apmail-spark-issues-archive@spark.apache.org Received: (qmail 77362 invoked by uid 500); 2 Oct 2014 02:26:35 -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 77230 invoked by uid 99); 2 Oct 2014 02:26:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Oct 2014 02:26:35 +0000 Date: Thu, 2 Oct 2014 02:26:35 +0000 (UTC) From: "Josh Rosen (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (SPARK-3446) FutureAction should expose the job ID MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SPARK-3446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Josh Rosen resolved SPARK-3446. ------------------------------- Resolution: Fixed Fix Version/s: 1.2.0 > FutureAction should expose the job ID > ------------------------------------- > > Key: SPARK-3446 > URL: https://issues.apache.org/jira/browse/SPARK-3446 > Project: Spark > Issue Type: New Feature > Components: Spark Core > Reporter: Marcelo Vanzin > Assignee: Marcelo Vanzin > Fix For: 1.2.0 > > > This is a follow up to SPARK-2636. > The patch for that bug added a {{jobId}} method to {{SimpleFutureAction}}. The problem is that {{SimpleFutureAction}} is not exposed through any existing API; all the {{AsyncRDDActions}} methods return just {{FutureAction}}. So clients have to restore to casting / isInstanceOf to be able to use that. > Exposing the {{jobId}} through {{FutureAction}} has extra complications, though, because {{ComplexFutureAction}} also extends that class. -- 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