pjfanning opened a new pull request, #1895: URL: https://github.com/apache/pekko-connectors/pull/1895
### Motivation The hbase CI job has been disabled since 2020 (inherited from alpakka), so the HBase connector has no integration coverage. The root cause in akka/alpakka#2185 was that the `harisekhon/hbase:1.4` container's region server registers itself in ZooKeeper under the hostname `hbase`, which the runner cannot resolve — all tests then time out with `UnknownHostException: can not resolve hbase,16201,...`. Mapping `hbase` to 127.0.0.1 was reported there to fix the tests, but was never wired into CI. ### Modification - Add `scripts/hbase-server.sh` (same pattern as `scripts/ftp-servers.sh`, since `$PRE_CMD` cannot contain shell operators): appends `127.0.0.1 hbase` to `/etc/hosts` and starts the `hbase` docker-compose service. - Re-enable the `hbase` entry in the CI connectors matrix, pointing its `pre_cmd` at the script. The image stays `harisekhon/hbase:1.4`, matching the connector's `hbase-shaded-client` 1.4.14. ### Result The HBase connector integration tests run in CI again. ### Tests - Not run locally; the re-enabled `connectors (hbase)` CI job on this PR is the validation. ### References Refs https://github.com/akka/alpakka/issues/2185 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
