You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kyle Weaver (JIRA)" <ji...@apache.org> on 2019/04/22 22:51:00 UTC

[jira] [Created] (BEAM-7133) Spark job server Gradle task should pass along system properties

Kyle Weaver created BEAM-7133:
---------------------------------

             Summary: Spark job server Gradle task should pass along system properties
                 Key: BEAM-7133
                 URL: https://issues.apache.org/jira/browse/BEAM-7133
             Project: Beam
          Issue Type: Improvement
          Components: runner-spark
            Reporter: Kyle Weaver
            Assignee: Kyle Weaver


The Spark job server Gradle task (:beam-runners-spark-job-server:runShadow) should pass on system properties, as Spark applications often rely on system properties for configuration. For example, if I want to enable logging, I currently have to set it programatically: 

System.setProperty("spark.eventLog.enabled", "true");

whereas I should be able to just do this:

./gradlew :beam-runners-spark-job-server:runShadow -Dspark.eventLog.enabled=true



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)