GitHub user melentye opened a pull request:

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

    [FLINK-5014] [RocksDB backend] add toString for RocksDBStateBackend

    Adding toString() for RocksDBStateBackend.
    
    Example output 1:
    
    > RocksDB State Backend {isInitialized=false, configuredDbBasePaths=null, 
initializedDbBasePaths=null, checkpointStreamBackend=File State Backend @ 
file:/Users/melentye/tmp/flink-checkpoints}
    
    Example output 2:
    
    > RocksDB State Backend {isInitialized=true, 
configuredDbBasePaths=[/var/folders/k_/t4spznpj543cgt7vt59_6jp00000gn/T/junit6807913496462961318/junit8522690214676090832],
 
initializedDbBasePaths=[/var/folders/k_/t4spznpj543cgt7vt59_6jp00000gn/T/junit6807913496462961318/junit8522690214676090832],
 checkpointStreamBackend=File State Backend @ 
file:/var/folders/k_/t4spznpj543cgt7vt59_6jp00000gn/T/junit6807913496462961318/junit3625485689993452525}
    
    Normally I wouldn't cover toString method with unit tests, let me know if 
that's something we'd like to have in this particular case.

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

    $ git pull https://github.com/melentye/flink 
FLINK-5014-add-toString-to-RocksDBStateBackend

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

    https://github.com/apache/flink/pull/2760.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 #2760
    
----
commit 131ce7213c4b7581a6b81ebd87683aa1375ef2df
Author: Andrey Melentyev <andrey.melent...@gmail.com>
Date:   2016-11-05T07:18:38Z

    [FLINK-5014] [RocksDB backend] add toString for RocksDBStateBackend

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to