Github user bosaidong commented on a diff in the pull request:

    https://github.com/apache/spark/pull/9569#discussion_r59538130
  
    --- Diff: 
sql/hive/src/main/scala/org/apache/spark/sql/hive/client/ClientWrapper.scala ---
    @@ -548,7 +547,15 @@ private[hive] class ClientWrapper(
       }
     
       def addJar(path: String): Unit = {
    -    clientLoader.addJar(path)
    +    val uri = new Path(path).toUri
    --- End diff --
    
    我在1.6.1 版本上测试了一下这次的修改,发现add jar 
的方式的确是可以通过的。 
    但是 如果按照 CREATE FUNCTION xxx AS 'org.hue.udf.MyUpper' USING JAR 
'hdfs://xxx/myudfs.jar';
    的方式, 看log是现实了加载了 , jar。 但是实际
运行时会报, class not found 。 
    请问这个bug 有思路么?



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to