use of org.apache.flink.runtime.clusterframework.ContainerSpecification in project flink by apache.
the class SSLStoreOverlayTest method testNoConf.
@Test
public void testNoConf() throws Exception {
SSLStoreOverlay overlay = new SSLStoreOverlay(null, null);
ContainerSpecification containerSpecification = new ContainerSpecification();
overlay.configure(containerSpecification);
}
use of org.apache.flink.runtime.clusterframework.ContainerSpecification in project flink by apache.
the class HadoopConfOverlayTest method testNoConf.
@Test
public void testNoConf() throws Exception {
HadoopConfOverlay overlay = new HadoopConfOverlay(null);
ContainerSpecification containerSpecification = new ContainerSpecification();
overlay.configure(containerSpecification);
}
use of org.apache.flink.runtime.clusterframework.ContainerSpecification in project flink by apache.
the class HadoopUserOverlayTest method testNoConf.
@Test
public void testNoConf() throws Exception {
HadoopUserOverlay overlay = new HadoopUserOverlay(null);
ContainerSpecification containerSpecification = new ContainerSpecification();
overlay.configure(containerSpecification);
}
use of org.apache.flink.runtime.clusterframework.ContainerSpecification in project flink by apache.
the class HadoopUserOverlayTest method testConfigure.
@Test
public void testConfigure() throws Exception {
final UserGroupInformation ugi = UserGroupInformation.createRemoteUser("test");
HadoopUserOverlay overlay = new HadoopUserOverlay(ugi);
ContainerSpecification spec = new ContainerSpecification();
overlay.configure(spec);
assertEquals(ugi.getUserName(), spec.getEnvironmentVariables().get("HADOOP_USER_NAME"));
}
use of org.apache.flink.runtime.clusterframework.ContainerSpecification in project flink by apache.
the class Krb5ConfOverlayTest method testNoConf.
@Test
public void testNoConf() throws Exception {
Krb5ConfOverlay overlay = new Krb5ConfOverlay((Path) null);
ContainerSpecification containerSpecification = new ContainerSpecification();
overlay.configure(containerSpecification);
}
Aggregations