public abstract class AbstractDistCacheConfigurer extends Object
JobClasspathConfigurer
implementations that use Hadoop's distributed cache to store push class files to the cluster.| Constructor and Description |
|---|
AbstractDistCacheConfigurer(String mapReduceJarFilename) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<org.apache.hadoop.fs.Path> |
getLocalPaths() |
String |
getMapredJar() |
protected org.apache.hadoop.fs.Path |
uploadFileIfNecessary(org.apache.hadoop.fs.FileSystem localFS,
org.apache.hadoop.fs.Path localPath,
org.apache.hadoop.fs.FileSystem destFS) |
public AbstractDistCacheConfigurer(String mapReduceJarFilename)
public String getMapredJar()
public com.google.common.collect.ImmutableList<org.apache.hadoop.fs.Path> getLocalPaths()
protected org.apache.hadoop.fs.Path uploadFileIfNecessary(org.apache.hadoop.fs.FileSystem localFS,
org.apache.hadoop.fs.Path localPath,
org.apache.hadoop.fs.FileSystem destFS)
throws IOException
IOExceptionCopyright © 2012–2024. All rights reserved.