sandeep-katta opened a new pull request #27192: [SPARK-30136][Core] Removes the deleted jar from the executor ClassPath URL: https://github.com/apache/spark/pull/27192 ### What changes were proposed in this pull request? if the executor finds the new jar(updated jar) it will delete the jar from urlClassLoader by recreating the ClassLoader. It is required to refresh the executor ClassPath for any change in the jar defination. ### Why are the changes needed? This is fixed as a part of Umbrella jira [SPARK-30133](https://issues.apache.org/jira/browse/SPARK-30133). After this fix user can updated the jar definition without restarting the thrift Server. ### Does this PR introduce any user-facing change? Not ### How was this patch tested? Manually in spark-sql and beeline using below steps // old definition returns 100*X // new definition returns 10 *X add jar 'file:/opt/BigdataTools/old/UdfTest.jar'; create function testUdf as 'com.spark.udftest.customUDF'; select testUdf(10),age from 2rec; delete jar 'file:/opt/BigdataTools/old/UdfTest.jar'; add jar 'file:/opt/BigdataTools/new/UdfTest.jar'; select testUdf(10),age from 2rec; 
---------------------------------------------------------------- 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]
