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

Internal cpu configuration option is leaked in logs

    XMLWordPrintableJSON

Details

    Description

      The configuration option `taskmanager.cpu.cores` is meant for internal usages only and should not be advertised to users atm.

      However, the following logs could be printed when Flink runs in local environment, which not only leaks the option to the users, but may also mislead them to explicitly set it.

      "The configuration option taskmanager.cpu.cores required for local execution is not set, setting it to xxx".

      The log comes from `TaskExecutorResourceUtils#adjustForLocalExecution`.

      Attachments

        Activity

          People

            Unassigned Unassigned
            xtsong Xintong Song
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: