Hello Team,
I am getting below error while writting file in SFTP server via spark dataset write,
com.jcraft.jsch.JSchException: Auth fail
at com.jcraft.jsch.Session.connect(Session.java:519)
at com.jcraft.jsch.Session.connect(Session.java:183)
at com.springml.sftp.client.SFTPClient.createSFTPChannel(SFTPClient.java:275)
at com.springml.sftp.client.SFTPClient.copyToFTP(SFTPClient.java:102)
at com.springml.spark.sftp.DefaultSource.upload(DefaultSource.scala:166)
at com.springml.spark.sftp.DefaultSource.createRelation(DefaultSource.scala:132)
at org.apache.spark.sql.execution.datasources.DataSource.write(DataSource.scala:442)
at org.apache.spark.sql.DataFrameWriter.save(DataFrameWriter.scala:211)
at org.apache.spark.sql.DataFrameWriter.save(DataFrameWriter.scala:194)
Hello Team, I am getting below error while writting file in SFTP server via spark dataset write,
com.jcraft.jsch.JSchException: Auth fail at com.jcraft.jsch.Session.connect(Session.java:519) at com.jcraft.jsch.Session.connect(Session.java:183) at com.springml.sftp.client.SFTPClient.createSFTPChannel(SFTPClient.java:275) at com.springml.sftp.client.SFTPClient.copyToFTP(SFTPClient.java:102) at com.springml.spark.sftp.DefaultSource.upload(DefaultSource.scala:166) at com.springml.spark.sftp.DefaultSource.createRelation(DefaultSource.scala:132) at org.apache.spark.sql.execution.datasources.DataSource.write(DataSource.scala:442) at org.apache.spark.sql.DataFrameWriter.save(DataFrameWriter.scala:211) at org.apache.spark.sql.DataFrameWriter.save(DataFrameWriter.scala:194)