Modifier and Type | Method and Description |
---|---|
TaskUtil.ConfigBuilder |
addJarForClass(Class<?> requiredClass)
Finds the jar that contains the required class and adds it to the
distributed cache configuration.
|
TaskUtil.ConfigBuilder |
addJarPathForClass(Class<?> requiredClass)
Finds the jar that contains the required class and adds its containing
directory to the distributed cache configuration.
|
TaskUtil.ConfigBuilder |
addJars(List<String> jars)
Adds a set of jar paths to the distributed cache.
|
public TaskUtil.ConfigBuilder addJars(List<String> jars)
jars
- A list of jar pathspublic TaskUtil.ConfigBuilder addJarForClass(Class<?> requiredClass)
requiredClass
- a class required for a MR jobpublic TaskUtil.ConfigBuilder addJarPathForClass(Class<?> requiredClass)
requiredClass
- a class required for a MR jobCopyright © 2013–2015. All rights reserved.