title: Change spark _temporary directory path to avoid deletion of parquets
body: <p>When two or more Spark jobs have the same output directory, mutual deletion of files will be inevitable. </p>
  
  <p>I'm writting a dataframe in append mode with spark 2.4.4 and I want to add a timestamp to the tmp dir of spark to avoid these deletion. </p>
  
  <p>example: </p>
  
  <p>my JobSpark write in <code>hdfs:/outputFile/0/tmp/file1.parquet</code></p>
  
  <p>the same spark job called with other data and write in <code>hdfs:/outputFil/0/tm/file2.parquet</code>  </p>
  
  <p>I want jobSpark1 write in <code>hdfs:/outputFile/0/tmp+(timeStamp)/file1.parquet</code> 
  and  the other job write in <code>hdfs:/outputFile/0/tmp+(timeStamp)/file2.parquet</code> and next move parquets to hdfs:/outputFile/</p>