You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Shwetha G S (JIRA)" <ji...@apache.org> on 2014/01/20 12:18:23 UTC
[jira] [Comment Edited] (FALCON-257) File system storage wont work
with relative paths
[ https://issues.apache.org/jira/browse/FALCON-257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13876247#comment-13876247 ]
Shwetha G S edited comment on FALCON-257 at 1/20/14 11:17 AM:
--------------------------------------------------------------
If you want to support relative paths in falcon, falcon can construct absolute path from relative path and pass absolute path to oozie. Won't that work?
was (Author: shwethags):
If you want to support relative paths in falcon, you can use the user specified in feed xml and form absolute path and pass that to oozie. Will that help?
> 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
> Assignee: Venkatesh Seetharam
> Priority: Critical
> Fix For: 0.5
>
> Attachments: FALCON-257.patch
>
>
> 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)