Github user zuotingbing commented on the issue:

    https://github.com/apache/spark/pull/20029
  
    `override protected lazy val resourceLoader: HiveSessionResourceLoader = {
        val client: HiveClient = externalCatalog.client.newSession()
        new HiveSessionResourceLoader(session, client)
      }`
    Is it necessary to create a new HiveClient here since there has a 
hiveClient in externalCatalog already?
    If it is necessary, we need to supply a method to close the hiveClient 
which be created here and in this method we alsO need to clean up the 
scratchdir(`hdfsSessionPath` and `localSessionPath`)  which are created by 
HiveClientImpl.


---

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

Reply via email to