wangyum opened a new pull request, #8940:
URL: https://github.com/apache/incubator-gluten/pull/8940

   ## What changes were proposed in this pull request?
   
   Avoid `IllegalAccessError` if load Gluten through `--jars 
viewfs://my-cluster/gluten-velox-bundle-spark3.5_2.12-linux_amd64-1.4.0-SNAPSHOT.jar
 --conf 
spark.driver.extraClassPath=gluten-velox-bundle-spark3.5_2.12-linux_amd64-1.4.0-SNAPSHOT.jar
 --conf 
spark.executor.extraClassPath=gluten-velox-bundle-spark3.5_2.12-linux_amd64-1.4.0-SNAPSHOT.jar`:
   ```
   java.lang.IllegalAccessError: failed to access class 
org.apache.hadoop.fs.viewfs.InodeTree from class 
org.apache.hadoop.fs.viewfs.ViewFileSystemUtils$ 
(org.apache.hadoop.fs.viewfs.InodeTree is in unnamed module of loader 'app'; 
org.apache.hadoop.fs.viewfs.ViewFileSystemUtils$ is in unnamed module of loader 
org.apache.spark.util.MutableURLClassLoader @7b25ab31)
        at 
org.apache.hadoop.fs.viewfs.ViewFileSystemUtils$.convertViewfsToHdfs(ViewFileSystemUtils.scala:36)
        at 
org.apache.hadoop.fs.viewfs.ViewFileSystemUtils$.$anonfun$convertViewfsToHdfs$2(ViewFileSystemUtils.scala:71)
        at scala.collection.mutable.HashMap.getOrElseUpdate(HashMap.scala:86)
        at 
org.apache.hadoop.fs.viewfs.ViewFileSystemUtils$.$anonfun$convertViewfsToHdfs$1(ViewFileSystemUtils.scala:71)
   ```
   
   (Fixes: \#8939)
   
   ## How was this patch tested?
   
   manual tests
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to