Dumping Data to CloudTable

Source Data Type: JSON and CSV; Dump Destination: CloudTable HBase

Table 1 Dump parameters

Parameter

Description

Value

Task Name

Name of the dump task. The names of dump tasks created for the same stream must be unique. A dump task name is 1 to 64 characters long. Only letters, digits, hyphens (-), and underscores (_) are allowed.

N/A

Source Data Schema

JSON or CSV data sample, used to describe the JSON or CSV data format. DIS can generate an Avro schema based on the JSON or CSV data sample.

N/A

CloudTable Cluster

Click Select. In the Select CloudTable Cluster dialog box, select a CloudTable cluster.

This parameter cannot be left blank. You can only select but not enter a value in this field.

N/A

Table Type

Two CloudTable types are available: HBase and OpenTSDB.

N/A

Table

Click Select. In the Select CloudTable Table dialog box, select a CloudTable table.

You can only select but not enter a value in this field.

This parameter is available only after you select a CloudTable cluster and create a HBase table.

Offset

  • Latest: Maximum offset, indicating that the latest data will be read.
  • Earliest: Minimum offset, indicating that the earliest data will be read.

Latest

Backup

Specifies whether to back up the data that fails to be dumped to CloudTable to OBS.

  • Enable: The data will be backed up to OBS.
  • Disable: The data will not be backed up to OBS.

Backup is disabled by default.

If this function is disabled, data that fails the dump will be stored in DIS and be cleared when Data Retention is expired.

Backup Bucket

OSB bucket that stores the dump failure records.

You can only select but not enter a value in this field.

N/A

Backup Directory

Directory used to store dump failure records.

If this parameter is left empty, the dump failure records are stored in the backup bucket.

The value consists only of letters, digits, underscores (_), and slashes (/) and cannot start with a slash.

The value contains a maximum of 50 characters.

N/A

Row Key

  • JSON attribute name. The value contains a maximum of 32 characters and consists only of letters, digits, underscores (_), and periods (.). The value cannot start or end with a period, contain consecutive periods, or be left unspecified. A maximum of 64 attributes can be added.
  • Data type. Possible values can be:
    • Bigint
    • Double
    • Boolean
    • Timestamp
    • String
    • Decimal

N/A

Row Key Delimiter

Delimiter used to separate row keys. The value can only be a period (.), comma (,), vertical bar (|), semicolon (;), hyphen (-), underscore (_), or tilde (~). It can also be set to NULL.

The maximum length is one character.

N/A

Schema Column

  • Column name. The value contains a maximum of 32 characters and consists only of letters, digits, and underscores (_). The value cannot be left unspecified. A maximum of 4096 columns can be added.
  • Data type. Possible values can be:
    • Bigint
    • Double
    • Boolean
    • Timestamp
    • String
    • Decimal
  • JSON attribute name. The value contains a maximum of 32 characters and consists only of letters, digits, underscores (_), and periods (.). The value cannot start or end with a period, contain consecutive periods, or be left unspecified.
  • Column family. The value can only be selected from the drop-down list box and cannot be left unspecified. This parameter is available only after you select a CloudTable cluster and set Type of a CloudTable table to HBase.

N/A

Source Data Type: JSON and CSV; Dump Destination: CloudTable openTSDB

Table 2 Dump parameters

Parameter

Description

Value

Task Name

Name of the dump task. The names of dump tasks created for the same stream must be unique. A dump task name is 1 to 64 characters long. Only letters, digits, hyphens (-), and underscores (_) are allowed.

N/A

Source Data Schema

JSON or CSV data example, used to describe the JSON or CSV data format. DIS can generate an Avro schema based on the JSON or CSV data sample.

N/A

CloudTable Cluster

Click Select. In the Select CloudTable Cluster dialog box, select a CloudTable cluster.

This parameter cannot be left blank. You can only select but not enter a value in this field.

N/A

Table Type

Two CloudTable types are available: HBase and OpenTSDB.

N/A

Table

Click Select. In the Select CloudTable Table dialog box, select a CloudTable table.

You can only select but not enter a value in this field.

This parameter is available only after you select a CloudTable cluster and create an openTSDB table.

Offset

  • Latest: Maximum offset, indicating that the latest data will be read.
  • Earliest: Minimum offset, indicating that the earliest data will be read.

Latest

Backup

Specifies whether to back up the data that fails to be dumped to CloudTable to OBS.

  • Enable: The data will be backed up to OBS.
  • Disable: The data will not be backed up to OBS.

Backup is disabled by default.

If this function is disabled, data that fails the dump will be stored in DIS and be cleared when Data Retention is expired.

Backup Bucket

OSB bucket that stores the dump failure records.

You can only select but not enter a value in this field.

N/A

Backup Directory

Directory used to store dump failure records.

If this parameter is left empty, the dump failure records are stored in the backup bucket.

The value consists only of letters, digits, underscores (_), and slashes (/) and cannot start with a slash.

The value contains a maximum of 50 characters.

N/A

Metric: Schema configuration of the OpenTSDB data metric in the CloudTable cluster. After this parameter is set, the JSON data in the stream can be converted to the metric of the OpenTSDB data.

  • JSON attribute name. The value contains a maximum of 32 characters and consists only of letters, digits, underscores (_), and periods (.). The value cannot start or end with a period, contain consecutive periods, or be left unspecified.
  • Data type. Possible values can be:
    • String
    • Constant

N/A

Timestamp: Schema configuration of the OpenTSDB data timestamp in the CloudTable cluster. After this parameter is set, the JSON data in the stream can be converted to the timestamp of the OpenTSDB data.

  • JSON attribute name. The value contains a maximum of 32 characters and consists only of letters, digits, underscores (_), and periods (.). The value cannot start or end with a period, contain consecutive periods, or be left unspecified.
  • Timestamp format. Possible values can be:

    yyyy/MM/dd HH:mm:ss

    MM/dd/yyyy HH:mm:ss

    dd/MM/yyyy HH:mm:ss

    yyyy-MM-dd HH:mm:ss

    MM-dd-yyyy HH:mm:ss

    dd-MM-yyyy HH:mm:ss

  • Data type. Possible values can be:
    • String
    • Timestamp

N/A

Value: Schema configuration of the OpenTSDB data value in the CloudTable cluster. After this parameter is set, the JSON data in the stream can be converted to the value of the OpenTSDB data.

  • JSON attribute name. The value contains a maximum of 32 characters and consists only of letters, digits, underscores (_), and periods (.). The value cannot start or end with a period, contain consecutive periods, or be left unspecified.
  • Data type. Possible values can be:
    • Bigint
    • Double
    • Boolean
    • Timestamp
    • String
    • Decimal

N/A

Tags: Schema configuration of the OpenTSDB data tags in the CloudTable cluster. After this parameter is set, the JSON data in the stream can be converted to the tags of the OpenTSDB data.

  • Tag name. The value contains a maximum of 32 characters and consists only of letters, digits, and underscores (_). The value cannot be left unspecified.
  • Data type. Possible values can be:
    • Bigint
    • Double
    • Boolean
    • Timestamp
    • String
    • Decimal
    • Constant
  • JSON attribute name. The value contains a maximum of 32 characters and consists only of letters, digits, underscores (_), and periods (.). The value cannot start or end with a period, contain consecutive periods, or be left unspecified.

N/A