Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
rvirgolireply opened this issue Feb 5, 2024 · 1 comment · Fixed by #3608
Closed

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

rvirgolireply opened this issue Feb 5, 2024 · 1 comment · Fixed by #3608
Assignees
Labels
Milestone

Comments

@rvirgolireply
Copy link

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
Copy link
Contributor

nadment commented Feb 6, 2024

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.

@nadment nadment self-assigned this Feb 6, 2024
nadment added a commit to nadment/hop that referenced this issue Feb 6, 2024
Indirectly fix "actionDuration" always null in workflow logging
@nadment nadment linked a pull request Feb 6, 2024 that will close this issue
usbrandon added a commit that referenced this issue Feb 6, 2024
Record action execution duration #3606
@hansva hansva added this to the 2.8 milestone Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants