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

Spark resources - user configs change .count to be .amount

    XMLWordPrintableJSON

Details

    • Story
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • Spark Core
    • None

    Description

      For the Spark resources, we created the config

      spark.{driver/executor}.resource.{resourceName}.count

      I think we should change .count to be .amount. That more easily allows users to specify things with suffix like memory in a single config and they can combine the value and unit. Without this they would have to specify 2 separate configs (like .count and .unit) which seems more of a hassle for the user.

      Note the yarn configs for resources use amount:  spark.yarn.{executor/driver/am}.resource=<some amount>, where the <some amont> is value and unit together. I think that makes a lot of sense. Filed a separate Jira to add .amount to the yarn configs as well.

      Attachments

        Issue Links

          Activity

            People

              tgraves Thomas Graves
              tgraves Thomas Graves
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: