类 YarnApplicationConfig


  • public class YarnApplicationConfig
    extends ApplicationConfig
    Represent a Yarn application.

    A Yarn application can be configured with property of version.

    • 构造器详细资料

      • YarnApplicationConfig

        public YarnApplicationConfig()
    • 方法详细资料

      • withVersion

        public YarnApplicationConfig withVersion​(String version)
        Configure the version of Yarn. The reference version is as follows:

        image type | image version | yarn version supported hadoop | 1.0.0/1.1.0/1.2.0 | 2.7.1 hadoop | 2.0.0 | 3.1.1

        参数:
        version - The version of YARN.
        返回:
        YARNApplicationConfig