You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/07/06 11:43:00 UTC

[jira] [Commented] (FLINK-6557) RocksDbStateBackendTest fails on Windows

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

ASF GitHub Bot commented on FLINK-6557:
---------------------------------------

GitHub user vschafer opened a pull request:

    https://github.com/apache/flink/pull/4269

    FLINK-6557 Fixing tests for RocksDB state backend on Windows

    This is an alternate fix for issue FLINK-6557 to https://github.com/apache/flink/pull/3899 which seems to have failed in CI testing. The proposed fix uses the same technique used to solve this issue in other parts of the Flink codebase, making it consistent and easy to refactor in the future.
    
    Description from the commit message:
    "Fixing tests for RocksDB state backend on Windows. The original path to RocksDB contains "/" character at the beginning of the String, which is not accepted by the RocksDB implementation. The fix uses logic consistent with existing handling of this issue in other parts of the codebase."

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

    $ git pull https://github.com/vschafer/flink master

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

    https://github.com/apache/flink/pull/4269.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 #4269
    
----
commit 65463ca0b8fdcfa249d9c054c254d98559f54b05
Author: Vladimir Schafer <vl...@king.com>
Date:   2017-07-06T11:36:21Z

    FLINK-6557 Fixing tests for RocksDB state backend on Windows. The original path to RocksDB contains "/" character at the beginning of the String, which is not accepted by the RocksDB implementation. The fix uses logic consistent with existing handling of this issue in other parts of the codebase.

----


> RocksDbStateBackendTest fails on Windows
> ----------------------------------------
>
>                 Key: FLINK-6557
>                 URL: https://issues.apache.org/jira/browse/FLINK-6557
>             Project: Flink
>          Issue Type: Improvement
>          Components: State Backends, Checkpointing, Tests
>    Affects Versions: 1.3.0, 1.4.0
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>
> The {{RocksDbStateBackendTest}} fails on windows when incremental checkpoint is enabled.
> Based on the exception i guess the file name is just simply too long:
> {code}
> org.rocksdb.RocksDBException: IO error: Failed to create dir: /C:/Users/Zento/AppData/Local/Temp/junit572330160893758355/junit5754599533651878867/job-ecbdb9df76fd3a39108dac7c515e3214_op-Test_uuid-6a43f1f6-1f35-443e-945c-aab3643e62fc/chk-0.tmp: Invalid argument
> {code}



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