public abstract class ClientBase extends Object
| Modifier and Type | Field and Description |
|---|---|
static short |
FILE_PERMISSIONS |
| Constructor and Description |
|---|
ClientBase() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
createCommand(String classPathEnv,
org.apache.hadoop.fs.Path remotePath) |
protected abstract Class |
getApplicationMasterClass() |
protected abstract String |
getAppName() |
int |
getInstances() |
int |
getMemory() |
int |
getVirtualCores() |
static void |
printEnv() |
static void |
printSystemProperties() |
protected int |
run(String[] args) |
public static final short FILE_PERMISSIONS
public static void printEnv()
public static void printSystemProperties()
protected abstract String getAppName()
protected String createCommand(String classPathEnv, org.apache.hadoop.fs.Path remotePath)
protected abstract Class getApplicationMasterClass()
public int getMemory()
public int getVirtualCores()
public int getInstances()
Copyright © 2016–2020 MWARE SOLUTIONS. All rights reserved.