Skip to content

No such file error #76

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

Open
giobaro opened this issue May 13, 2020 · 1 comment
Open

No such file error #76

giobaro opened this issue May 13, 2020 · 1 comment

Comments

@giobaro
Copy link

giobaro commented May 13, 2020

I have a working sftp docker installation.
When I try to read a file with this command

df = spark.read.format("com.springml.spark.sftp").option("host", "xxxx").option("username", "sftpuser").option("password", "xxx").option("fileType", "csv").option("header","true").load("/home/sftpuser/upload/test.csv")

I receive this error
Py4JJavaError: An error occurred while calling o438.load.
: 2: No such file

I verified that file test1.csv is the /home/sftpuser/upload
Can you help me in solving this issue?

@abhi9cr7
Copy link

I have the same issue. Tried every possible way for the location. But it keeps returning "No Such File" error.

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