public abstract class BcMRBase
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_SOURCE_FILE_NAME |
static int |
PERIODIC_COUNTER_OUTPUT_PERIOD |
| Constructor and Description |
|---|
BcMRBase() |
| Modifier and Type | Method and Description |
|---|---|
AccumuloGraphConfiguration |
getAccumuloGraphConfiguration() |
org.apache.accumulo.core.client.security.tokens.AuthenticationToken |
getAuthorizationToken() |
com.mware.core.config.Configuration |
getBcConfig() |
protected org.apache.hadoop.mapred.JobConf |
getConfiguration(String[] args,
com.mware.core.config.Configuration bcConfig) |
String |
getInstanceName() |
protected String |
getJobName() |
String |
getPrincipal() |
String |
getZooKeepers() |
boolean |
isLocal() |
protected void |
printCounters(org.apache.hadoop.mapreduce.Job job) |
protected abstract void |
processArgs(org.apache.hadoop.mapred.JobConf conf,
String[] args) |
int |
run(String[] args) |
protected abstract void |
setupJob(org.apache.hadoop.mapreduce.Job job) |
public static final String CONFIG_SOURCE_FILE_NAME
public static final int PERIODIC_COUNTER_OUTPUT_PERIOD
public int run(String[] args) throws Exception
run in interface org.apache.hadoop.util.ToolExceptionpublic boolean isLocal()
protected void printCounters(org.apache.hadoop.mapreduce.Job job)
protected String getJobName()
protected abstract void setupJob(org.apache.hadoop.mapreduce.Job job)
throws Exception
Exceptionprotected org.apache.hadoop.mapred.JobConf getConfiguration(String[] args, com.mware.core.config.Configuration bcConfig)
protected abstract void processArgs(org.apache.hadoop.mapred.JobConf conf,
String[] args)
public String getInstanceName()
public String getZooKeepers()
public String getPrincipal()
public com.mware.core.config.Configuration getBcConfig()
public AccumuloGraphConfiguration getAccumuloGraphConfiguration()
public org.apache.accumulo.core.client.security.tokens.AuthenticationToken getAuthorizationToken()
Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.