java.lang.Object
org.apache.hadoop.yarn.server.timelineservice.storage.common.BaseTableRW<org.apache.hadoop.yarn.server.timelineservice.storage.flow.FlowRunTable>
org.apache.hadoop.yarn.server.timelineservice.storage.flow.FlowRunTableRW

public class FlowRunTableRW extends BaseTableRW<org.apache.hadoop.yarn.server.timelineservice.storage.flow.FlowRunTable>
Create, read and write to the FlowRun table.
  • Field Details

    • TABLE_NAME_CONF_NAME

      public static final String TABLE_NAME_CONF_NAME
      config param name that specifies the flowrun table name.
      See Also:
    • DEFAULT_TABLE_NAME

      public static final String DEFAULT_TABLE_NAME
      default value for flowrun table name.
      See Also:
    • DEFAULT_METRICS_MAX_VERSIONS

      public static final int DEFAULT_METRICS_MAX_VERSIONS
      default max number of versions.
      See Also:
  • Constructor Details

    • FlowRunTableRW

      public FlowRunTableRW()
  • Method Details

    • createTable

      public void createTable(org.apache.hadoop.hbase.client.Admin admin, org.apache.hadoop.conf.Configuration hbaseConf) throws IOException
      Description copied from class: BaseTableRW
      Used to create the table in HBase. Should be called only once (per HBase instance).
      Specified by:
      createTable in class BaseTableRW<org.apache.hadoop.yarn.server.timelineservice.storage.flow.FlowRunTable>
      Parameters:
      admin - Used for doing HBase table operations.
      hbaseConf - Hbase configuration.
      Throws:
      IOException - if any exception occurs while creating the table.