August 17, 2023

tCassandraBulkExec – Docs for ESB 5.x

tCassandraBulkExec

tcassandrabulkexec_icon32_white.png

Warning

This component will be available in the Palette of the studio on the condition that you have subscribed to
one of the Talend solutions with Big
Data.

The tCassandraOutputBulk and tCassandraBulkExec components are generally used together as parts of a two
step process. In the first step, an SSTable is generated. In the second step, this SSTable
is written into Cassandra. These two steps are fused together in the tCassandraOutputBulkExec component, detailed in a separate section. The
advantage of using two separate components is that the data can be transformed before it is
loaded into Cassandra.

tCassandraBulkExec properties

Component family

Big Data / Cassandra

 

Function

tCassandraBulkExec writes data
from an SSTable into Cassandra.

Purpose

As a dedicated component, tCassandraBulkExec allows you to gain in performance
while carrying out the Insert operations to a Cassandra column
family.

Basic settings

DB Version

Select the Cassandra version you are using.

Warning

  • For Cassandra 1.1.2, only local visit on Linux is
    supported.

  • For Cassandra 1.2.2, make sure that the server and the
    client run on the same operating system.

  • Cassandra 2.0.0 only works with JVM1.7.

 

Host

Hostname or IP address of the Cassandra server.

 

Port

Listening port number of the Cassandra server.

 

Required authentication

Select this check box to provide credentials for the Cassandra
authentication.

Warning

This check box will not appear if you select Cassandra 1.1.2 from theDB Version list.

 

Username

Fill in this field with the username for the Cassandra
authentication.

 

Password

Fill in this field with the password for the Cassandra
authentication.

To enter the password, click the […] button next to the
password field, and then in the pop-up dialog box enter the password between double quotes
and click OK to save the settings.

 

Keyspace

Type in the name of the keyspace into which you want to write the
SSTable.

 

Column family

Type in the name of the column family into which you want to write
the SSTable.

 

SSTable directory

Specify the local directory of the SSTable to be loaded into
Cassandra. Note that the complete path to the SSTable will be the
local directory appended by the specified keyspace name and column
family name.

For example, if you set the local directory to /home/talend/sstable, and specify
testk as the keyspace name
and testc as the column family
name, the complete path to the SSTable will be /home/talend/sstable/testk/testc/.

Advanced settings

tStatCatcher Statistics

Select this check box to gather the Job processing metadata at the
Job level as well as at each component level.

Global Variables

ERROR_MESSAGE: the error message generated by the
component when an error occurs. This is an After variable and it returns a string. This
variable functions only if the Die on error check box is
cleared, if the component has this check box.

A Flow variable functions during the execution of a component while an After variable
functions after the execution of the component.

To fill up a field or expression with a variable, press Ctrl +
Space
to access the variable list and choose the variable to use from it.

For further information about variables, see Talend Studio
User Guide.

Usage

This component can be used as a standalone component.

Log4j

The activity of this component can be logged using the log4j feature. For more information on this feature, see Talend Studio User
Guide
.

For more information on the log4j logging levels, see the Apache documentation at http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Level.html.

Limitation

Currently, the execution of this component ends the entire
Job.

Related Scenario

No scenario is available for this component yet.


Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x