520a355516
### What changes were proposed in this pull request? This PR replaces `SessionState.start` with `shim.setCurrentSessionState/SessionState.setCurrentSessionState`. ### Why are the changes needed? To avoid [SessionState.createSessionDirs](https://github.com/apache/hive/blob/rel/release-2.3.8/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java#L652-L696) creating too many directories and Spark SQL do not need it: ![image](https://user-images.githubusercontent.com/5399861/116766834-28ea7080-aa5f-11eb-85ff-07bcaee444e5.png) ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Existing test. Closes #32410 from wangyum/setCurrentSessionState. Authored-by: Yuming Wang <yumwang@ebay.com> Signed-off-by: Yuming Wang <yumwang@ebay.com> |
||
---|---|---|
.. | ||
src | ||
pom.xml |