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

Configuration through environment variables

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • Runtime / Task
    • Deployment

    Description

      Like Hadoop or Spark, etc. Flink should support configuration via shell environment variables. In cluster setups, this makes things a lot easier because writing config files can be omitted. Many automation tools (e.g. Google's bdutil) use (or abuse) this feature.

      For example, to set up the task manager heap size, we would run `export FLINK_TASKMANAGER_HEAP=4096` before starting the task manager on a node to set the heap memory size to 4096MB.

      Environment variables should overwrite the regular config entries.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mxm Maximilian Michels
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: