[Bug] FE build cannot resolve org.apache.doris:je:18.3.14-doris-SNAPSHOT: the snapshot is gone from repository.apache.org
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ó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 72/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- java
- Lĩnh vực
- build-system
Hướng nghiên cứu
Phiên bản cũ được ghim bởi thuộc tính je.version trong fe/pom.xml, mà fe-core dùng để resolve như một dependency. Tái hiện lỗi bằng hai lệnh mvn dependency:get trong báo cáo với một local repository trống, sau đó so sánh tọa độ lỗi 18.3.14 với bản đã phát hành 18.3.17. Hoàn thành khi một build FE sạch resolve được artifact je và các unit test của catalog đều pass; cách sửa là nâng phiên bản hoặc chuyển sang một bản build je đã phát hành.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Search before asking
- I had searched in the issues and found no similar issues.
Version
master, branch-4.1 and branch-4.0 (all pin <je.version>18.3.14-doris-SNAPSHOT</je.version> in fe/pom.xml). Observed on a 4.1.5 checkout with an unchanged fe/pom.xml.
What's Wrong?
Since 2026-11-02 a Frontend build with an empty (or expired) local Maven repository fails to resolve org.apache.doris:je:jar:18.3.14-doris-SNAPSHOT:
[ERROR] Failed to execute goal on project fe-core: Could not resolve dependencies for project org.apache.doris:fe-core:jar:1.2-SNAPSHOT
[ERROR] dependency: org.apache.doris:je:jar:18.3.14-doris-SNAPSHOT (compile)
[ERROR] Could not find artifact org.apache.doris:je:jar:18.3.14-doris-SNAPSHOT in central (https://repo.maven.apache.org/maven2)
[ERROR] Could not find artifact org.apache.doris:je:jar:18.3.14-doris-SNAPSHOT in huawei-obs-sdk (https://repo.huaweicloud.com/repository/maven/huaweicloudsdk/)
[ERROR] Could not find artifact org.apache.doris:je:jar:18.3.14-doris-SNAPSHOT in snapshots (https://repository.apache.org/content/repositories/snapshots/)
[ERROR] Could not find artifact org.apache.doris:je:jar:18.3.14-doris-SNAPSHOT in apache.snapshots (https://repository.apache.org/snapshots)
The artifact only ever existed in the Apache snapshot repository. That repository keeps a single snapshot version per artifact: https://repository.apache.org/content/repositories/snapshots/org/apache/doris/je/ now lists only 18.3.17-doris-SNAPSHOT (uploaded 2026-11-02 06:36 UTC), and 18.3.14-doris-SNAPSHOT/maven-metadata.xml returns 404. je is not published anywhere else, including Maven Central.
Machines and CI runners that built before still have the jar in ~/.m2, so the breakage only shows on a fresh environment. That is probably why it has not been noticed yet.
What You Expected?
fe/pom.xml resolves on a clean machine, either by pinning the snapshot that is currently published (18.3.17-doris-SNAPSHOT resolves today) or, better, by depending on a released, non-snapshot build of je so this cannot repeat the next time the snapshot rotates.
How to Reproduce?
With an empty local repository, no project needed:
cd "$(mktemp -d)"
mvn -B -Dmaven.repo.local="$PWD/m2" dependency:get \
-Dartifact=org.apache.doris:je:18.3.14-doris-SNAPSHOT \
-DremoteRepositories=apache.snapshots::::https://repository.apache.org/content/repositories/snapshots/
# -> Could not find artifact org.apache.doris:je:jar:18.3.14-doris-SNAPSHOT in apache.snapshots
mvn -B -Dmaven.repo.local="$PWD/m2" dependency:get \
-Dartifact=org.apache.doris:je:18.3.17-doris-SNAPSHOT \
-DremoteRepositories=apache.snapshots::::https://repository.apache.org/content/repositories/snapshots/
# -> succeeds
Or clone the repository on a machine that has never built Doris and run the FE build.
Anything Else?
Bumping je.version to 18.3.17-doris-SNAPSHOT builds and passes FE unit tests here (checked the org/apache/doris/catalog/**/*Test pattern, 477 tests), so a one-line bump unblocks fresh builds immediately. A released version would be the durable fix.
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
- Ngôn ngữ chính
- Java
- Star
- 16.2k
- Fork
- 4k
- Merge trung bình
- 1 ngày 19 giờ
- Pull request đã merge (30 ngày)
- 671
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọ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 apache/doris
-
[Bug] array_sort's second comparator argument takes the first argument's name: a nested lambda reads the wrong argument, and alias functions sort nothingCó thể đã có người làm @adarshomrey đã nhận 2 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
apache/doris#69919 · 2 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 78/100
apache/doris#69863 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] Upper-case hex in cloud initial rowset id is mis-parsed by BE from_hex (lossy, non-unique RowsetId)Có thể đã có người làm @siddiqueirshad đã nhận 6 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
apache/doris#69371 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Doc] 官方文档中 S3 路径风格访问参数错误 (s3.use_path_style)Có thể đã có người làm @wy471x đã nhận 11 ngày trước. Đang mở
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
5.0.x backport enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
spring-cloud/spring-cloud-function#1507 ·
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 65/100
open-learning-exchange/myplanet#18484 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ai-driven-fuzzing bug claude Minor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
linagora/twake-calendar-side-service#1417 · 2 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 74/100
line/armeria#7109 · 3 reaction ·
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 72/100
open-feature/java-sdk-contrib#1966 ·
Maintainer thường phản hồi trong vòng 1 ngày