Routing Jar for Routing Operations - Spectrum_Routing_for_Big_Data - 5.1

Spectrum Routing Installation: Cloudera

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: Cloudera
Copyright
2024
First publish date
2017
Last updated
2024-10-18
Published on
2024-10-18T09:54:26.541418

If you want to use routing operations in Spark, a Routing jar file is available which supports compiling and running routing programs.

The Routing jar includes the Download Manager API, which provides the capability to manage downloading the routing datasets programmatically. If your routing datasets are stored remotely, then use the DownloadManager API to create a DownloadManager instance and pass it to the GRAInstanceBuilder, which will download and manage the datasets for you. In addition, the Download Manager can set permissions in the case where you have multiple users interacting with the data.
  • For more information about the Download Manager API, see the Javadocs located in: /precisely/routing/software/spark2/sdk/javadocs/downloadmanager
The Routing jar also includes a Scala class called GRAInstanceBuilder that constructs an IGRAInstance to use for Routing requests.
  • For more information about the builder, see the Scaladocs located in: /precisely/routing/software/spark2/sdk/scaladocs/bigdata
  • For more information about the Global Routing API (GRA), see the Javadocs located in: /precisely/routing/software/spark2/sdk/javadocs/gra

There are several options for deploying the Routing jar; refer to the following table to proceed according to your use case: