[ 
https://issues.apache.org/jira/browse/SPARK-20019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15932691#comment-15932691
 ] 

Sean Owen commented on SPARK-20019:
-----------------------------------

I mean I believe you need to attach this to your app with --jars, for example. 
I don't think you can add it at runtime in the user classloader, which is what 
you've shown.

> spark can not load alluxio fileSystem after adding jar
> ------------------------------------------------------
>
>                 Key: SPARK-20019
>                 URL: https://issues.apache.org/jira/browse/SPARK-20019
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.1.0
>            Reporter: roncenzhao
>         Attachments: exception_stack.png
>
>
> The follwing sql cannot load alluxioSystem and it throws 
> `ClassNotFoundException`.
> ```
> add jar /xxx/xxx/alluxioxxx.jar;
> set fs.alluxio.impl=alluxio.hadoop.FileSystem;
> select * from alluxionTbl;
> ```



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to