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

LH Standalone Image Throws Error On Second Start #1143

Open
HazimAr opened this issue Nov 19, 2024 · 2 comments
Open

LH Standalone Image Throws Error On Second Start #1143

HazimAr opened this issue Nov 19, 2024 · 2 comments
Labels
bug An issue with correctness, stability, performance, or API conformance. server Affects the core LH Server code.

Comments

@HazimAr
Copy link
Member

HazimAr commented Nov 19, 2024

Screenshots

Working Status

image

Error Status (After Stopping & Starting)

image
@HazimAr HazimAr added bug An issue with correctness, stability, performance, or API conformance. server Affects the core LH Server code. labels Nov 19, 2024
@coltmcnealy-lh
Copy link
Member

Not an urgent issue. The standalone image is just for demo's and local debugging.

The root cause is probably related to this in the kafka-entrypoint.sh file:

if [[ ! -f "${KAFKA_DATA_DIR}/__cluster_metadata-0/quorum-state" ]]; then
    kafka-storage.sh format --ignore-formatted --config ${CONFIG_PATH} --cluster-id $(kafka-storage.sh random-uuid)
fi

@sauljabin
Copy link
Member

Not an urgent issue. The standalone image is just for demo's and local debugging.

The root cause is probably related to this in the kafka-entrypoint.sh file:

if [[ ! -f "${KAFKA_DATA_DIR}/__cluster_metadata-0/quorum-state" ]]; then
    kafka-storage.sh format --ignore-formatted --config ${CONFIG_PATH} --cluster-id $(kafka-storage.sh random-uuid)
fi

That is correct, we can check how new kafka's docker versions solve this problem, this is an old solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An issue with correctness, stability, performance, or API conformance. server Affects the core LH Server code.
Projects
None yet
Development

No branches or pull requests

3 participants