CommandLine overview - 6.5

Talend Administration Center User Guide

EnrichVersion
6.5
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend Real-Time Big Data Platform
task
Administration and Monitoring
Deployment
EnrichPlatform
Talend Administration Center

The CommandLine offers the same basic functionalities as Talend Studio and it is used to generate and export the Jobs developed with Talend Studio onto the Job servers, or export Services, Routes and data service Jobs onto Runtime servers. To launch the CommandLine on Linux, you have to run the commandline.sh file. To launch the CommandLine on Windows, you have to run the commandline.bat file.

The commandline file contains three different parts:

  • the name of the Talend Studio executable corresponding to your OS, for example: ./Talend-Studio-linux-gtk-x86

  • operating options, for example:

    -nosplash, no interface is displayed.

    -application org.talend.commandline.CommandLine, the application is launched in commandline mode.

    -consoleLog, the logs are displayed in the console.

    -data commandline-workspace, specify the path and name of the commandline workspace.

  • the operating mode, for example: startServer -p 8002

If you want to modify the default settings, you can edit the file, and set it according to your need.

Warning

If you want to run your CommandLine in background on Linux, you first need to disable the shell. To do so:

  1. Edit the commandline.sh file.

  2. Add the --disableShellInput command.

  3. Save your file.

Example of use of this command:

./Talend-Studio-linux-gtk-x86 --disableShellInput -nosplash
-application org.talend.commandline.CommandLine -consoleLog -data commandline-workspace
startServer -p 8002

Then you can execute your CommandLine in background. To do so, do the following:

  1. Switch to the <CommandlinePath>.

  2. Enter the command:

    ./commandline.sh &

Once the commands have been executed, you can close the CommandLine window and it will not exit the service.

The CommandLine can be executed in four different modes, according to your need:

The most common mode used is the Server mode.