Publishing HBase Service

Feedback


SuperMap iServer supports directly publishing HBase service as data service or map service, such as: REST Data Service, REST Map Service, WFS Service, WMS Service.

Publishing data stored in HBase as data service

You can quickly publish data stored in Elasticsearch as data service by the following steps:

  1. In service management Home, click Quickly publish services, choose HBase Service as data source, click Next.
  2. Input the service address (ZooKeeper address list), such as "192.168.112.251:2181", and database name (the file directory where the data is located), such as "test". Click Next.
  1. Select the service type to be published as data services, such as REST Data Service, click Next.
  2. Check whether to open the editable function for the data service being published. Default is uneditable.
  3. The service configuration information will be listed on the page, including data source, service type, click Finish to finish the publishing flow.
  4. After finishing the publishing flow, it will show the name and link of the current service,  which can be accessed directly.

Publishing data stored in HBase as map service

You can quickly publish data stored in Elasticsearch as map service by the following steps:

  1. In service management Home, click Quickly publish services, choose HBase Service as data source, click Next.
  2. Input the service address (ZooKeeper address list), such as "192.168.112.251:2181", and database name (the file directory where the data is located), such as "test". Click Next.
  3. Select the service type to be published as map services, such as REST Map Service, click Next.
  4. Specify a JSON-formatted style file for maps, which must follow the Mapbox Style specification. Click Next.
  1. The service configuration information will be listed on the page, including data source, service type, click Finish to finish the publishing flow.
  2. After finishing the publishing flow, it will show the name and link of the current service,  which can be accessed directly.

Note: If the iServer service and the HBase cluster are not on the same machine, you need to add the ip+hostname of the machine where each node of the HBase cluster is located to the hosts file of the machine where the iServer service is located.