Martijn Visser created FLINK-40907:
--------------------------------------

             Summary: HBaseITCase.test cannot build the HBase image, 
hbase-2.6.6 tarball gone from dlcdn
                 Key: FLINK-40907
                 URL: https://issues.apache.org/jira/browse/FLINK-40907
             Project: Flink
          Issue Type: Bug
          Components: Connectors / HBase
            Reporter: Martijn Visser


{{HBaseITCase}} builds its HBase image by downloading 
https://dlcdn.apache.org/hbase/2.6.6/hbase-2.6.6-bin.tar.gz. That file is no 
longer on dlcdn (404, the 2.6 line there only has 2.6.7 now; archive.apache.org 
still has it), and the image build fails:
https://github.com/apache/flink-connector-hbase/actions/runs/37166465669/job/111330269487
 (weekly 2026-10-04, JDK 17)

{code}
[ERROR] org.apache.flink.streaming.tests.HBaseITCase.test  Time elapsed: 53.992 
s  <<< ERROR!
org.testcontainers.containers.ContainerFetchException: Can't get Docker image: 
RemoteDockerImage(imageName=<resolving>, imagePullPolicy=DefaultPullPolicy(), 
imageNameSubstitutor=org.testcontainers.utility.ImageNameSubstitutor$LogWrappedImageNameSubstitutor@1f9f381d)
        at 
org.testcontainers.containers.GenericContainer.getDockerImageName(GenericContainer.java:1364)
        at 
org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:351)
        at 
org.testcontainers.containers.GenericContainer.start(GenericContainer.java:322)
        at 
org.apache.flink.streaming.tests.HBaseITCase.test(HBaseITCase.java:104)
Caused by: com.github.dockerjava.api.exception.DockerClientException: Could not 
build image: The command '/bin/sh -c export INITRD=no && export 
HBASE_DIST="https://dlcdn.apache.org/hbase"; && cd /opt && curl -SL 
$HBASE_DIST/$HBASE_VERSION/hbase-$HBASE_VERSION-bin.tar.gz | tar -x -z && mv 
hbase-${HBASE_VERSION} hbase && ...' returned a non-zero code: 2
{code}

The same build step also failed on the main push of 2026-09-23 and a PR on 
2026-09-22, there after about three minutes per attempt; on 2026-09-27 it still 
built:
https://github.com/apache/flink-connector-hbase/actions/runs/35842493806/job/107120645562
https://github.com/apache/flink-connector-hbase/actions/runs/35746864743/job/107122695741

The test moved from 2.6.4 to 2.6.6 on 2026-07-13 as part of FLINK-40133; the 
weekly before that failed in the same image build.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to