Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-2664

Deal with `--conf` options in spark-submit that relate to flags

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 1.1.0
    • None
    • None

    Description

      If someone sets a spark conf that relates to an existing flag `--master`, we should set it correctly like we do with the defaults file. Otherwise it can have confusing semantics. I noticed this after merging it, otherwise I would have mentioned it in the review.

      I think it's as simple as modifying loadDefaults to check the user-supplied options also. We might change it to loadUserProperties since it's no longer just the defaults file.

      Attachments

        Issue Links

          Activity

            People

              sandyr Sandy Ryza
              pwendell Patrick Wendell
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: