Search code examples
iccube

Configuring stop times for scheduler


Our data source goes under nightly maintenance during which if icCube tries to deploy, a java.io.IOException: Input/output error is generated that crashes the icCube process. Crashing and restarting, or creating a cron to restart the process is not ideal as it requires full deploy loads afterwards.

Is it possible to schedule a start / stop time or interval time during which a scheduled refresh should run? For example, if we were to only do scheduled loads / incr loads between 6am - 6pm, this should prevent icCube from crashing.

Alternatively, the crashing can be fixed but the only errors I see are:
log4j:ERROR Failed to flush writer, java.io.IOException: Input/output error


Solution

  • There is currently no way to configure the internal scheduler like that. Nevertheless, for custom scheduling, you can use a cron and external icCube commands related to schema management (www).

    The error does not seem to be related to a missing data source. Please contact icCube directly to troubleshoot that crash.

    [edit: this feature will be available from icCube v5]