Track 3 Spark Java Node Development¶
This track explains how you can code your own python custom node.
$PUNCHPLATFORM_CONF_DIR/training/aim/track3 folder. All files referenced in this chapter are located in that folder.
First read carefully the README.md file.
Read the Depedency Management Guide to understand the issues at stakes.
You can use the IDE (or text editor) of your choice.
punchpkg tool to package and deploy your nodes on your local standalone platform.
Refer to the PunchPkg Section
A standalone installed:
Coding/deploying your custom node¶
Follow our development guide
Try it out !¶
Use maven to package the compiled bytecodes in a jar
# build the project mvn clean install # a jar with dependencies is generated in $(pwd)/target # install it with punchpkg punchpkg spark install target/punch-spark-node-starter-kit-*-jar-with-dependencies.jar # test the newly installed node punchlinectl start -p input_node_example.yaml