Running Insights Inference - Spark Jobs

For installation instructions, click here.

 Prerequisite
  • Apache Spark-2.2.0-bin-hadoop2.7.tgz
  • Hadoop 2.7.1
  • Java 1.8
  • Apache Maven
  • Scala 2.11.11
 Execution Instructions

To get the Spark JAR file from Installation zip.


To manually generate Spark JAR


%WORKSPACE%  is the directory which contains Insights - Development Platform. It is the location where Insights has been cloned.

Browse to "%WORKSPACE%\Insights\PlatformInsights". Run the below command using terminal - 

mvn clean install -DSkipTests


Add server-config.json in the INSIGHTS_HOME path of  Spark server.

Run the below command in a terminal


java -jar PlatformInsights-0.0.1-SNAPSHOT-jar-with-dependencies.jar 21600


©2021 Cognizant, all rights reserved. US Patent 10,410,152