Skip to content

No such file error #76

@giobaro

Description

@giobaro

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions