tKuduOutput properties for Apache Spark Batch
These properties are used to configure tKuduOutput running in the Spark Batch Job framework.
The Spark Batch tKuduOutput component belongs to the Databases family.
The component in this framework is available in all subscription-based Talend products with Big Data and Talend Data Fabric.
Basic settings
Use an existing configuration |
Select this check box and in the Component List drop-down list, select the desired connection component to reuse the connection details you already defined. |
Server connection |
Click the [+] button to add as many rows as the Kudu masters you need to use, each row for a master. Then enter the locations and the listening ports of the master nodes of the Kudu service to be used. This component supports only the Apache Kudu service installed on Cloudera. For compatibility information between Apache Kudu and Cloudera, see the related Cloudera documentation:Compatibility Matrix for Apache Kudu. |
Schema and Edit schema |
A schema is a row description. It defines the number of fields (columns) to be processed and passed on to the next component. When you create a Spark Job, avoid the reserved word line when naming the fields.
|
Information noteNote: The schema of a Kudu table must declare a
primary key comprised of one or more columns. These columns must be
non-nullable, and may not be of type boolean, float or double.
Click Edit schema to make changes to the schema. If the current schema is of the Repository type, three options are available:
|
|
Kudu table |
Enter the name of the table to be created, changed or removed. |
Action on table |
Select an operation to be performed on the table defined.
|
Action on data |
Select an action to be performed on data of the table defined.
|
Replicas |
Enter, without double quotation marks, the replication factor of this table to create copies of your table and its tablets. For further information about Kudu tablets and Kudu replication policies, see Distribution and Fault Tolerance. |
Hash partitions |
When you are creating a Kudu table, it is recommended to define how this table is partitioned. By default, your table is not partitioned.
At runtime, rows are distributed by hash value in one of those buckets. If you leave this Hash partitions table empty, hash partitioning is not applied during the creation of the table. For further information about hash partitioning in Kudu, see Hash partitioning. |
Range partitions |
When you are creating a Kudu table, it is recommended to define how this table is partitioned. By default, your table is not partitioned.
At runtime, rows of these columns are distributed using the values of the columns you have added to this Range partitions table. If you leave this table empty, range partitioning is not applied during the creation of the table. For further information about hash partitioning in Kudu, see Range partitioning. |
Die on error |
Select the check box to stop the execution of the Job when an error occurs. |
Usage
Usage rule |
This component is used as an end component and requires an input link. |
Spark Connection |
In the Spark
Configuration tab in the Run
view, define the connection to a given Spark cluster for the whole Job. In
addition, since the Job expects its dependent jar files for execution, you must
specify the directory in the file system to which these jar files are
transferred so that Spark can access these files:
This connection is effective on a per-Job basis. |