Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-9127

Filesystem State Backend logged incorrectly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 1.3.2, 1.4.2
    • None
    • None
    • None

    Description

      When using a filesystem backend, the 'StateBackendLoader' 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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              skidder Scott Kidder
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: