public class FlowRunTable extends BaseTable<FlowRunTable>
flow_run table |-------------------------------------------| | Row key | Column Family | | | info | |-------------------------------------------| | clusterId! | flow_version:version7 | | userName! | | | flowName! | running_apps:1 | | flowRunId | | | | min_start_time:1392995080000 | | | #0:"" | | | | | | min_start_time:1392995081012 | | | #0:appId2 | | | | | | min_start_time:1392993083210 | | | #0:appId3 | | | | | | | | | max_end_time:1392993084018 | | | #0:"" | | | | | | | | | m!mapInputRecords:127 | | | #0:"" | | | | | | m!mapInputRecords:31 | | | #2:appId2 | | | | | | m!mapInputRecords:37 | | | #1:appId3 | | | | | | | | | m!mapOutputRecords:181 | | | #0:"" | | | | | | m!mapOutputRecords:37 | | | #1:appId3 | | | | | | | |-------------------------------------------|
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_METRICS_MAX_VERSIONS
default max number of versions.
|
static String |
DEFAULT_TABLE_NAME
default value for flowrun table name.
|
static String |
TABLE_NAME_CONF_NAME
config param name that specifies the flowrun table name.
|
| Constructor and Description |
|---|
FlowRunTable() |
| Modifier and Type | Method and Description |
|---|---|
void |
createTable(org.apache.hadoop.hbase.client.Admin admin,
org.apache.hadoop.conf.Configuration hbaseConf)
Used to create the table in HBase.
|
getResult, getResultScanner, getTableMutator, getTableName, getTableName, getTableNamepublic static final String TABLE_NAME_CONF_NAME
public static final String DEFAULT_TABLE_NAME
public static final int DEFAULT_METRICS_MAX_VERSIONS
public void createTable(org.apache.hadoop.hbase.client.Admin admin,
org.apache.hadoop.conf.Configuration hbaseConf)
throws IOException
BaseTablecreateTable in class BaseTable<FlowRunTable>admin - Used for doing HBase table operations.hbaseConf - Hbase configuration.IOException - if any exception occurs while creating the table.Copyright © 2018 Apache Software Foundation. All Rights Reserved.