spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shixiong Zhu (Jira)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-28841) Spark cannot read a relative path containing ":"
Date Mon, 28 Oct 2019 19:50:00 GMT

    [ https://issues.apache.org/jira/browse/SPARK-28841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16961412#comment-16961412
] 

Shixiong Zhu commented on SPARK-28841:
--------------------------------------

[~srowen] Yep. ":" is not a valid char in a HDFS path. But it's valid for some other file
systems, such as local file system, or S3AFileSystem, and they allow the user to create such
files. I pointed out the codes that hit this issue in HDFS-14762.

> Spark cannot read a relative path containing ":"
> ------------------------------------------------
>
>                 Key: SPARK-28841
>                 URL: https://issues.apache.org/jira/browse/SPARK-28841
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.4.3
>            Reporter: Shixiong Zhu
>            Priority: Major
>
> Reproducer:
> {code}
> spark.read.parquet("test:test")
> {code}
> Error:
> {code}
> java.lang.IllegalArgumentException: java.net.URISyntaxException: 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
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message