This page describes an older version of the product. The latest stable version is 16.4.

Local Machine Setup


This section explains how to start an InsightEdge environment on a local machine.

Prerequisites

Before running InsightEdge, verify that you have the following installed in your environment:

  • Java 8
  • Scala 2.11
  • Maven 3.1+

Starting the Local Environment

The InsightEdge environment consists of Spark and the XAP Data Grid.

Starting Full Environment

To start a complete InsightEdge environment on your local machine, run the following command from the <XAP_HOME>/insightedge/bin directory:

insightedge demo

This will start the following components on your machine:

Starting Only Data Grid

If you wish to start only the data grid (e.g. you’re spark master url is local[*], or you prefer to use an existing Spark cluster), run the following:

First, start a local XAP manager with two containers on your machine by running the following command from the <XAP_HOME>/bin directory:

./gs-agent.sh --manager-local --gsc=2

Next, deploy a space called insightedge-space with 2 partitions by running the following command from the <XAP_HOME>/insightedge/bin directory:

insightedge deploy-space --partitions=2 insightedge-space

Stopping Local Environment

To stop the environment, you can use shutdown mode that sends kill signal to all relevant processes:

insightedge shutdown

What’s Next?