@InterfaceAudience.Private public class StreamUtil extends Object
Constructor and Description |
---|
StreamUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
findInClasspath(String className) |
static String |
findInClasspath(String className,
ClassLoader loader) |
static Class |
goodClassOrNull(Configuration conf,
String className,
String defaultPackage)
It may seem strange to silently switch behaviour when a String
is not a classname; the reason is simplified Usage:
|
static boolean |
isLocalJobTracker(JobConf job) |
static String |
regexpEscape(String plain) |
public static Class goodClassOrNull(Configuration conf, String className, String defaultPackage)
-mapper [classname | program ] instead of the explicit Usage: [-mapper program | -javamapper classname], -mapper and -javamapper are mutually exclusive. (repeat for -reducer, -combiner)
public static String findInClasspath(String className, ClassLoader loader)
public static boolean isLocalJobTracker(JobConf job)
Copyright © 2013 Apache Software Foundation. All rights reserved.