The GitHub Actions job "CI" on pekko-connectors.git/hbase-ci-1.4.x has failed.
Run started by GitHub user pjfanning (triggered by pjfanning).

Head commit for run:
a18e28348f9b494c1bedd75d9611c813c27de90f / PJ Fanning 
<[email protected]>
HBase: re-enable integration tests in CI on 1.4.x

Motivation:
The hbase CI job has been disabled since 2020 (inherited from alpakka),
so the HBase connector has no integration coverage on 1.4.x. The root
cause in akka/alpakka#2185 was that the harisekhon/hbase container's
region server registers itself in ZooKeeper under the hostname "hbase",
which the runner cannot resolve - all tests then time out. The 2020
image rebuild also moved the region server to the default ports.

Modification:
Backport of the CI parts of #1895, without the docker image or hbase
client upgrades (the 1.4.x branch keeps harisekhon/hbase:1.4 and
hbase-shaded-client 1.4.14, so the scala-steward pins and the 1.x-API
code also stay):
- Add scripts/hbase-server.sh (copied from #1895; 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.
- Publish the HBase-default ports 16020/16030 instead of the stale
  16201/16301.
- Add the directional flow tests for append, increment, delete and
  complex converters from #1895, adapted to the 1.4.x test style
  (JDK 8 idioms, Append.add instead of the 2.x Append.addColumn).

Result:
The HBase connector has working CI integration tests again on 1.4.x,
unchanged docker image and client versions.

Tests:
- sbt "hbase/Test/compile" and sbt "hbase/javafmtCheckAll" - clean
- scalafmt --mode diff-ref=upstream/1.4.x - clean
- Integration runs in the re-enabled connectors (hbase) CI job; this
  exact configuration (1.4 image, 1.4.14 client, ports 16020/16030,
  hosts-file script) passed CI on main at apache/pekko-connectors@e6e7963ba
  before #1895 upgraded the image/client. Local integration not run
  (requires sudo to edit /etc/hosts).

References:
Refs #1895, Refs #61, Refs https://github.com/akka/alpakka/issues/2185

Report URL: https://github.com/apache/pekko-connectors/actions/runs/33974300902

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to