beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (BEAM-863) WordCount on Windows: java.nio.file.InvalidPathException
Date Tue, 13 Dec 2016 00:05:58 GMT


ASF GitHub Bot commented on BEAM-863:

GitHub user peihe opened a pull request:

    [BEAM-863] FileBasedSink: ignore exceptions when removing temp output files for issues
in Windows OS.

    Be sure to do all of the following to help us incorporate your contribution
    quickly and easily:
     - [ ] Make sure the PR title is formatted like:
       `[BEAM-<Jira issue #>] Description of pull request`
     - [ ] Make sure tests pass via `mvn clean verify`. (Even better, enable
           Travis-CI on your fork and ensure the whole test matrix passes).
     - [ ] Replace `<Jira issue #>` in the title with the actual Jira issue
           number, if there is one.
     - [ ] If this contribution is large, please file an Apache
           [Individual Contributor License Agreement](

You can merge this pull request into a Git repository by running:

    $ git pull windows-os-path

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1587
commit 1ef4eb68f5e9a8550bd45630190ac39d29e3e405
Author: Pei He <>
Date:   2016-12-12T23:43:14Z

    FileBasedSink: ignore exceptions when removing temp output files for issues in Windows


> WordCount on Windows: java.nio.file.InvalidPathException
> --------------------------------------------------------
>                 Key: BEAM-863
>                 URL:
>             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$FileBasedWriteOperation‌​.removeTemporaryFile‌​s(‌​:392)
> More details:
> We need to address this for the next release.

This message was sent by Atlassian JIRA

View raw message