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

Extract BootstrapTools#getEnvironmentVariables to ConfigurationUtils#getPrefixedKeyValuePairs

    XMLWordPrintableJSON

Details

    Description

      BootstrapTools#getEnvironmentVariables actually is a general utility to extract key-value pairs with specified prefix trimmed from the Flink Configuration object. It can not only be used to extract customized environment variables in the YARN setup but also for customized annotations/labels/node-selectors in the Kubernetes setup.

      This ticket proposes to rename it to ConfigurationUtils#getPrefixedKeyValuePairs and move it to the flink-core module as a more general utility to share for the YARN/Kubernetes setup.

      Attachments

        Issue Links

          Activity

            People

              felixzheng Canbin Zheng
              felixzheng Canbin Zheng
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m