Skip to content

Conversation

@xlfe
Copy link

@xlfe xlfe commented Nov 24, 2025

No description provided.

xlfe added 6 commits November 19, 2025 06:41
       * Switched from the shaded bigtable-hbase-2.x-hadoop artifact to bigtable-hbase-2.x. This exposed the necessary transitive
         dependencies (like com.google.bigtable.v2.RowRange and com.google.protobuf) required by Scanner.java to implement the "Phase 2
         Fix".

   2. Removed Incompatible Code (`jsr166e`):
       * Deleted the org.hbase.async.jsr166e package. These classes (LongAdder, Striped64) contained Unsafe and AccessController usage
         that is restricted in modern JDKs (Java 21).
       * Updated src/main/java/org/hbase/async/Counter.java to use the standard java.util.concurrent.atomic.LongAdder available since Java
         8.

   3. Fixed Compilation Errors in `Scanner.java`:
       * Replaced calls to the non-existent Bytes.hex(byte[]) method with Bytes.pretty(byte[]) in the debug logging statements.
       * Resolved package com.google.bigtable.v2 does not exist and package RowRange does not exist errors via the pom.xml dependency
         switch.

   4. Fixed `KeyRegexpFilter.java`:
       * Replaced the missing BinaryRegexComparator with a robust fallback using RegexStringComparator.
       * Configured it to use ISO-8859-1 charset to safely perform "binary" regex matching on raw byte keys, mimicking the intended
         behavior of the missing comparator.

   1. Added Zookeeper Dependency:
       * Added org.apache.zookeeper:zookeeper:3.4.14 to pom.xml.
       * Included exclusions for slf4j-log4j12 and log4j to prevent the "circular logging" conflicts mentioned in the project history.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant