public class DeployCoprocessorCLI extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CubeEndpointClass |
static String |
CubeObserverClassOld |
static String |
CubeObserverClassOld2 |
static String |
IIEndpointClass |
static String |
IIEndpointClassOld |
| Constructor and Description |
|---|
DeployCoprocessorCLI() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addCoprocessorOnHTable(org.apache.hadoop.hbase.HTableDescriptor desc,
org.apache.hadoop.fs.Path hdfsCoprocessorJar) |
static void |
deployCoprocessor(org.apache.hadoop.hbase.HTableDescriptor tableDesc) |
static org.apache.hadoop.fs.Path |
getNewestCoprocessorJar(org.apache.kylin.common.KylinConfig config,
org.apache.hadoop.fs.FileSystem fileSystem) |
static void |
main(String[] args) |
static boolean |
resetCoprocessor(String tableName,
org.apache.hadoop.hbase.client.Admin hbaseAdmin,
org.apache.hadoop.fs.Path hdfsCoprocessorJar) |
static org.apache.hadoop.fs.Path |
uploadCoprocessorJar(String localCoprocessorJar,
org.apache.hadoop.fs.FileSystem fileSystem,
Set<String> oldJarPaths) |
public static final String CubeEndpointClass
public static final String CubeObserverClassOld
public static final String CubeObserverClassOld2
public static final String IIEndpointClassOld
public static final String IIEndpointClass
public static void main(String[] args) throws IOException
IOExceptionpublic static void deployCoprocessor(org.apache.hadoop.hbase.HTableDescriptor tableDesc)
public static void addCoprocessorOnHTable(org.apache.hadoop.hbase.HTableDescriptor desc,
org.apache.hadoop.fs.Path hdfsCoprocessorJar)
throws IOException
IOExceptionpublic static boolean resetCoprocessor(String tableName, org.apache.hadoop.hbase.client.Admin hbaseAdmin, org.apache.hadoop.fs.Path hdfsCoprocessorJar) throws IOException
IOExceptionpublic static org.apache.hadoop.fs.Path getNewestCoprocessorJar(org.apache.kylin.common.KylinConfig config,
org.apache.hadoop.fs.FileSystem fileSystem)
throws IOException
IOExceptionpublic static org.apache.hadoop.fs.Path uploadCoprocessorJar(String localCoprocessorJar, org.apache.hadoop.fs.FileSystem fileSystem, Set<String> oldJarPaths) throws IOException
IOExceptionCopyright © 2014–2017 Apache Software Foundation. All rights reserved.