Class ComputeJobStateExample

java.lang.Object
org.apache.ignite.example.compute.ComputeJobStateExample

public class ComputeJobStateExample extends Object
This code demonstrates the usage of the JobExecution interface that allows to get job statuses and, for example, handle failures.

Find instructions on how to run the example in the README.md file located in the "examples" directory root.

The following steps related to code deployment should be additionally executed before running the current example:

  1. Build "ignite-examples-x.y.z.jar" using the next command:
    ./gradlew :ignite-examples:jar
  2. Create a new deployment unit using the CLI tool:
    cluster unit deploy computeExampleUnit \ --version 1.0.0 \ --path=IGNITE_HOME/examples/build/libs/ignite-examples-x.y.z.jar