Deegue opened a new pull request #25058: [SPARK-21067][SQL] Fix Thrift Server - 
CTAS fail with Unable to move source
URL: https://github.com/apache/spark/pull/25058
 
 
   ## What changes were proposed in this pull request?
   
   When we close a session of STS, FileSystem(cached by default) on HDFS will 
be closed. 
   Then if we do CTAS and trigger `Hive.moveFile`, DFSClient will do 
`checkOpen` and throw `java.io.IOException: Filesystem closed`.
   
   So we add a Spark config `spark.sql.thriftserver.hdfs.disable.cache` to 
control whether disable the FileSystem connection cache of HDFS.
   
   ## How was this patch tested?
   
   Manually tested.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to