Page tree

 

Contents:


By default, the Trifacta® Command Line Interface (CLI) tools are installed on the Trifacta node during installation. You can use them from there. 

Optionally, you can install the CLI tools on a separate server. For example, you might want to create a dedicated server from which you can run a set of predefined jobs on a periodic basis.  

NOTE: The location from where you are running the CLI tools must be able to access the pre-installed instance of the Trifacta platform.

This section describes how to download and install the CLI tools on a dedicated server.

Download

The Trifacta CLI installer is available through a separate file next to the software distribution provided by  Trifacta.

  • *.RPM for CentOS/RHEL
  • *.DEB for Ubuntu

The appropriate file should be downloaded to the server where you are installing the tools. For more information, see  Trifacta Support.

Install

Steps:

  1. On the node where you are installing, execute the command.

    1. For CentOS/RHEL6:

      rpm -Uvh trifacta-cli-X.Y.Z-AAAA.el6.x86_64.rpm

      where:
      X.Y.Z = the three-digit release number.
      AAAA = internal build number. 

    2. For CentOS/RHEL7:

      rpm -Uvh trifacta-cli-X.Y.Z-AAAA.el7.x86_64.rpm

      where:
      X.Y.Z = the three-digit release number.
      AAAA = internal build number. 

    3. For Ubuntu 14.04 (Trusty):

      sudo dpkg -i trifacta-cli_X.Y.Z-AAAA~trusty_amd64.deb

      where:
      X.Y.Z = the three-digit release number.
      AAAA = internal build number.

    4. For Ubuntu 16.04 (Xenial):

      sudo dpkg -i trifacta-cli_X.Y.Z-AAAA~xenial_amd64.deb

      where:
      X.Y.Z = the three-digit release number.
      AAAA = internal build number.

  2. When the installation is complete, you can begin using the tools. The tools are installed in the following directory:

    /opt/trifacta/bin/

Upgrade

When you upgrade to a new version of Trifacta Wrangler Enterprise, you must download your CLI packages from the Transformer page after the upgrade is complete. You may be able to execute your packages from the previous release, but backward compatibility of exported CLI packages is not explicitly supported.

When you upgrade to a new version of  Trifacta Wrangler Enterprise, you must complete the following steps to ensure that your CLI tools and scripts are upgraded:

NOTE: There is no guarantee of compatibility between versions of Trifacta Wrangler Enterprise CLI tools. You should re-install the tools with each upgrade.

 

  1. Download and install the new version of the CLI tools. See earlier in this section.
  2. Unless changes are required, you can try to run your CLI scripts using the CLI packages that you downloaded from the previous version. If your scripts fail when running jobs, then you should try to re-download the packages from the Transformer page. For more information, see Recipe Panel.

For more information, see Changes to the Command Line Interface.

This page has no comments.