-
Notifications
You must be signed in to change notification settings - Fork 208
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] Docker container does not stop running after Data Prepper shuts down #3141
Comments
Additional info: After the I've also attached a jstack dump that i took on the Docker container: |
I was able to repro the same behavior outside Docker (using the binary from jstack dump - jstack_dump_2.txt |
I'd check to see if the |
The orchestrator now suppresses exit code 143 if it is returned by the migration monitor, since this is a result of a workaround for opensearch-project/data-prepper#3141 . Unit tests have been added to cover this scenario. This change also ensures that a return_code is always returned by the function, and updates some stale comments. Signed-off-by: Kartik Ganesh <[email protected]>
The orchestrator now suppresses exit code 143 if it is returned by the migration monitor, since this is a result of a workaround for opensearch-project/data-prepper#3141 . Unit tests have been added to cover this scenario. This change also ensures that a return_code is always returned by the function, and updates some stale comments. Signed-off-by: Kartik Ganesh <[email protected]>
The orchestrator now suppresses exit code 143 if it is returned by the migration monitor, since this is a result of a workaround for opensearch-project/data-prepper#3141 . Unit tests have been added to cover this scenario. This change also ensures that a return_code is always returned by the function, and updates some stale comments. Signed-off-by: Kartik Ganesh <[email protected]>
…M) (#478) The orchestrator now suppresses exit code 143 if it is returned by the migration monitor, since this is a result of a workaround for opensearch-project/data-prepper#3141 . Unit tests have been added to cover this scenario. This change also ensures that a return_code is always returned by the function, and updates some stale comments. Signed-off-by: Kartik Ganesh <[email protected]>
Describe the bug
I'm using the Docker version of Data Prepper (
opensearch-data-prepper:2.4.0-SNAPSHOT
) built from source (./gradlew :dockerSolution:buildDockerImages
). When using a pipeline that includes an Opensearch source, invoking Data Prepper's shutdown API appears to terminate the Data Prepper server but does not stop the Docker container.Snippet of Data Prepper logs:
Command line:
Pipeline configuration:
This is possibly an issue only with the opensearch source plugin - I used the following pipeline and the Docker container stopped correctly (the sink endpoint in both cases is the same).
To Reproduce
See above
Expected behavior
The Docker container stops after the Data Prepper server has shut down
Screenshots
N/A
Environment (please complete the following information):
Additional context
N/A
The text was updated successfully, but these errors were encountered: