Return-Path: X-Original-To: apmail-falcon-dev-archive@minotaur.apache.org Delivered-To: apmail-falcon-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2170210547 for ; Tue, 21 Jan 2014 06:27:46 +0000 (UTC) Received: (qmail 82431 invoked by uid 500); 21 Jan 2014 06:27:45 -0000 Delivered-To: apmail-falcon-dev-archive@falcon.apache.org Received: (qmail 82342 invoked by uid 500); 21 Jan 2014 06:27:43 -0000 Mailing-List: contact dev-help@falcon.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@falcon.incubator.apache.org Delivered-To: mailing list dev@falcon.incubator.apache.org Received: (qmail 82334 invoked by uid 99); 21 Jan 2014 06:27:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jan 2014 06:27:42 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 21 Jan 2014 06:27:40 +0000 Received: (qmail 81892 invoked by uid 99); 21 Jan 2014 06:27:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jan 2014 06:27:20 +0000 Date: Tue, 21 Jan 2014 06:27:20 +0000 (UTC) From: "Shwetha G S (JIRA)" To: dev@falcon.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FALCON-257) File system storage wont work with relative paths MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FALCON-257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13877262#comment-13877262 ] Shwetha G S commented on FALCON-257: ------------------------------------ Does it matter where the translation is done by falcon or oozie, as long as the user contract is unchanged. In feed, the user can specify path='project/falcon/raw_logs'. In falcon, we can translate this to path='/home/$user/project/falcon/raw_logs' and pass it to oozie. > 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)