Dear all,
I am new in CloverETL, wish I am not asking something stupid (I have tried to search for this forum before asking)
I know we can use runGraph to run an ETL job in Java. However, I want to know if there is anyway for me to get information on the current state of the execution (e.g. number of record processed, status of the job now, error message in case of error etc)? And, any way to control the job, for example, cancel a running job? These feature seems not that obvious when I am reading Javadoc of runGraph
Dear adrianshum,
you can try to parse logs (Engine prints internal status every few seconds).
Whole bunch of monitoring functions and controls is available in CloverETL Server product: see http://www.cloveretl.com/products/enterprise-editions
During runtime, Clover provides a lot of useful statistics (records processed, cpu load by component, etc.) through JMX Bean it registers with JVM.
You may connect to running instance through JConsole (as an example) and see what is going on. Also, there is a possibility to create your own Java JMX client and listen/poll the JMX Bean of Clover.
As for the Java code on Clover’s side - look into org.jetel.graph.runtime.jmx package.