[Bug]: Linux Hop-run.sh process hangs
- Dominant language
- Java
- Stars
- 1.5k
- Forks
- 476
- Avg merge
- 18h 32m
- Merged PRs (30d)
- 216
Description
### Apache Hop version?
2.11
### Java version?
openjdk version "17.0.7" 2023-04-18
### Operating system
Linux
### What happened?
Sometimes when running hop-run.sh from cron it may hang. In the log file in this case the last entry is always " - New database connection defined". No errors or warnings, even if debug level row.
Next time this task may complete successfully, but this "hanging hop-run.sh" will be shown with 'ps -aux | grep hop' until kill -9 is run.
There can be a lot of such processes and they all use Java memory.
### Issue Priority
Priority: 3
### Issue Component
Component: Hop Run
Contributor guide
Research direction
Start with hop-run.sh when it is launched from cron on Linux, and inspect the log sequence ending with "New database connection defined". Compare a successful run with a hung process and determine what remains active; done means the cause is identified and hop-run.sh no longer leaves accumulating Java processes, or the failure is reported clearly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, linux, shell
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100