tImpalaLoad Standard properties
These properties are used to configure tImpalaLoad running in the Standard Job framework.
The Standard tImpalaLoad component belongs to the Big Data family.
The component in this framework is available in all Talend products with Big Data and in Talend Data Fabric.
Basic settings
|
Property type |
Either Built-in or Repository. |
|
|
Built-in: No property data stored centrally. |
|
|
Repository: Select the repository file in which the properties are stored. The fields that follow are completed automatically using the data retrieved. |
|
Use an existing connection |
Select this check box and in the Component List click the relevant connection component to reuse the connection details you already defined. Information noteNote: When a Job contains the parent Job and the child Job, if you
need to share an existing connection between the two levels, for example, to share the
connection created by the parent Job with the child Job, you have to:
For an example about how to share a database connection across Job levels, see Talend Studio User Guide. |
|
Distribution |
Select the cluster you are using from the drop-down list. The options in the
list vary depending on the component you are using. Among these options, the following
ones requires specific configuration:
|
|
Version |
Select the version of the Hadoop distribution you are using. The available options vary depending on the component you are using. |
|
Impala Driver |
Select the driver you are using from the drop-down list. |
|
Host |
Database server IP address. |
|
Port |
Listening port number of DB server. |
|
Database |
Fill this field with the name of the database. |
|
Username |
DB user authentication data. |
|
Additional JDBC Settings |
Specify additional connection properties for the database connection you are creating. This option is not available if you have selected the Use an existing connection check box in the Basic settings view. |
|
Use kerberos authentication |
If you are accessing an Impala system running with Kerberos security,
select this check box and then enter the Kerberos principal of this Impala system.
This check box is available depending on the Hadoop distribution you are connecting to. |
|
Load action |
Select the action you need to carry for writing data into the specified destination.
|
|
Target type |
This drop-down list appears only when you have selected INSERT from the Load action list. Select from this list the type of the location you need to write data in.
|
|
Action |
Select whether you want to OVERWRITE the old data already existing in the destination or only APPEND the new data to the existing one. |
|
Table name |
Enter the name of the Hive table you need to write data in. Note that with the INSERT action, this field is available only when you have selected Table from the Target type list. |
|
File path |
Enter the directory you need to read data from. |
|
Query |
This field appears when you have selected INSERT from the Load action list. Enter the appropriate query for selecting the data to be exported to the specified Impala table or directory. |
| Set partitions |
Select this check box to use the Impala Partition clause in loading or inserting data in a Impala table. You need to enter the partition keys and their values to be used in the field that appears. For example, enter contry='US', state='CA'. This makes a partition clause reading Partition (contry='US', state='CA'), that is to say, a US and CA partition. Also, it is recommended to select the Create partition if not exist check box that appears to ensure that you will not create a duplicate partition. |
|
Die on error |
Select this check box to kill the Job when an error occurs. |
Advanced settings
|
tStatCatcher Statistics |
Select this check box to collect log data at the component level. |
Global Variables
|
Global Variables |
QUERY: the query statement being processed. This is a Flow variable and it returns a string. 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
|
Usage rule |
This component works standalone. |
|
Dynamic settings |
Click the [+] button to add a row in the table and fill the Code field with a context variable to choose your database connection dynamically from multiple connections planned in your Job. This feature is useful when you need to access database tables having the same data structure but in different databases, especially when you are working in an environment where you cannot change your Job settings, for example, when your Job has to be deployed and executed independent of Talend Studio. The Dynamic settings table is available only when the Use an existing connection check box is selected in the Basic settings view. Once a dynamic parameter is defined, the Component List box in the Basic settings view becomes unusable. For examples on using dynamic parameters, see and . For more information on Dynamic settings and context variables, see Talend Studio User Guide. |
|
Prerequisites |
The Hadoop distribution must be properly installed, so as to guarantee the interaction with Talend Studio . The following list presents MapR related information for example.
For further information about how to install a Hadoop distribution, see the manuals corresponding to the Hadoop distribution you are using. |