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

Document resource module in PySpark doc and rename/move classes

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: PySpark, Spark Core
    • Labels:
      None

      Description

      SPARK-29641 and SPARK-28234 added new pyspark.resrouce module.
      It should be documented as it's an API.

      Also, the current structure is as follows:

      pyspark
      ├── resource
      │   ├── executorrequests.py
      │   │   ├── class ExecutorResourceRequest 
      │   │   └── class ExecutorResourceRequests
      │   ├── taskrequests.py
      │   │   ├── class TaskResourceRequest 
      │   │   └── class TaskResourceRequests
      │   ├── resourceprofilebuilder.py
      │   │   └── class ResourceProfileBuilder
      │   ├── resourceprofile.py
      │   │   └── class ResourceProfile
      └── resourceinformation
          └── class ResourceInformation
      

      Might better put into fewer and simpler modules.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hyukjin.kwon Hyukjin Kwon
                Reporter:
                hyukjin.kwon Hyukjin Kwon
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: