You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Davor Bonaci (JIRA)" <ji...@apache.org> on 2016/12/13 05:15:59 UTC

[jira] [Resolved] (BEAM-863) WordCount on Windows: java.nio.file.InvalidPathException

     [ https://issues.apache.org/jira/browse/BEAM-863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davor Bonaci resolved BEAM-863.
-------------------------------
    Resolution: Fixed

This is now fixed, by catching and ignoring the exception.

[~peihe0@gmail.com], would you mind filing a separate issue for the long term fix?

> WordCount on Windows: java.nio.file.InvalidPathException
> --------------------------------------------------------
>
>                 Key: BEAM-863
>                 URL: https://issues.apache.org/jira/browse/BEAM-863
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-core
>            Reporter: Davor Bonaci
>            Assignee: Pei He
>             Fix For: 0.4.0-incubating
>
>
> Running basic, unchanged WordCount on Windows with local files results in an exception during cleanup:
> Caused by: java.nio.file.InvalidPathException: Illegal char <\*> at index 46: C:\\dir\\beam_material\\result-temp-\* at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.jav‌​a:18) at org.apache.beam.sdk.io.FileBasedSink$FileBasedWriteOperation‌​.removeTemporaryFile‌​s(FileBasedSink.java‌​:392)
> More details: http://stackoverflow.com/questions/40285433/apache-beam-exception-while-running-wordcount-example-in-eclipse
> We need to address this for the next release.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)