flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mohit Anchlia (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-7330) Unable to read file on windows - InvalidFilePathException
Date Tue, 01 Aug 2017 22:18:00 GMT

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

Mohit Anchlia commented on FLINK-7330:
--------------------------------------

For some reason it is working today. I really don't understand why.

> Unable to read file on windows - InvalidFilePathException
> ---------------------------------------------------------
>
>                 Key: FLINK-7330
>                 URL: https://issues.apache.org/jira/browse/FLINK-7330
>             Project: Flink
>          Issue Type: Bug
>         Environment: windows 10, flink 1.3.1
>            Reporter: Mohit Anchlia
>
> It doesn't matter what I use for inputFormat.setFilePath() I keep getting this error:
> {code:java}
> //doesn't work
> format.setFilePath("file:///c:/proj/test/a.txt.txt");
> format.setFilePath("file:/c:/proj/test/a.txt.txt");
> {code}
> {code:java}
> Caused by: java.nio.file.InvalidPathException: Illegal char <:> at index 2: /C:/Users/m/default/flink-example/pom.xml
> at sun.nio.fs.WindowsPathParser.normalize(Unknown Source)
> at sun.nio.fs.WindowsPathParser.parse(Unknown Source)
> at sun.nio.fs.WindowsPathParser.parse(Unknown Source)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message