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 D4A73200B7C for ; Thu, 8 Sep 2016 14:42:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D36AC160ABD; Thu, 8 Sep 2016 12:42:24 +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 26E2C160AA5 for ; Thu, 8 Sep 2016 14:42:24 +0200 (CEST) Received: (qmail 39561 invoked by uid 500); 8 Sep 2016 12:42:23 -0000 Mailing-List: contact commits-help@pirk.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pirk.incubator.apache.org Delivered-To: mailing list commits@pirk.incubator.apache.org Received: (qmail 39552 invoked by uid 99); 8 Sep 2016 12:42:23 -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; Thu, 08 Sep 2016 12:42:23 +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 05153C03CE for ; Thu, 8 Sep 2016 12:42:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.626 X-Spam-Level: X-Spam-Status: No, score=-4.626 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-1.426] autolearn=disabled Received: from mx2-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 1xctXvsv9-ZX for ; Thu, 8 Sep 2016 12:42:22 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with SMTP id 854A860EEA for ; Thu, 8 Sep 2016 12:42:21 +0000 (UTC) Received: (qmail 38997 invoked by uid 99); 8 Sep 2016 12:42:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Sep 2016 12:42:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 986DB2C0059 for ; Thu, 8 Sep 2016 12:42:20 +0000 (UTC) Date: Thu, 8 Sep 2016 12:42:20 +0000 (UTC) From: "Ellison Anne Williams (JIRA)" To: commits@pirk.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (PIRK-62) Local Properties Files Not Picked Up by Responder Using spark-submit MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 08 Sep 2016 12:42:25 -0000 [ https://issues.apache.org/jira/browse/PIRK-62?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ellison Anne Williams updated PIRK-62: -------------------------------------- Fix Version/s: 0.1.1 > Local Properties Files Not Picked Up by Responder Using spark-submit > -------------------------------------------------------------------- > > Key: PIRK-62 > URL: https://issues.apache.org/jira/browse/PIRK-62 > Project: PIRK > Issue Type: Bug > Reporter: Ellison Anne Williams > Assignee: Ellison Anne Williams > Fix For: 0.1.1 > > > When launching the Responder using spark-submit, the local property file given by the '--localPropFile' argument (within the localFS of the launching machine) is not picked up. This is due to the fact the localFS is not available to the instance launched by spark-submit. > This can be fixed in one of two ways: > (1) Place the 'local' properties files in a directory in hdfs and have everything that ends in '.properties' be read and parsed into the system properties > or > (2) Leave the local properties file on the localFS and use the SparkLauncher to launch all spark jobs from the Responder (the local prop file will be parsed and the properties will be passed in as args to the instance). > I am leaning towards (1) as we have had some trouble with the SparkLauncher correctly picking up 'spark-home' (the directory containing the spark-submit script) on various cloud platforms (AWS and GCP). -- This message was sent by Atlassian JIRA (v6.3.4#6332)