Skip to Content
Previous

Installing the Streaming Studio Plugin

By jennynotjen

Install the streaming analytics plugin for SAP HANA studio, add a connection to the streaming analytics server, and create a HANA service.

Details

Install the streaming analytics plugin for SAP HANA studio, add a connection to the streaming analytics server, and create a HANA service.


Step 1: Install the plugin
  1. Use the Download Manager to download the streaming studio plugin file.

  2. Extract the contents of the streaming studio plugin file.

  3. Open studio and select Help > Install New Software:

    Install New Software
  4. In the Install dialog, click Add:

    Click Add
  5. In the Add Repository dialog, click Local, select the <extracted_path>/<platform>/SAP_HANA_STREAMING/repository folder, and click OK:

    Click LocalSelect the repository folder
  6. In the Install dialog, check SAP HANA streaming analytics, then click Next:

    Check SAP HANA streaming analytics
  7. Review the items to be installed, then click Next:

    Review the items to be installed
  8. Review the license, accept the terms and conditions to continue, then click Finish:

    Review and accept the license
  9. For any security warnings, click OK.

  10. At the prompt to restart studio, select Yes.

  11. If you are installing the plugin into studio for Linux, log off of the machine and log back in.

Step 2: Open the streaming perspectives
  1. In studio, select Window > Perspective > Open Perspective > Other, then select the SAP HANA Streaming Development perspective and click OK:

    Open PerspectiveSAP HANA Streaming Development perspective
  2. Select Window > Perspective > Open Perspective > SAP HANA Streaming Run-Test:

    SAP HANA Streaming Run-Test perspective
Step 3: Add a streaming analytics connection

Here we will connect studio to the SAP HANA streaming analytics server.

  1. In the SAP HANA Streaming Run-Test perspective, in the Server view, select New Server URL:

    New Server URL
  2. Enter the following connection details:

    • Host Name: The hostname or IP address for your SAP HANA installation
    • Port: 3<instance-number>26

    Enable SSL, then click OK:

    Enter connection details
  3. Right-click on the new server and select Change User Name and Password:

    Change User Name and Password
  4. Enter the credentials for SYSTEM and click OK:

    Enter the credentials for SYSTEM

    Note:
    To automatically connect to the streaming server when starting studio, check Use Secure Storage for Streaming Credentials.

  5. Right-click on the server and select Connect Server:

    Connect Server
  6. Open Window > Preferences and select SAP HANA streaming analytics from the list:

    Open PreferencesSAP HANA streaming analytics preferences
  7. Set Default Server URL to the new server and click OK:

    Default Server URL
Step 4: Add a HANA service

In this step we will create a named Data Service on the SAP HANA streaming analytics server. In this case, the data service will connect to a particular HANA database. Streaming projects use named data services to connect to database tables.

  1. Switch to the SAP HANA Streaming Development perspective and select the Data Services tab:

    Data Services tab
  2. Right-click on the new server and select Load Workspaces:

    Load Workspaces
  3. Right-click on the Server-wide folder and select Add HANA Service:

    Add HANA Service
  4. Select newservice1 and, in the Properties view:

    • Enter the credentials for SYSTEM.
    • Check Use Default HANA Server.
    Edit HANA service properties
  5. Right-click on newservice1 and select Rename Service. Name the new service hanadb:

    Rename ServiceName the service
  6. To confirm that the HANA service is configured properly, right-click on it and select Discover:

    Discover

Updated 10/05/2017

Time to Complete

10 Min

Beginner

Tags

Prerequisites

Proficiency: Beginner

Next
Back to top

Call me now