You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Scott Kidder (JIRA)" <ji...@apache.org> on 2018/04/04 00:59:00 UTC

[jira] [Created] (FLINK-9127) Filesystem State Backend logged incorrectly

Scott Kidder created FLINK-9127:
-----------------------------------

             Summary: Filesystem State Backend logged incorrectly
                 Key: FLINK-9127
                 URL: https://issues.apache.org/jira/browse/FLINK-9127
             Project: Flink
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.4.2, 1.3.2
            Reporter: Scott Kidder


When using a filesystem backend, the '[StateBackendLoader|https://github.com/apache/flink/blob/1f9c2d9740ffea2b59b8f5f3da287a0dc890ddbf/flink-runtime/src/main/java/org/apache/flink/runtime/state/StateBackendLoader.java#L123]' class produces a log message stating: "State backend is set to heap memory". 

Example:

{{2018-04-04 00:45:49,591 INFO  org.apache.flink.streaming.runtime.tasks.StreamTask           - State backend is set to heap memory (checkpoints to filesystem "hdfs://hdfs:8020/flink/checkpoints")}}

It looks like this resulted from some copy-pasta of the previous case-statement that matches on the memory backend. This bug is also present in earlier releases (1.3.2, 1.4.0) of Flink in the 'AbstractStateBackend' class.

This log statement should be corrected to indicate that a filesystem backend is in use.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)