Hub
Pricing About
NodeNode / Manipulator

Spark RDD Java Snippet

Tools & ServicesApache SparkMiscJava Snippet
Drag & drop
Like

This node allows you to execute arbitrary java code to manipulate or create Spark RDD. Simply enter the java code in the text area.

Note, that this node also supports flow variables as input to your Spark job. To use a flow variable simply double click on the variable in the "Flow Variable List".

It is also possible to use external java libraries. In order to include such external jar or zip files, add their location in the "Additional Libraries" tab using the control buttons. For details see the "Additional Libraries" tab description below.
The used libraries need to be present on your cluster and added to the class path of your Spark job server. They are not automatically uploaded!

You can define reusable templates with the "Create templates..." button. Templates are stored in the users workspace by default and can be accessed via the "Templates" tab. For details see the "Templates" tab description below.

For Spark 2.2 and above, this node compiles the snippet code with Java 8 support, otherwise it uses Java 7.

Node details

Input ports
  1. Type: Spark Data
    First Spark Data
    First input Spark RDD.
  2. Type: Spark Data
    Second Spark Data
    Optional second input Spark RDD. (optional)
Output ports
  1. Type: Spark Data
    Result Spark Data
    Result Spark RDD.

Extension

The Spark RDD Java Snippet node is part of this extension:

  1. Go to item

Related workflows & nodes

  1. Go to item
  2. Go to item
  3. Go to item

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits