Configuring remote execution (Talend > Run/Debug) - 7.1

Talend Real-time Big Data Platform Studio User Guide

author
Talend Documentation Team
EnrichVersion
7.1
EnrichProdName
Talend Real-Time Big Data Platform
task
Design and Development
EnrichPlatform
Talend Studio

Talend Studio allows you to deploy and execute your Jobs on a remote JobServer when you work on either a local project or on a remote one on the condition that you are connected with the Talend Administration Center.

Procedure

  1. From the menu bar, click Window > Preferences to open the Preferences dialog box.
  2. Expand the Talend and the Run/Debug nodes in succession and then click Remote.
  3. Optional: To enable monitoring the JVM resource usage during Job execution on a remote JobServer, do the following:
    1. Select the Enable remote monitoring check box.
    2. In Remote JMX port field, enter a listening port number that is free in your system.
  4. Optional: To define a specific Unix OS user allowed to start the Job execution on a remote JobServer, enter the user name in the Run as (Set up user for Unix) field.
    If left blank, any of the existing Operating System users can start the Job execution.
    Tip: By default, the user name must start with a lower-case letter from a to z, followed by a combination of lower-case letters (a to z) and numbers (from 0 to 9). To allow using characters other than those letters and numbers, you need to modify the regular expression ^[a-z][-a-z0-9]*\$ in the value of the org.talend.remote.jobserver.server.TalendJobServer.RUN_AS_USER_VALIDATION_REGEXP parameter in the file {Job_Server_Installation_Folder}\agent\conf\TalendJobServer.properties. For example:
    • To define a user name pattern that should include a dot, like firstname.lastname, modify the regular expression to ^[a-z][-a-z0-9]*.[a-z][-a-z0-9]*\$.
    • To allow using one or more underscores (_) in the user name, modify the regular expression to ^[a-z][-a-z_0-9]*\$.
  5. If the network condition is bad, enter an appropriate value in the Send job data package size field to ensure that the Job packages received on the JobServer are complete.
    By default, the maximum package size is 1048576 bytes (1 MB).
  6. To remotely execute your Jobs while you are working on a local project, configure the remote JobServer details.
    Note: When working on a remote project, you need to connect the studio with Talend Administration Center that the JobServer settings are automatically retrieved and are read only.

    If the Studio is disconnected from the Talend Administration Center, you can not run the Job remotely because the JobServer settings can not be retrieved and you can not configure them manually.

    1. In the Remote Jobs Servers area, click the [+] button to add a new line in the table.
    2. Fill in all the fields for the JobServer: Name, Host name (or IP address), Standard port, Username, Password, and File transfer Port.

      The Username and Password fields are not required if no users are configured in the configuration file conf/users.csv of the JobServer.

  7. Click Apply and OK to validate the changes.

What to do next

For more information about how to execute a Job on a remote server, see Running a Job remotely.