public class MacSnappyJavaWorkaround extends StageConfigurator
snappy-java on Mac OSX.| Modifier and Type | Field and Description | 
|---|---|
static String | 
KEY_ENABLED
The configuration key of whether this feature is enabled or not. 
 | 
static String | 
KEY_SKIP_ON_UNKNOWN
The configuration key of whether skip installing for unrecognized versions or not. 
 | 
| Constructor and Description | 
|---|
MacSnappyJavaWorkaround()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
configure(org.apache.hadoop.mapreduce.Job job)
Configures the target job. 
 | 
static void | 
install()
Installs workaround for  
snappy-java if it is effective. | 
static void | 
install(boolean skipOnUnknown)
Installs workaround for  
snappy-java if it is effective. | 
public static final String KEY_ENABLED
public static final String KEY_SKIP_ON_UNKNOWN
public void configure(org.apache.hadoop.mapreduce.Job job)
               throws IOException,
                      InterruptedException
StageConfiguratorconfigure in class StageConfiguratorjob - the target Job objectIOException - if failed to configure the jobInterruptedException - if interrupted while configuring Job objectpublic static void install()
snappy-java if it is effective.public static void install(boolean skipOnUnknown)
snappy-java if it is effective.skipOnUnknown - true to skip if version is unrecognized, otherwise falseCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.