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 A607B175C2 for ; Thu, 29 Jan 2015 10:05:34 +0000 (UTC) Received: (qmail 23280 invoked by uid 500); 29 Jan 2015 10:05:35 -0000 Delivered-To: apmail-spark-issues-archive@spark.apache.org Received: (qmail 23258 invoked by uid 500); 29 Jan 2015 10:05: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 23242 invoked by uid 99); 29 Jan 2015 10:05:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jan 2015 10:05:35 +0000 Date: Thu, 29 Jan 2015 10:05:35 +0000 (UTC) From: "Lianhui Wang (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SPARK-5479) PySpark on yarn mode need to support non-local python files 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-5479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lianhui Wang updated SPARK-5479: -------------------------------- Description: In SPARK-5162 [~vgrigor] reports this: Now following code cannot work: aws emr add-steps --cluster-id "j-XYWIXMD234" \ --steps Name=SparkPi,Jar=s3://eu-west-1.elasticmapreduce/libs/script-runner/script-runner.jar,Args=[/home/hadoop/spark/bin/spark-submit,--deploy-mode,cluster,--master,yarn-cluster,--py-files,s3://mybucketat.amazonaws.com/tasks/main.py,main.py,param1],ActionOnFailure=CONTINUE so we need to support non-local python files on yarn client and cluster mode. before submitting application to Yarn, we need to download non-local files to local or hdfs path. or spark.yarn.dist.files need to support other non-local files. was: In SPARK-5162 [~vgrigor] reports it: Now following code cannot work: aws emr add-steps --cluster-id "j-XYWIXMD234" \ --steps Name=SparkPi,Jar=s3://eu-west-1.elasticmapreduce/libs/script-runner/script-runner.jar,Args=[/home/hadoop/spark/bin/spark-submit,--deploy-mode,cluster,--master,yarn-cluster,--py-files,s3://mybucketat.amazonaws.com/tasks/main.py,main.py,param1],ActionOnFailure=CONTINUE so we need to support non-local python files on yarn client and cluster mode. before submitting application to Yarn, we need to download non-local files to local or hdfs path. or spark.yarn.dist.files need to support other non-local files. > PySpark on yarn mode need to support non-local python files > ----------------------------------------------------------- > > Key: SPARK-5479 > URL: https://issues.apache.org/jira/browse/SPARK-5479 > Project: Spark > Issue Type: Bug > Components: PySpark > Reporter: Lianhui Wang > > In SPARK-5162 [~vgrigor] reports this: > Now following code cannot work: > aws emr add-steps --cluster-id "j-XYWIXMD234" \ > --steps Name=SparkPi,Jar=s3://eu-west-1.elasticmapreduce/libs/script-runner/script-runner.jar,Args=[/home/hadoop/spark/bin/spark-submit,--deploy-mode,cluster,--master,yarn-cluster,--py-files,s3://mybucketat.amazonaws.com/tasks/main.py,main.py,param1],ActionOnFailure=CONTINUE > so we need to support non-local python files on yarn client and cluster mode. > before submitting application to Yarn, we need to download non-local files to local or hdfs path. > or spark.yarn.dist.files need to support other non-local files. -- 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