public class SqoopRunner
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SECURITY_AUTH_METHOD |
static java.lang.String |
SECURITY_MAPREDUCE_JOBHISTORY_PRINCIPAL |
static java.lang.String |
SECURITY_NAMENODE_PRINCIPAL |
static java.lang.String |
SECURITY_RM_MANAGER_PRINCIPAL |
static java.lang.String |
SECURITY_USER_KEYTAB |
static java.lang.String |
SECURITY_USER_PRINCIPAL |
Constructor and Description |
---|
SqoopRunner() |
Modifier and Type | Method and Description |
---|---|
protected static org.apache.hadoop.conf.Configuration |
createConfiguration(java.util.Map<java.lang.String,java.lang.String> configOptions) |
protected static void |
createFinalArguments(java.lang.String hadoopMapredHome,
java.lang.String command,
java.util.List<java.lang.String> sqoopArguments,
boolean provideConnect,
java.util.Map<java.lang.String,java.lang.String> configOptions,
java.util.List<java.lang.String> finalArguments) |
static void |
main(java.lang.String[] args) |
protected static void |
parseConfigOptions(java.lang.String[] args,
java.util.Map<java.lang.String,java.lang.String> configOptions) |
protected static boolean |
parseSqoopCommandArguments(java.lang.String command,
java.lang.String[] sqoopArguments,
java.util.List<java.lang.String> runtimeArguments) |
public static final java.lang.String SECURITY_AUTH_METHOD
public static final java.lang.String SECURITY_USER_KEYTAB
public static final java.lang.String SECURITY_USER_PRINCIPAL
public static final java.lang.String SECURITY_NAMENODE_PRINCIPAL
public static final java.lang.String SECURITY_RM_MANAGER_PRINCIPAL
public static final java.lang.String SECURITY_MAPREDUCE_JOBHISTORY_PRINCIPAL
public static void main(java.lang.String[] args)
protected static void createFinalArguments(java.lang.String hadoopMapredHome, java.lang.String command, java.util.List<java.lang.String> sqoopArguments, boolean provideConnect, java.util.Map<java.lang.String,java.lang.String> configOptions, java.util.List<java.lang.String> finalArguments)
protected static org.apache.hadoop.conf.Configuration createConfiguration(java.util.Map<java.lang.String,java.lang.String> configOptions)
protected static void parseConfigOptions(java.lang.String[] args, java.util.Map<java.lang.String,java.lang.String> configOptions)
protected static boolean parseSqoopCommandArguments(java.lang.String command, java.lang.String[] sqoopArguments, java.util.List<java.lang.String> runtimeArguments)