apache / hop

Hop Orchestration Platform
https://hop.apache.org/
Apache License 2.0
983 stars 351 forks source link

[Bug]: ActionDuration always zero in workflow logging #3606

Closed rvirgolireply closed 9 months ago

rvirgolireply commented 9 months ago

Apache Hop version?

2.7

Java version?

11.0.16

Operating system

Windows

What happened?

I'm trying to log the duration of each action in my workflows. I'm using the provided "workflow-log-sample.hpl" sample in the samples/reflection folder. Even though each action in one of my workflows takes seconds to complete, in the output csv file I see actionDuration equal to zero for each of them. I got the same results also in Hop 2.3, same Java install.

Here is a screenshot of the csv generated by the log sample. hopcsv

Issue Priority

Priority: 2

Issue Component

Component: Samples, Component: Transforms

nadment commented 9 months ago

I can confirm that this is a bug: the execution time of an action is not recorded. I've found a way to fix it with the LocalEngine, but not with the RemoteEngine.