GitHub user mgaido91 opened a pull request: https://github.com/apache/spark/pull/20281
[SPARK-23089][STS] Recreate session log directory if it doesn't exist ## What changes were proposed in this pull request? When creating a session directory, Thrift should create the parent directory (i.e. /tmp/base_session_log_dir) if it is not present. It is common that many tools delete empty directories, so the directory may be deleted. This can cause the session log to be disabled. This was fixed in HIVE-12262: this PR brings it in Spark too. ## How was this patch tested? manual tests You can merge this pull request into a Git repository by running: $ git pull https://github.com/mgaido91/spark SPARK-23089 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/20281.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #20281 ---- ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org