tPaloDatabase
Manages the databases inside a Palo server.
The tPaloDatabase creates, drops or recreates databases
in a given Palo server.
tPaloDatabase Standard properties
These properties are used to configure tPaloDatabase running in the Standard Job framework.
The Standard
tPaloDatabase component belongs to the Business Intelligence family.
The component in this framework is available in all Talend
products.
Basic settings
Use an existing connection |
Select this check box and in the Component List click the relevant connection component to Note that when a Job contains the parent Job and the child Job, |
Host Name |
Enter the host name or the IP address of the host server. |
Server Port |
Type in the listening port number of the Palo server. |
Username and |
Enter the Palo user authentication data. To enter the password, click the […] button next to the |
Database |
Type in the name of the database on which the given operation |
Action on database |
Select the operation you want to perform on the database of – Create database: the database – Create database if not exists: – Delete database if exists and – Delete database: the database |
Advanced settings
tStat |
Select this check box to collect log data at the component |
Global Variables
Global Variables |
DATABASENAME: the name of the database. This is an After
ERROR_MESSAGE: the error message generated by the A Flow variable functions during the execution of a component while an After variable To fill up a field or expression with a variable, press Ctrl + For further information about variables, see |
Usage
Usage rule |
This component can be used in standalone for database management |
Connections |
Outgoing links (from this component to another):
Trigger: Run if; On Subjob Ok; On Incoming links (from one component to this one): Row: Iterate
Trigger: Run if; On Subjob Ok; On For further information regarding connections, see |
Limitation |
Due to license incompatibility, one or more JARs required to use |
Creating a database
The Job in this scenario creates a new database on a given Palo server.
To replicate this scenario, proceed as follows:
Procedure
-
Drop tPaloDatabase from the component
Palette onto the design workspace. -
Double-click the tPaloDatabase component to
open its Component view. -
In the Host name field, type in the host name
or the IP address of the host server, localhost for this
example. -
In the Server Port field, type in the
listening port number of the Palo server. In this scenario, it is
7777. -
In the Username field and the Password field, type in the authentication
information. In this example, both of them are
admin. -
In the Database field, type in the database
name in which you want to create the cube, talenddatabase
in this example. -
In the Action on database field, select the
action to be performed. In this scenario, select Create
database as the database to be created does not exist. - Press F6 to run the Job.
A new database is created on the given Palo server.