public class Krb5ConfOverlay extends Object
The following files are copied to the container: - krb5.conf
The following Java system properties are set in the container: - java.security.krb5.conf
| 限定符和类型 | 类和说明 |
|---|---|
static class |
Krb5ConfOverlay.Builder
A builder for the
Krb5ConfOverlay. |
| 构造器和说明 |
|---|
Krb5ConfOverlay(File krb5Conf) |
Krb5ConfOverlay(org.apache.flink.core.fs.Path krb5Conf) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
addPathRecursively(File sourcePath,
org.apache.flink.core.fs.Path targetPath,
ContainerSpecification env)
Add a path recursively to the container specification.
|
void |
configure(ContainerSpecification container)
Configure the given container specification.
|
static Krb5ConfOverlay.Builder |
newBuilder() |
public Krb5ConfOverlay(@Nullable org.apache.flink.core.fs.Path krb5Conf)
public void configure(ContainerSpecification container) throws IOException
ContainerOverlayIOExceptionpublic static Krb5ConfOverlay.Builder newBuilder()
protected void addPathRecursively(File sourcePath, org.apache.flink.core.fs.Path targetPath, ContainerSpecification env) throws IOException
If the path is a directory, the directory itself (not just its contents) is added to the target path.
The execute bit is preserved; permissions aren't.
sourcePath - the path to add.targetPath - the target path.env - the specification to mutate.IOExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.