Github user viirya commented on the issue:

    https://github.com/apache/spark/pull/20029
  
    > The hiveClient created for the resourceLoader is only used to addJar, 
which is, in turn, to add Jar to the shared IsolatedClientLoader. Then we can 
just use the shared hive client for this purpose.
    
    Shouldn't `addJar` be session-based? At least seems in Hive it is: 
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Cli#LanguageManualCli-HiveResources
    
    Although looks like in `SessionResourceLoader` for `SessionState`, `addJar` 
isn't session-based too. So at least seems we have consistent behavior.
    
    
    
    



---

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

Reply via email to