Configuring and managing distributed analysis service

Feedback


The Distributed analysis service uses distributed computing technology to perform spatial analysis and data processing on very large volume spatial datasets. iServer supports visual configuration of the distributed analysis service. The following content shows how to configure it.

  1. Configuring a distributed computing cluster

To configure the distributed anaysis service, first you need to configure a computing cluster since the implementation of the distributed analysis related functions provided by the distributed analysis service is based on calling the capability of a distributed computing cluster.

Currently, iServer supports three types of computing clustrs. The configuration steps are as follows:

  1. Using the iServer built-in Spark cluster
    1. Prepare the environment. For details, see: The environment preparation before using iServer built-in Spark.
    2. Start the Spark cluster on the local iServer. For details, see: Start iServer built-in Spark cluster service.
  2. Using a Spark cluster outside of iServer
    1. If you don't have a Spark cluster available, you can Build your own Spark distributed cluster on other computers.
    2. If you already have a Spark cluster available, you need to configure it in iServer to use it. For details, see: Using a Spark cluster outside the iServer.
  3. Using a Hadoop Yarn cluster outside of iServer
    1. Before using the Hadoop Yarn cluster, you need to do some configurations on the machine where the iServer locates. For details, see: environment configurations before iServer uses the Hadoop Yarn cluster.
    2. Using a Hadoop Yarn cluster which disables Kerberos authentication. For detailed configurations, see: Using a Hadoop Yarn cluster. If you need to set up a Hadoop Yarn cluster without Kerberos enabled, see: Building a Hadoop Yarn cluster without Kerberos authentication.
    3. Using a Hadoop Yarn cluster with Kerberos authentication enabled. For detailed configurations, see: Using a Hadoop Yarn cluster with Kerberos authentication. If you need to set up a Hadoop Yarn cluster with Kerberos authentication enabled, see: Building a Hadoop Yarn cluster with Kerberos authentication. Using a Hadoop Yarn cluster with Kerberos authentication enabled. For detailed configurations, see Using a Hadoop Yarn Cluster with Kerberos Authentication. If you need to set up a Hadoop Yarn cluster with Kerberos authentication enabled, see Building a Hadoop Yarn cluster with Kerberos authentication.

Note: iServer also provides you with some Spark cluster optimization configurations to improve service performance.

  1. Configure the settings of the distributed analysis service

Steps:

  1. After launching iServer on the primary node machine, enter the distributed analysis page.
  2. Click the "Clusters">"Distributed Analysis Services" tab in the iServer Service Manager (http://supermapiserver:8090/iserver/manager)
  3. Check "Enable service" to configure the following parameters:
    • Settings of the associated iServer service
    1. Service address: The address of the iserver service used when the result of the distributed analysis is published as a iServer service. Optional parameter. Defaults to http://localhost:8090/iserver. (At present, only the associated iServer which locates on the same machine as the current iServer is supported.)
    2. Token: The token of the associated iServer service. Required parameter.
  1. Result output setting: Supports output to local disk, iServer DataStore, registered database (HBase, PostGIS, and PGSQL). Default: local disk.
  2. Whether publish the analysis result as a service. Default: The results of the analysis are published as a service.
    1. Check (or default): Support for publishing analysis results as rest map service, rest data service. Requires to config the associated iServer service. The specific configuration is as follows:
      1. Associated iServer service address: The address of the iserver service used when the result of the distributed analysis is published as a iServer service. Optional parameter. Defaults to http://localhost:8090/iserver. (At present, only the associated iServer which locates on the same machine as the current iServer is supported.)
      2. Associated service token: The token of the associated iServer service. Required parameter.
    2. Not checked.The results of the analysis will not be published as an iServer service.
  1. JVM maximum heap size: jvm maximum heap memory. Optional parameter. Default: 1024m. (If the analysis result data is relatively large, it is recommended to modify this parameter to 4g or more)
  2. Process port: The port of the distributed analytics service process. Optional parameter. Default: 6675

 

  1. Click "Save".
  2. Configure the security settings of the distributed analysis service
  3. Enter a specific distributed analysis job creating page.

After enable the distributed analytics servic, you can add rich visual rendering effects to the published services via Setting thematic map template.