Open kevintrannz opened 6 years ago
Did you add this package into Spark container?
@samuel-pt - How? Note that it runs from source code (not spark-submit)
How are you starting spark? Are you connecting with spark running on cluster? Or just running along with your application?
Is this issue resolved? am getting the similar class not found error. Jar "spark-sftp_2.11-1.1.3.jar" is copied to /usr/hdp/current/spark2-client/jars and spark cluster restarted.
User class threw exception: java.lang.NoClassDefFoundError: com/springml/sftp/client/SFTPClient at com.springml.spark.sftp.DefaultSource.getSFTPClient(DefaultSource.scala:186) at com.springml.spark.sftp.DefaultSource.createRelation(DefaultSource.scala:122) at org.apache.spark.sql.execution.datasources.SaveIntoDataSourceCommand.run(SaveIntoDataSourceCommand.scala:45)
You also need two other jar packages: sftp.client-1.0.3.jar and jsch-0.1.53.jar
Hi, I follow the doc but it does not work:
Please give me your idea? Thank you.