Integrating the Routing Jar with Zeppelin - Spectrum_Routing_for_Big_Data - 5.1

Spectrum Routing Installation: Hortonworks

Product type
Software
Portfolio
Locate
Product family
Spectrum
Product
Spatial Big Data > Routing for Big Data
Version
5.1
Language
English
Product name
Spectrum Routing for Big Data
Title
Spectrum Routing Installation: Hortonworks
Copyright
2024
First publish date
2017
Last updated
2024-10-18
Published on
2024-10-18T09:54:47.614515

The Routing jar can be loaded and referenced in a Zeppelin notebook as an external library.

Perform the following steps to use the Routing jar in Zeppelin:

  1. On the navigation bar, using the Settings drop-down menu and click Interpreter.
    The Interpreters page displays.
  2. Go to the Spark2 section, click Edit.
    The editing view displays.
  3. Go to the Dependencies section. Enter the full local path to the appropriate jar in the artifact field:
    Note: This example assumes the product is installed to /precisely/routing/software as described in Installing the SDK.

    Scala 2.12:

    /precisely/routing/software/spark2/sdk/lib/spectrum-bigdata-routing-sdk-spark2_2.12-sdk_version.jar

    Scala 2.11:

    /precisely/routing/software/spark2/sdk/lib/spectrum-bigdata-routing-sdk-spark2_2.11-sdk_version.jar
  4. Click Save.
    This will restart the interpreter with the loaded library.
  5. To return to your notebook, click the Notebook drop-down menu and select your notebook.
    The Routing jar is now available to all notebooks.