Return-Path: X-Original-To: apmail-flink-dev-archive@www.apache.org Delivered-To: apmail-flink-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CC5DC17D49 for ; Wed, 8 Apr 2015 13:45:33 +0000 (UTC) Received: (qmail 59403 invoked by uid 500); 8 Apr 2015 13:45:33 -0000 Delivered-To: apmail-flink-dev-archive@flink.apache.org Received: (qmail 59350 invoked by uid 500); 8 Apr 2015 13:45:33 -0000 Mailing-List: contact dev-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list dev@flink.apache.org Received: (qmail 59339 invoked by uid 99); 8 Apr 2015 13:45:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Apr 2015 13:45:33 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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; Wed, 08 Apr 2015 13:45:32 +0000 Received: (qmail 59160 invoked by uid 99); 8 Apr 2015 13:45:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Apr 2015 13:45:12 +0000 Date: Wed, 8 Apr 2015 13:45:12 +0000 (UTC) From: "Fabian Hueske (JIRA)" To: dev@flink.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FLINK-1848) Paths containing a Windows drive letter cannot be used in FileOutputFormats 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 Fabian Hueske created FLINK-1848: ------------------------------------ Summary: Paths containing a Windows drive letter cannot be used in FileOutputFormats Key: FLINK-1848 URL: https://issues.apache.org/jira/browse/FLINK-1848 Project: Flink Issue Type: Bug Affects Versions: 0.9 Environment: Windows (Cygwin and native) Reporter: Fabian Hueske Assignee: Fabian Hueske Priority: Critical Fix For: 0.9 Paths that contain a Windows drive letter such as {{file:///c:/my/directory}} cannot be used as output path for {{FileOutputFormat}}. If done, the following exception is thrown: {code} Caused by: java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: file:c: at org.apache.flink.core.fs.Path.initialize(Path.java:242) at org.apache.flink.core.fs.Path.(Path.java:225) at org.apache.flink.core.fs.Path.(Path.java:138) at org.apache.flink.core.fs.local.LocalFileSystem.pathToFile(LocalFileSystem.java:147) at org.apache.flink.core.fs.local.LocalFileSystem.mkdirs(LocalFileSystem.java:232) at org.apache.flink.core.fs.local.LocalFileSystem.mkdirs(LocalFileSystem.java:233) at org.apache.flink.core.fs.local.LocalFileSystem.mkdirs(LocalFileSystem.java:233) at org.apache.flink.core.fs.local.LocalFileSystem.mkdirs(LocalFileSystem.java:233) at org.apache.flink.core.fs.local.LocalFileSystem.mkdirs(LocalFileSystem.java:233) at org.apache.flink.core.fs.FileSystem.initOutPathLocalFS(FileSystem.java:603) at org.apache.flink.api.common.io.FileOutputFormat.open(FileOutputFormat.java:233) at org.apache.flink.api.java.io.CsvOutputFormat.open(CsvOutputFormat.java:158) at org.apache.flink.runtime.operators.DataSinkTask.invoke(DataSinkTask.java:183) at org.apache.flink.runtime.execution.RuntimeEnvironment.run(RuntimeEnvironment.java:217) at java.lang.Thread.run(Unknown Source) Caused by: java.net.URISyntaxException: Relative path in absolute URI: file:c: at java.net.URI.checkPath(Unknown Source) at java.net.URI.(Unknown Source) at org.apache.flink.core.fs.Path.initialize(Path.java:240) ... 14 more {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)