Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-1652 Fixes and improvements for spark-submit/configs
  3. SPARK-1906

spark-submit doesn't send master URL to Driver in standalone cluster mode

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to IssueLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.1.0
    • Deploy
    • None

    Description

      `spark-submit` doesn't send `spark.master` to DriverWrapper. So the latter creates an empty SparkConf and throws an exception:

      A master URL must be set in your configuration
      

      The workaround is setting master explicitly in the user application.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            andrewor14 Andrew Or Assign to me
            mengxr Xiangrui Meng
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment