Conversation
* 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.