BUG: spark application can have multiple drivers at once
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- kubernetes, rust, spark
- Lĩnh vực
- distributed-systems, infrastructure
Hướng nghiên cứu
Tái hiện vấn đề bằng cách xóa pod spark-submit một cách graceful và ungraceful, sau đó quan sát xem driver và các executors ban đầu có còn lại khi một pod thay thế khởi động hay không. Theo dõi quá trình reconciliation của operator và vòng đời của Spark driver; hoàn thành có nghĩa là hành vi khớp với một trong các kỳ vọng kiểu YARN đã nêu và ngăn không cho hai instance của cùng một ứng dụng chạy đồng thời.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Affected Stackable version
No response
Affected Apache Spark-on-Kubernetes version
No response
Current and expected behavior
Disclaimer, we're still in 25.3.0 with spark but currently upgrading to 25.11.0 - if you fixed that in between, just let me know but i didn't find a related issue fitting my problem
We found the cause for the situation of two or more same spark applications running at the same time. You can reproduce that by just deleting the spark-submit pod ungracefully (which is done in case of evictions or node outages) and even when gracefully shutting down the pod. After a couple of seconds, a new spark-submit pod is booting up, starting a new driver and the driver starts its executors. The problem: old driver and executors are still running. That leads to corrupted data, when to spark apps update the same dataset at the same time.
I expect a YARN like behaviour, when the submit is killed then a) the whole application should fail or b) the application should not be restarted and running application can continue its doing
Issue should be easily reproducible
Possible solution
No response
Additional context
No response
Environment
No response
Would you like to work on fixing this bug?
None
- Ngôn ngữ chính
- Rust
- Star
- 73
- Fork
- 5
- Merge trung bình
- 11 giờ 13 phút
- Pull request đã merge (30 ngày)
- 13
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của stackabletech/spark-k8s-operator
-
type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
stackabletech/spark-k8s-operator#775 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Pin versions/ranges for spark-connect-client python dependencies using a constraints fileCó thể đã có người làm @Maleware đã nhận 8 ngày trước. Đang mởtype/bug
stackabletech/spark-k8s-operator#786 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Application driver Pod is not terminated when Spark is OOMKilledCó thể đã có người làm @razvan đã nhận 18 ngày trước. Đang mởtype/bug
stackabletech/spark-k8s-operator#780 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
stackabletech/spark-k8s-operator#774 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
type/bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
stackabletech/spark-k8s-operator#770 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của stackabletech/spark-k8s-operator
Issue tương tự
-
`rtk ruff -- <path>` drops the leading `--`, so `rtk ruff -- check` lints the whole directoryĐang mởarea:cli bug good first issue priority:medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
rtk-ai/rtk#4702 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
aaif-goose/goose#13031 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
meta.json, text.txt and try JSON are written non-atomicallyCó thể đã có người làm @qwertymuzaffar đã nhận hôm nay. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
qwertymuzaffar/parrot#47 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Alt select PhotocraftĐang mởpriority: medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
storytold/photocraft#8041 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày