-
Notifications
You must be signed in to change notification settings - Fork 33
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
WIP: Docker integ test with async API #1003
base: main
Are you sure you want to change the base?
WIP: Docker integ test with async API #1003
Conversation
Signed-off-by: Norman Jordan <[email protected]>
This is not complete yet. Still need to:
|
@normanj-bitquill I've also started working on some similar PR with Iceberg based docker-compose - |
Current StatusIn my testing, I have added a second OpenSearch container. This resolves issues with the cluster and indices going into yellow state. Changes in OpenSearch node:
What works:
What is missing:
|
Can submit an async query and the result is written to the result index. Need to create the external table in Spark before submitting the query Signed-off-by: Norman Jordan <[email protected]>
@YANG-DB I have partially working async API in the latest commit. These are my testing steps:
The OpenSearch container will need to bind the docker socket The OpenSearch container will start another container to process the async query. This is the place where we could slip in the EMR spark container (if there is any value from it). |
I have not tested retrieving results using the Async API. This is likely broken, since cannot check on the EMR job status. I also haven't tested a streaming query (also likely broken). |
@@ -8,29 +23,35 @@ services: | |||
- "${UI_PORT:-4040}:4040" | |||
- "${SPARK_CONNECT_PORT}:15002" | |||
entrypoint: /opt/bitnami/scripts/spark/master-entrypoint.sh | |||
user: root |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@normanj-bitquill why is this mandatory ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you plz explain what is the issue here we need to solve ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing license header
@@ -0,0 +1,29 @@ | |||
package com.amazonaws.services.emrserverless; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing license header
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing license header
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing license header
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing license header
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing license header
|
||
su opensearch ./opensearch-docker-entrypoint.sh "$@" | ||
|
||
kill -TERM `cat /var/run/docker-command-runner.pid` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this called ?
can you plz explain the entire flow for the docker compose ?
@@ -0,0 +1,88 @@ | |||
#!/bin/bash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is nice - can you add some documentation of what is done here ?
Description
Update the integration test docker stack to support the OpenSearch Async API and using Minio as an S3 storage engine. Also includes having everything configured on startup.
Related Issues
#992
Check List
--signoff
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.