Data Analytics Studio Installation
Also available as:
PDF

Installing the DAS-DP App in DP

After adding the DAS service in the Ambari UI, you can install the DAS-DP App in the DP environment.

  • Make sure that you have successfully installed DP Platform, and that DataPlane is running. To install DataPlane, thoroughly review the DataPlane Getting Started guide to understand the general requirements and basic dependencies, and then follow the DataPlane Installation Guide.
  • Verify whether you can access Ambari from DP without using your credentials. If you cannot access Ambari without using your credentials, then configure SSO from the DP cluster to the HDP cluster as per the steps listed in Configure Knox SSO for DataPlane. This is different than having SSO enabled from the HDP cluster. To configure SSO from the HDP cluster, see Configuring DAS for Knox SSO.
  • Make sure that you download the DAS tarball for CentOS 7, even if you are on other platforms, such as Debian or Ubuntu.
  • Enable network access from your target DP instance host to the local repository host. Do not use port 80 for the web server. Port 80 is used by DataPlane, and using it for the web server can cause a conflict.
  • Verify whether you have the repository configuration file. To install the DAS-DP App in DataPlane, you must have a repository configuration file and use that file on the DataPlane host. The file is required to identify the path to the repository data, and check whether a GPG signature check should be performed on the repository packages. You need only one repository configuration file and you can use the same file that you had created while installing DAS.
  1. Log in to the host on which you have set up the DataPlane repositories as a root user.
  2. Install the RPMs for the DAS service application by entering the following command:
    yum install das_dp
    A folder is created that contains the Docker image tarball files and a configuration script.
    If the yum command fails, then the local repository was not set up correctly. Check the repository file /etc/yum.repos.d/das.repo on the host.
  3. Navigate to the directory containing the installation scripts for the DAS service. For example:
    cd /usr/das/x.y.z.n-bb/das_dp/bin
    where x.y.z.n-bb refers to the version number of the DAS app that you installed in the earlier step.
  4. Load the DAS Docker images and initialize the environment using the following commands:
    ./dasdeploy.sh load
    ./dasdeploy.sh init

    It prompts for the master password that was used for initializing the DP Platform. Make sure you enter the same master password.

    Images can take a while to load.

    Note
    Note

    If you run into errors while deploying the DAS application, then destroy the deployment using the ./dasdeploy.sh destroy command and re-install the app. To check the logs of the das-app container, you can use the ./dasdeploy.sh logs command.

  5. Verify that the container you installed is running by entering the following command:
    ./dasdeploy.sh ps

    Make sure that the container with the name das-app is running.