[ 
https://issues.apache.org/jira/browse/SPARK-41401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

sinlang updated SPARK-41401:
----------------------------
    Description: 
i want't change different staging dir when write temporary data using , but 
spark3 seen can only write in table path

spark.yarn.stagingDir parameter only work when use spark2

 

in FileCommitProtocol  file :  

  def getStagingDir(path: String, jobId: String): Path = {
    new Path(path, ".spark-staging-" + jobId)
  }
}

  was:
i want't change different staging dir when write temporary data using , but 
spark3 seen can only write in table path

spark.yarn.stagingDir parameter only work when use spark2

!image-2022-12-06-11-31-29-723.png!


> spark2 stagedir can't be change 
> --------------------------------
>
>                 Key: SPARK-41401
>                 URL: https://issues.apache.org/jira/browse/SPARK-41401
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 3.2.2, 3.2.3
>            Reporter: sinlang
>            Priority: Major
>
> i want't change different staging dir when write temporary data using , but 
> spark3 seen can only write in table path
> spark.yarn.stagingDir parameter only work when use spark2
>  
> in FileCommitProtocol  file :  
>   def getStagingDir(path: String, jobId: String): Path = {
>     new Path(path, ".spark-staging-" + jobId)
>   }
> }



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to