HBase Output
Overview
The HBase Output operator exports existing fields to specified columns of an HBase Outputtable.
Input and Output
- Input: fields to be exported
- Output: HBase table
Parameters
Parameter |
Description |
Node Type |
Mandatory |
Default Value |
---|---|---|---|---|
HBase table type |
HBase table type. The options include normal (common HBase table) and phoenix. |
enum |
Yes |
normal |
NULL value processing mode |
Null value processing mode. Selecting the option button indicates to convert null values to empty strings and save them. Deselecting the option button indicates the data is not saved. |
boolean |
No |
The option button is not selected. |
HBase output fields |
HBase output information:
|
map |
Yes |
None |
Data Processing Rule
- The field values are exported to the HBase table.
- When the original data contains NULL values, if the NULL value processing mode is selected, the NULL values are converted to empty strings and saved. If the NULL value processing mode button is not selected, the data is not saved.
Example
Using table input as an example, after the fields are generated, the HBase Output operator exports them to the related HBase table and stores the data in the test table, as shown in the following figure.
Create an HBase table.
create 'hbase_test','f1','f2';
Configure the HBase Output operator, as shown in the following figure.
After the job execution is complete, view the data in the hbase_test table.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.