You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2017/05/15 07:42:04 UTC

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

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

Chesnay Schepler edited comment on FLINK-6557 at 5/15/17 7:41 AM:
------------------------------------------------------------------

You're right that the problem isn't the path length.

This issue is another incarnation of people passing a Flink {{Path}} to the java {{File}} API. In our RocksDB related code we take Files, convert them to paths, and then convert them to Strings before passing them to Rocks, when instead we should pass the path returned by the file directly.


was (Author: zentol):
You're right that the problem isn't the path length.

This issue is another incarnation of people passing a Flink {{Path}} to the java {{File}} API. In out RocksDB related code take Files, convert them to paths, and then convert them to String which before passing them to Rocks, when instead we should pass the path returned by the file directly.

> 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.3.15#6346)