Connecting Hortonworks with MicroStrategy

There are two ways to connect Hortonworks to MicroStrategy:

  • Using an ODBC connector, which is an application programming interface for accessing a Hadoop system.
  • Using a Native connector, also known as a MicroStrategy Hadoop gateway, which is a data processing engine included in MicroStrategy 10. It natively taps into HDFS and generates the schema on read, allowing faster parallel data transfer from Hadoop:

Connecting Hortonworks with MicroStrategy

For this book we will be using an ODBC connector. To read more about setting up via a Native connector, the user can refer to the following URL:

https://community.microstrategy.com/t5/Server/TN248914-Overview-and-installation-of-the-MicroStrategy-10/ta-p/248914

Setting up an ODBC connector

  1. Open the MicroStrategy machine and download the 64-bit Hortonworks ODBC driver - Hortonworks ODBC Driver for Apache Hive (v2.1.2) - from the following link:

    http://hortonworks.com/downloads/#addons

  2. Install the driver by double-clicking the download file.
  3. Once it's installed, go to Start | All program | Administrative tools | Data Sources (ODBC) to open the ODBC data source administrator.
  4. Click on System DSN and click on the Add button.
  5. Select the Hortonworks Hive ODBC driver and enter DSN setup:

    Setting up an ODBC connector

  6. Fill the form with the following information:
    • Data Source Name: sample Hortonworks Hive DSN
    • Host: 192.168.81.129
    • Port: 10000
    • Database: default
    • Mechanism: User Name
    • User Name: maria_dev

Setting up a MicroStrategy environment

  1. Open the MicroStrategy Desktop application.
  2. Click on File | Add data.
  3. Select Hadoop | Hortonworks Hive from the following screen:

    Setting up a MicroStrategy environment

  4. Select Build a query and then Next.
  5. Click Add on the import from tables screen.
  6. Select the data source. The user can either choose DSN-less data source or a DSN data source.
  7. In our case we will select a DSN data source. Select the appropriate information and click OK.

    Setting up a MicroStrategy environment

  8. Now, clicking on Hadoop under DATA SOURCES will populate all the tables available in Hive under AVAILABLE TABLES:

    Setting up a MicroStrategy environment

  9. We can confirm this by checking the tables available in the Hive interface:

    Setting up a MicroStrategy environment

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset