Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spark sftp getting auth error #69

Open
yogeshlokhande24 opened this issue Sep 20, 2019 · 1 comment
Open

Spark sftp getting auth error #69

yogeshlokhande24 opened this issue Sep 20, 2019 · 1 comment

Comments

@yogeshlokhande24
Copy link

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)

@sahilrana02
Copy link

is this issue resolved @yogeshlokhande24 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants