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

Make AbstractYarnClusterDescriptor immutable

    XMLWordPrintableJSON

Details

    Description

      AbstractYarnClusterDescriptor should be made immutable. Currently, its internal configuration is modified from different places which makes it difficult to reason about the code. For example, it should not be possible to modify the zookeeperNamespace using a setter method. A user of this class should be forced to provide all information prior to creating the instance, e.g., by passing a org.apache.flink.configuration.Configuration object.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gjy Gary Yao
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: