[GitHub] [spark] kevincmchen commented on pull request #34742: [SPARK-37486][SQL][HIVE] set the ContextClassLoader before using the `addJars` in `HiveClient`

2021-12-01 Thread GitBox


kevincmchen commented on pull request #34742:
URL: https://github.com/apache/spark/pull/34742#issuecomment-983650416


   @HyukjinKwon  Could you please review the code and merge it? 


-- 
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.

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] kevincmchen commented on pull request #34742: [SPARK-37486][SQL][HIVE] set the ContextClassLoader before using the `addJars` in `HiveClient`

2021-12-01 Thread GitBox


kevincmchen commented on pull request #34742:
URL: https://github.com/apache/spark/pull/34742#issuecomment-983645625


   > Thank you for your explanation. If you are sure it will not affect the old 
case, I think this change is OK
   
   ok, thx


-- 
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.

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] kevincmchen commented on pull request #34742: [SPARK-37486][SQL][HIVE] set the ContextClassLoader before using the `addJars` in `HiveClient`

2021-11-30 Thread GitBox


kevincmchen commented on pull request #34742:
URL: https://github.com/apache/spark/pull/34742#issuecomment-983257922


   > 
   
   
   
   > I'm not sure if there is a counterexample that needs to call 
`client.addJar` first
   
   I don't think `supper.addJars` and `client.addJars` are strongly dependent.  
   the reason why i call the supper.addJars first is to set the 
ContextClassLoader of current thread,  to avoid that different class loaders 
load the same class in HiveClient。


-- 
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.

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] kevincmchen commented on pull request #34742: [SPARK-37486][SQL][HIVE] set the ContextClassLoader before using the `addJars` in `HiveClient`

2021-11-29 Thread GitBox


kevincmchen commented on pull request #34742:
URL: https://github.com/apache/spark/pull/34742#issuecomment-982257963


   > @kevincmchen mind filing a JIRA? see also 
https://spark.apache.org/contributing.html
   
   @HyukjinKwon  ok,  i have created a 
[issue](https://issues.apache.org/jira/browse/SPARK-37486) about the PR and you 
can get the details about the bug.


-- 
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.

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] kevincmchen commented on pull request #34742: [SPARK-37486][SQL][HIVE] set the ContextClassLoader before using the `addJars` in `HiveClient`

2021-11-29 Thread GitBox


kevincmchen commented on pull request #34742:
URL: https://github.com/apache/spark/pull/34742#issuecomment-982253151


   > filing
   
   


-- 
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.

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org