You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Aljoscha Krettek (JIRA)" <ji...@apache.org> on 2016/04/13 10:38:25 UTC

[jira] [Resolved] (FLINK-3730) Fix RocksDB Local Directory Initialization

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

Aljoscha Krettek resolved FLINK-3730.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.0.2
                   1.1.0

Fixed in https://github.com/apache/flink/commit/db6528be00d624d6a389d5b303e565ca6b1c0f40

> Fix RocksDB Local Directory Initialization
> ------------------------------------------
>
>                 Key: FLINK-3730
>                 URL: https://issues.apache.org/jira/browse/FLINK-3730
>             Project: Flink
>          Issue Type: Bug
>          Components: state backends, Streaming
>            Reporter: Aljoscha Krettek
>            Assignee: Aljoscha Krettek
>             Fix For: 1.1.0, 1.0.2
>
>
> The test that checks whether a directory is viable is not correct and the tests in `RocksDBStateBackendConfigTest` fail to catch them: `testFailWhenNoLocalStorageDir()` and `testContinueOnSomeDbDirectoriesMissing()`
> The problem is that the backend tests whether the dir exists or can be created. The tests create the directory and set it to non-writable. This means that the check accepts these. The job would only fail later when actually trying to create a directory in the initialized data directory.



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