Skip to content
This repository was archived by the owner on Oct 12, 2023. It is now read-only.

IDML/idml-spark-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

IDML Spark Example

This example code shows how you can use IDML mapping as part of your Spark pipeline.

Dependencies

Build

Run...

mvn package

This will create a thin and shaded JAR. You'll need the shaded JAR for deployment to Spark.

Run

Run spark-submit as follows...

./bin/spark-submit --class --class org.idml.sparkexample.IDMLExample --master local[<number of cores, e.g. 2>] <path to built shaded JAR> <path to IDML mapping file> <Path to line-delimited JSON input file>

About

An example showing how to use IDML with Apache Spark

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages