apache / apache/hop

[Bug]: Linux Hop-run.sh process hangs

Open
#5,354 1 comment 0 reactions 0 assignees View on GitHub
awaiting triage Hop Run P3
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.