spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hyukjin Kwon (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (SPARK-3685) Spark's local dir should accept only local paths
Date Tue, 12 Dec 2017 08:03:07 GMT

     [ https://issues.apache.org/jira/browse/SPARK-3685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hyukjin Kwon reassigned SPARK-3685:
-----------------------------------

    Assignee: Hyukjin Kwon

> Spark's local dir should accept only local paths
> ------------------------------------------------
>
>                 Key: SPARK-3685
>                 URL: https://issues.apache.org/jira/browse/SPARK-3685
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core, YARN
>    Affects Versions: 1.1.0
>            Reporter: Andrew Or
>            Assignee: Hyukjin Kwon
>             Fix For: 2.3.0
>
>
> When you try to set local dirs to "hdfs:/tmp/foo" it doesn't work. What it will try to
do is create a folder called "hdfs:" and put "tmp" inside it. This is because in Util#getOrCreateLocalRootDirs
we use java.io.File instead of Hadoop's file system to parse this path. We also need to resolve
the path appropriately.
> This may not have an urgent use case, but it fails silently and does what is least expected.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message