Package org.springframework.yarn.boot.app.YarnContainerClusterApplication

Examples of org.springframework.yarn.boot.app.YarnContainerClusterApplication.OperationProperties


        "--spring.yarn.internal.ContainerClusterApplication.projectionDataAny=1",
        "--spring.yarn.internal.ContainerClusterApplication.projectionDataHosts.host1=1",
        "--spring.yarn.internal.ContainerClusterApplication.projectionDataRacks.rack1=1",
        "--spring.yarn.internal.ContainerClusterApplication.projectionDataHosts.host2=2",
        "--spring.yarn.internal.ContainerClusterApplication.projectionDataRacks.rack2=2" });
    OperationProperties properties = context.getBean(OperationProperties.class);
    assertThat(properties, notNullValue());
    assertThat(properties.getProjectionDataAny(), is(1));
    assertThat(properties.getProjectionDataHosts().get("host1"), is(1));
    assertThat(properties.getProjectionDataHosts().get("host2"), is(2));
    assertThat(properties.getProjectionDataRacks().get("rack1"), is(1));
    assertThat(properties.getProjectionDataRacks().get("rack2"), is(2));
    context.close();
  }
View Full Code Here

TOP

Related Classes of org.springframework.yarn.boot.app.YarnContainerClusterApplication.OperationProperties

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.