Open raymondnimeng opened 1 year ago
Hi @raymondnimeng , are you working on fixing this issue? If so, I can assign this to you, otherwise, I may add a help wanted tag.
Yes I can work on this issue.
what the status of this task, look forward for your fixed @raymondnimeng
Describe the bug
A clear and concise description of what the bug is.
The HBase docker image (jcjabouille/hbase-standalone:2.4.9) used in testcases for legacy HBase connectors is not compatible with Apple chip(Arm64) - It cannot start the HBase connectors.
Failed testcases are: HBaseOutputFormatITCase and HBaseInputFormatITCase.
These testcases ran successfully on Intel chip.
To Reproduce
Run HBaseOutputFormatITCase or HBaseInputFormatITCase on a machine with Apple Silicon (e.g. Macbook pro 16 inch)
Error messages: org.testcontainers.containers.ContainerLaunchException: Container startup failed
... Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88) at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:334) ... 33 more Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:542) at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:344) at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81) ... 34 more Caused by: org.testcontainers.containers.ContainerLaunchException: Timed out waiting for log output matching '.0 row.' at org.testcontainers.containers.wait.strategy.LogMessageWaitStrategy.waitUntilReady(LogMessageWaitStrategy.java:47) at org.testcontainers.containers.wait.strategy.AbstractWaitStrategy.waitUntilReady(AbstractWaitStrategy.java:52) at org.testcontainers.containers.GenericContainer.waitUntilContainerStarted(GenericContainer.java:953) at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:485) ... 36 more
Expected behavior
Testcases should be able to run and pass.
Build Environment
Describe the environment where the test project was build. Macbook pro, Chip: Apple M1 Pro macOS: Ventura 13.0
Apache Maven 3.8.7 (b89d5959fcde851dcb1c8946a785a163f14e1e29) Maven home: /opt/homebrew/Cellar/maven/3.8.7/libexec Java version: 1.8.0_352, vendor: Azul Systems, Inc., runtime: /Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/jre Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "13.0", arch: "aarch64", family: "mac"
Execution Environment
Same as above