beam-commits mailing list archives

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

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

ASF GitHub Bot commented on BEAM-863:
-------------------------------------

GitHub user peihe opened a pull request:

    https://github.com/apache/incubator-beam/pull/1587

    [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](https://www.apache.org/licenses/icla.txt).
    
    ---


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

    $ git pull https://github.com/peihe/incubator-beam windows-os-path

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

    https://github.com/apache/incubator-beam/pull/1587.patch

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 <peihe@google.com>
Date:   2016-12-12T23:43:14Z

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

----


> 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)

Mime
View raw message