public class ClasspathUtils extends Object
Constructor and Description |
---|
ClasspathUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
addMapReduceToClasspath(Map<String,String> env,
org.apache.hadoop.conf.Configuration conf) |
static org.apache.hadoop.conf.Configuration |
addToClasspathFromLocalShareLib(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path libPath) |
static void |
setupClasspath(Map<String,String> env,
org.apache.hadoop.conf.Configuration conf) |
static void |
setUsingMiniYarnCluster(boolean useMiniYarnCluster) |
public ClasspathUtils()
public static void setUsingMiniYarnCluster(boolean useMiniYarnCluster)
public static void setupClasspath(Map<String,String> env, org.apache.hadoop.conf.Configuration conf) throws IOException
IOException
public static void addMapReduceToClasspath(Map<String,String> env, org.apache.hadoop.conf.Configuration conf)
public static org.apache.hadoop.conf.Configuration addToClasspathFromLocalShareLib(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.Path libPath)
Copyright © 2018 Apache Software Foundation. All rights reserved.