Installing SmartSense on HDP
Also available as:
PDF

Add the SmartSense service

Use these steps to add SmartSense service in Ambari.

  • You should know your SmartSense ID and account name (both are available in the Hortonworks support portal in the Tools tab).
  • You must also ensure that an Ambari agent is running on the same host as the Ambari server.
  1. If you are using Ambari version 2.4.x, and want to use SmartSense 1.5.x, you must first download and install it, as described in the instructions for downloading and installing SmartSense binary.
  2. From the Ambari web UI, select Add Service from the ... drop-down menu.
  3. From the list of installable services, select SmartSense, and then click Next.
  4. On the Assign Masters page, select cluster nodes for the HST server, activity analyzer, and activity explorer, and then click Next.
    • For a list of criteria to determine the best node to select for HST server, see the HST server placement documentation.
    • For a list of criteria to determine the best nodes to select for activity analyzers see the activity analyzer placement documentation.
  5. On the Customize Services page, validate the values in the following fields, as appropriate to your environment:
    Table 1. Ambari web UI options for customizing SmartSense service

    UI Option

    Description

    Configuration Tab: Basic

    Property: Customer account name

    Your account name, available from the Tools tab in Hortonworks support portal

    Configuration Tab: Basic

    Property: SmartSense ID

    Your SmartSense ID, available from the Tools tab in Hortonworks support portal

    Configuration Tab: Basic

    Property: Notification Email

    The email address notified when SmartSense bundles have been received and recommendations are ready for your review

    Configuration Tab: Basic

    Property: Enable Flex Subscription

    Use this option only if you have an existing Hortonworks flex support subscription. You must enter your Flex Subscription ID.

    Configuration Tab: Basic

    Property: Bundle Storage Directory

    The directory on the HST server that will be used to store completed bundles

    Because bundles can be large, this directory should have at least 1GB of free space.

    Configuration Tab: Basic

    Property: Server Temporary Data Directory

    The directory on the HST server that is used to assemble results from HST Agents into completed bundles

    This directory must be large enough to handle the intermediate results of HST agent collection data: at least 5 GB of free space.

    Configuration Tab: Basic

    Property: Agent Temporary Data Directory

    The directory on the HST server that is used to assemble results from HST Agents into completed bundles

    This directory must be large enough to handle the intermediate results of HST agent collection data: at least 5 GB of free space.

    Configuration Tab: Activity Analysis

    Property: Password for user 'admin'

    Password for the activity explorer admin user.

    Click Next.

    The Ambari Stack Advisor assesses your cluster configuration and might alert you to configuration issues. Note that this is not related to SmartSense, and is simply what Ambari does upon adding any service. SmartSense never makes configuration changes to your cluster. No cluster services need to be restarted after installing SmartSense, and any configuration changes that are noticed should be reverted.

    If you have a kerberized cluster, you will be prompted for the KDC admin credentials during this step.

  6. On the Review page, click Deploy to complete your SmartSense service installation.
  7. Exit the wizard.
    Note
    Note

    When activity analyzer is installed, Ambari may prompt to restart HDFS, YARN, and AMS services in order for activity analyzer to be able to communicate with these services. To restart these services select Restart All Required from the ... drop-down menu.