falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Venkatesh Seetharam (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-257) File system storage wont work with relative paths
Date Sat, 11 Jan 2014 06:16:50 GMT

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

Venkatesh Seetharam commented on FALCON-257:
--------------------------------------------

A true relative url may not be possible on second thoughts. FS substitutes user home dir if
the path is relative. I don't think Oozie would support this and FileSystemStorage also does
not support relative paths since it prefixes storage url.

> File system storage wont work with relative paths
> -------------------------------------------------
>
>                 Key: FALCON-257
>                 URL: https://issues.apache.org/jira/browse/FALCON-257
>             Project: Falcon
>          Issue Type: Bug
>    Affects Versions: 0.4
>            Reporter: Venkatesh Seetharam
>            Priority: Critical
>
> I think I introduced this in FALCON-85. I was testing with relative URLs in feed and
process definitions and it started failing with malformed URI.
> Workflow failed, error message[IOException: E0902: Exception occured: [Incomplete HDFS
URI, no host: hdfs://venkatesh-secure-falcon-1.cs1cloud.internal:8020falcon/demo/apps/ingest/fs
> This is a simple line change:
> {code}
>         return storageUrl + new Path(locationForType.getPath());
> {code}
> to
> {code}
>         return new Path(storageUrl + "/" + locationForType.getPath()).toString();
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message