public interface MesosArtifactServer extends MesosArtifactResolver
More information: http://mesos.apache.org/documentation/latest/fetcher/ http://mesos.apache.org/documentation/latest/fetcher-cache-internals/
Modifier and Type | Method and Description |
---|---|
URL |
addPath(Path path,
Path remoteFile)
Adds a path to the artifact server.
|
void |
stop()
Stops the artifact server.
|
resolve
URL addPath(Path path, Path remoteFile) throws IOException
path
- the qualified FS path to serve (local, hdfs, etc).remoteFile
- the remote path with which to locate the file.MalformedURLException
- if the remote path is invalid.IOException
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.