Using Resilience Optimization

When you run your application, you occasionally encounter unexpected error conditions, for example a file that is deleted while being processed, or a custom business logic that accesses data arrays out of bounds. Most SPL operators or functions raise exceptions in that case and crash the processing element.

If resilience is enabled, the ITE application detects these unexpected errors and reports them in the rejected/<input-filename>.rej.csv rejection file. The rejection file is in the output directory that is specified in the ite.storage.directory.outputs parameter. If resilience is disabled, these errors lead to unhealthy processing elements (PEs) that stop the tuple processing.

About this task

Enable the resilience optimization by setting the parameter to on.

Procedure

  1. In the file <PathToYourApplication>/config/config.cfg, find the ite.resilienceOptimization parameter description
  2. To enable the resilience optimization, set the parameter to on: ite.resilienceOptimization=on