[
https://issues.apache.org/jira/browse/FLINK-518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14037150#comment-14037150 ]
Chesnay Schepler edited comment on FLINK-518 at 6/19/14 9:12 AM:
-----------------------------------------------------------------
the file scheme is added if you pass something like "new URI("/test")".
it fails if you pass new URI("test"). for this we could add another repair measure.
{code}
if !uri.getPath().startsWith("/"){
uri = new URI("file", null, uri.getPath().getAbsolutePath(), null);
}
{code}
was (Author: zentol):
the file scheme is added if you pass something like "new URI("/test")".
> Use "file:" as the default scheme
> ---------------------------------
>
> Key: FLINK-518
> URL:
https://issues.apache.org/jira/browse/FLINK-518> Project: Flink
> Issue Type: Improvement
> Reporter: GitHub Import
> Labels: github-import
> Fix For: pre-apache
>
>
> I suggest to interpret paths that do not have an file system scheme (such as file:// for local files, or hdfs:// for HDFS files) as local files. That way, we ease the use in local setups, allowing regular file paths to be used out of the box.
> ---------------- Imported from GitHub ----------------
> Url:
https://github.com/stratosphere/stratosphere/issues/518> Created by: [StephanEwen|
https://github.com/StephanEwen]
> Labels: enhancement, user satisfaction,
> Created at: Fri Feb 28 23:00:41 CET 2014
> State: open
--
This message was sent by Atlassian JIRA
(v6.2#6252)