You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by "Md. Rezaul Karim" <re...@insight-centre.org> on 2016/12/08 10:52:09 UTC
"Failed to find data source: libsvm" while running Spark application
with jar
Hi there,
I am getting the following error while trying read an input file in libsvm
format during running a Spark application jar.
*Exception in thread "main" java.lang.ClassNotFoundException: Failed to
find data source: libsvm. *
*at*
*org.apache.spark.sql.execution.datasources.DataSource.lookupDataSource(DataSource.scala:148)*
The remain error log contains similar message.
The Java application works fine on Eclipse. However, while packaging and
running the corresponding jar file, I am getting the above error which is
really weird!
I believe, it's all about the format of the input file. Any kind of help is
appreciated.
Regards,
_________________________________
*Md. Rezaul Karim* BSc, MSc
Ph.D. Researcher, INSIGHT Centre for Data Analytics
National University of Ireland, Galway
IDA Business Park, Dangan, Galway, Ireland
Web: http://www.reza-analytics.eu/index.html
<http://139.59.184.114/index.html>