Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

D toc

By default, the

D s item
itemCommand Line Interface
rtrue
 (CLI) tools are installed on the 
D s item
node
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.  

Info

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

D s platform
.

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

Download

The 

D s item
CLI
CLI
 installer is available through a separate file next to the software distribution provided by 
D s company
.

  • *.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 

D s support
.

Install

Steps:

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

    1. For CentOS/RHEL6:

      Code Block
      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:

      Code Block
      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):

      Code Block
      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):

      Code Block
      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:

    Code Block
    /opt/trifacta/bin/

Upgrade

Warning

When you upgrade to a new version of

D s product
productee
, 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 

D s product
productee
, you must complete the following steps to ensure that your CLI tools and scripts are upgraded:

Info

NOTE: There is no guarantee of compatibility between versions of

D s product
productee
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.