Using the SAS Deployment Manager to Create the SAS Embedded Process Parcel or Stack

Note: For more information about the SAS Deployment Manager pages, click Help on each page.
  1. Start the SAS Deployment Manager .
    cd /SASHOME/SASDeploymentManager/9.4
    ./sasdm.sh
    The Choose Language page opens.
  2. Select the language in which you want to perform the configuration of your software.
    Click OK. The Select SAS Deployment Manager Task page opens.
    Start the deployment of the SAS In-Database Technologies for Hadoop using the SAS Deployment Manager.
  3. Under Hadoop Configuration, select Deploy SAS In-Database Technologies for Hadoop.
    Click Next to continue. The Select Hadoop Distribution page opens.
    Note: If you have licensed and downloaded SAS Data Loader for Hadoop, the SAS Data Loader for Hadoop data quality components are silently deployed at the same time as the SAS Embedded Process for Hadoop.
    Select the distribution of the Hadoop cluster that you want to configure.
  4. From the drop-down menu, select the distribution of Hadoop that you are using.
    Note: If your distribution is not listed, exit the SAS Deployment Manager and contact SAS Technical Support.
    Click Next. The Hadoop Cluster Manager Information page opens.
    Specify the host name and port number of your Hadoop cluster manager.
  5. Enter the host name and port number for your Hadoop cluster.
    For Cloudera, enter the location where Cloudera Manager is running. For Hortonworks, enter the location where the Ambari server is running.
    The port number is set to the appropriate default after Cloudera or Hortonworks is selected.
    Note: The host name must be a fully qualified domain name. The port number must be valid, and the cluster manager must be listening.
    Click Next. The Hadoop Cluster Manager Credentials page opens.
    Specify the administrator account name and credentials for your Hadoop cluster manager.
  6. Enter the Cloudera Manager or Ambari administrator account name and password.
    Note: Using the credentials of the administrator account to query the Hadoop cluster and to find the Hive node eliminates guesswork and removes the chance of a configuration error. However, the account name does not have to be that of an administrator; it can be a read-only user.
    Click Next.
    If you are using Cloudera Manager and multiple Hadoop clusters are being managed by the same cluster manager, the Hadoop Cluster Name page opens. Continue with Step 7.
    Hadoop Cluster Name
    Otherwise, the UNIX User Account with SSH for the Hadoop Cluster Manager Host page opens. Skip to Step 8.
  7. Select the cluster from the drop-down list.
    Click Next. The UNIX User Account with SSH for the Hadoop Cluster Manager Host page opens.
    Specify the SSH account credentials for your Hadoop cluster manager.
  8. Enter the root SSH account that has access to the cluster manager or enter a non-root SSH account if that account can execute sudo without entering a password.
    Note: For Cloudera, the SSH account must have Write permission to the /opt/cloudera directory. Otherwise, the deployment completes with errors.
    Click Next. The Specify the SAS Configuration and Deployment Directories page opens.
    Specify the location of your SAS configuration and deployment directories.
  9. Enter the location of the SAS configuration and deployment directories:
    1. Enter (or navigate to) the location of the /standalone_installs directory. This directory was created when your SAS Software Depot was created by the SAS Download Manager.
      CAUTION:
      After installation, do not delete your SAS Software Depot standalone_installs directory or any of its subdirectories.
      If hot fixes are made available for your software, they are moved to a subdirectory of the /standalone_installs/SAS_Core_Embedded_Process_Package_for_Hadoop/ directory. The SAS Deployment Manager requires that both the initial installation files and the hot fix file exist in a subdirectory of the original SAS Software Depot /standalone_installs/SAS_Core_Embedded_Process_Package_for_Hadoop/ directory.
      Note: If you have licensed and downloaded SAS Data Loader for Hadoop, the SAS Data Loader for Hadoop data quality components are located in the same directory as the SAS Embedded Process files. The SAS Data Loader for Hadoop files are silently deployed at the same time as the SAS Embedded Process for Hadoop.
    2. Enter (or navigate to) a working directory on the local server where the package or stack is placed. The working directory is removed when the deployment is complete.
    Click Next. A list of SAS products to deploy is displayed.
    A list of SAS products to deploy is displayed.
    Click OK. The Specify Deployment Parcel/Stack Version page opens.
    Specify Deployment Parcel/Stack Version
  10. The version listed is assigned to the media that is used for deployment unless you enter a different version.
    The version number is calculated by the SAS Deployment Manager based on the installed product that you selected to deploy.
    Note: You cannot deploy media that has the same version number as media that was previously deployed.
    Click Next. The Checking System page opens, and a check for locked files and Write permissions is performed.
    Note: If you are using Hortonworks and the requiretty option is enabled, you receive a warning that you must restart the Ambari server when you deploy the stack.
    The SAS Deployment Manager checks your system.
  11. If any files are shown in the text box after the system check, follow the instructions on the Checking System page to fix any problems.
    Click Next. The Summary page opens.
    Review the selected product configurations before writing the changes to your system.
  12. Click Start to begin the configuration.
    Note: It takes time to complete the configuration. If your cluster is secured with Kerberos, it could take longer.
    Note: The product that appears on this page is the SAS product that is associated with the in-database deployment package for Hadoop. This package includes the SAS Embedded Process and possibly other components. Note that a separate license might be required to use the SAS Embedded Process.
    If the configuration is successful, the page title changes to Deployment Complete and a green check mark is displayed beside SAS In-Database Technologies for Hadoop (64-bit).
    Note: Part of the configuration process runs SAS code to validate the environment. A green check mark indicates that the SAS Deployment Manager was able to create the SAS Embedded Process parcel or stack and then verify that the parcel or stack was copied to the cluster manager node.
    If warnings or errors occur, fix the issues and restart the configuration.
  13. Click Next to close the SAS Deployment Manager.
    A log file is written to the %HOME/.SASAppData/SASDeploymentWizard directory on the client machine.