Unzipping and Copying the In-Database Deployment Package to the Hadoop Cluster

Unzipping the In-Database Deployment Package for Hadoop

The in-database deployment package for Hadoop is contained in a self-extracting archive file named sepcorehadp-12.00000-1.sh. This file is contained in a ZIP file that is put in your SAS Software Depot directory.
To unzip the in-database deployment package for Hadoop, follow these steps:
  1. Create a new temporary directory on your client machine, such as /sasep. The new directory is referred to as EPZipDir throughout this section.
  2. Navigate to the YourSASDepot/standalone_installs directory.
    This directory was created when your SAS Software Depot was created by the SAS Download Manager.
  3. Locate the en_sasexe.zip file. The en_sasexe.zip file is located in the following directory: YourSASDepot/standalone_installs/SAS_Core_Embedded_Process_Package_for_Hadoop/12_0/Hadoop_on_Linux_x64/.
    The sepcorehadp-12.00000-1.sh. file is included in this ZIP file.
  4. Unzip the en_sasexe.zip file.
    unzip en_sasexe.zip
    After the file is unzipped, a sasexe directory is created in the same location as the en_sasexe.zip file. The sepcorehadp-12.00000-1.sh file is in the sasexe directory.
    EPZipDir/sasexe/sepcorehadp-12.00000-1.sh
    EPZipDir/sasexe/parcel
    EPZipDir/sasexe/stack
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.

Creating the SAS Embedded Process Directory

Create a new directory on the Hadoop master node that is not part of an existing directory structure, such as /sasep.
This path is created on each node in the Hadoop cluster during the SAS Embedded Process installation. We do not recommend that you use existing system directories such as /opt or /usr. This new directory is referred to as EPInstallDir.

Copying the SAS Embedded Process Install Script to the Hadoop Cluster

To copy the SAS Embedded Process Install Script to the Hadoop Cluster, follow these steps:
  1. Log on to the cluster using SSH.
    ssh username@serverhostname
  2. Copy the sepcorehadp-12.00000-1.sh file to your EPInstallDir directory. This example uses secure copy.
    scp sepcorehadp-12.00000-1.sh username@hdpclus1: /EPInstallDir
    Note: The location where you transfer the sepcorehadp-12.00000-1.sh file becomes the SAS Embedded Process home and is referred to as EPInstallDir.
Last updated: February 9, 2017