public class JobHelper extends Object
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
JobHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
addDirToCache(File dir,
org.apache.hadoop.fs.FileSystem fs,
Set<String> localUrls) |
static void |
addJarForJob(org.apache.hadoop.conf.Configuration conf,
String localFile) |
static void |
addToCache(org.apache.hadoop.conf.Configuration conf) |
static void |
addToCache(String file,
org.apache.hadoop.fs.FileSystem fs,
Set<String> localUrls) |
public static void addDirToCache(File dir, org.apache.hadoop.fs.FileSystem fs, Set<String> localUrls)
public static void addToCache(String file, org.apache.hadoop.fs.FileSystem fs, Set<String> localUrls)
public static void addToCache(org.apache.hadoop.conf.Configuration conf) throws IOException
IOException
public static void addJarForJob(org.apache.hadoop.conf.Configuration conf, String localFile) throws IOException
IOException
Copyright © 2014. All rights reserved.