You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sandeep Katta (Jira)" <ji...@apache.org> on 2019/08/21 14:38:02 UTC
[jira] [Created] (SPARK-28840) --jar argument with spark-sql failed
to load the jars to driver classpath
Sandeep Katta created SPARK-28840:
-------------------------------------
Summary: --jar argument with spark-sql failed to load the jars to driver classpath
Key: SPARK-28840
URL: https://issues.apache.org/jira/browse/SPARK-28840
Project: Spark
Issue Type: Bug
Components: SQL
Affects Versions: 3.0.0
Reporter: Sandeep Katta
launch spark-sql as below
./bin/spark-sql --master local --jars=/opt/BigdataTools/summation.jar
create temporary function add as 'org.apache.spark.examples.CustomAdd';
after executing above line you can see the below error
*Error in query: Can not load class 'org.apache.spark.examples.CustomAdd' when registering the function 'add', please make sure it is on the classpath;*
*Note:same command works for other spark version*
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org