Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-911

Allow setting Thread Specific Spark JobGroup/Custom Properties based on hadoop conf

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.2-incubating
    • 3.1.0-incubating
    • hadoop
    • None

    Description

      When using a Persistant Spark context it can be beneficial to pass in new configuration options for new users/ GraphComputers. Currently the .getOrCreate call will always use the configuration from the initial construction. To work around this we should iterate over all of the properties passed into the graph computer and set them as local context properties on the thread we are operating on.

      See
      https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/SparkContext.scala#L630-L640

      This would let different graph computers set different spark properties for use with things like the Spark Fair Scheduler.

      Attachments

        Activity

          People

            okram Marko A. Rodriguez
            rspitzer Russell Spitzer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: