spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean R. Owen (Jira)" <>
Subject [jira] [Commented] (SPARK-28841) Spark cannot read a relative path containing ":"
Date Sat, 26 Oct 2019 23:05:00 GMT


Sean R. Owen commented on SPARK-28841:

Yes, that input is ambiguous. You'd have to prefix with "file:" or "hdfs:', etc This isn't
a problem with Spark per se but just how anything interpreting input as a potential URI faces.
I can't reproduce your issue [~zsxwing] - that works for me locally (when I fix the ? to :).
It happens to work as intended without file: because a scheme can't have a slash.

> Spark cannot read a relative path containing ":"
> ------------------------------------------------
>                 Key: SPARK-28841
>                 URL:
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.4.3
>            Reporter: Shixiong Zhu
>            Priority: Major
> Reproducer:
> {code}
> {code}
> Error:
> {code}
> java.lang.IllegalArgumentException: Relative path in absolute
URI: test:test
> {code}
> This is actually a Hadoop issue since the error is thrown from "new Path("test:test")".
I'm creating this ticket to see if we can work around this issue in Spark.

This message was sent by Atlassian Jira

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message