spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandeep Katta (Jira)" <j...@apache.org>
Subject [jira] [Created] (SPARK-28840) --jar argument with spark-sql failed to load the jars to driver classpath
Date Wed, 21 Aug 2019 14:38:02 GMT
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


Mime
View raw message