public class FlinkDistributionOverlay extends Object
The overlayed Flink is indistinguishable from (and interchangeable with) a normal installation of Flink. For a docker image-based container, it should be possible to bypass this overlay and rely on the normal installation method.
The following files are copied to the container: - bin/ - conf/ - lib/ - plugins/
Modifier and Type | Class and Description |
---|---|
static class |
FlinkDistributionOverlay.Builder
A builder for the
FlinkDistributionOverlay . |
Modifier and Type | Method and Description |
---|---|
protected void |
addPathRecursively(File sourcePath,
Path targetPath,
ContainerSpecification env)
Add a path recursively to the container specification.
|
void |
configure(ContainerSpecification container)
Configure the given container specification.
|
static FlinkDistributionOverlay.Builder |
newBuilder() |
public void configure(ContainerSpecification container) throws IOException
ContainerOverlay
IOException
public static FlinkDistributionOverlay.Builder newBuilder()
protected void addPathRecursively(File sourcePath, Path targetPath, ContainerSpecification env) throws IOException
sourcePath
- the path to add.targetPath
- the target path.env
- the specification to mutate.IOException
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.