Thanks a lot for your suggestion.
I tried a different approach based on your idea. I deleted my local
repository and used Maven Central as source instead of employer's maven
proxy. Build worked flawlessly without any issues. It seems that there are
issues with io-opentelemetry JARs hosted in my
Compare the local maven repo settings:
~/.m2/settings.xml
For me, I mostly use my employer's maven proxy, which occasionally causes
build issues if I am not behind the corporate VPN.
Maybe there's something different in your maven repo settings between the
two Macs.
You could also manually
Thanks for checking guys.I tried different maven/java versions but none of
them solved my issue. I also tried running maven in debug mode but it's not
throwing any error or warning/exceptions.
Do you have any recommendations on how I debug/solve this?
On Tue, Apr 30, 2024 at 6:06 PM Bryan
I also routinely build all branches of hbase on an apple M3, using hadoop3,
and Java 11+. I believe I’ve also built with java8 at some point, but don’t
quote me on that because we largely don’t use java8 at my company.
On Tue, Apr 30, 2024 at 4:48 PM Wei-Chiu Chuang wrote:
> I am on Apple M3,
I am on Apple M3, checked out HBase master branch,
my JDK is Zulu 1.8.0_392 and Maven 3.9.6.
I am able to build without modifying HBase code.
On Tue, Apr 30, 2024 at 1:39 PM Mihir Monani wrote:
> Also I tried the build with OpenJDK 8 aarchx64 JDK version and x64 JDK
> version, and it fails for
Also I tried the build with OpenJDK 8 aarchx64 JDK version and x64 JDK
version, and it fails for both of them.
If I explicitly add dependency for hbase-common/pom.xml, then it passes for
hbase-common.
*diff --git a/hbase-common/pom.xml b/hbase-common/pom.xml*
*index 0723298926..348c3a4bd4
If I add *io.opentelemetry:opentelemetry-context* as dependency in
hbase-common/pom.xml, it works fine.
I am more confused on why this works with Intel MacBook but doesn't work
with M1/M3 MacBook.
On Tue, Apr 30, 2024 at 11:28 AM Mihir Monani
wrote:
> Hi
>
> I am trying to build hbase (mvn
Hi
I am trying to build hbase (mvn clean install -DskipTests) and it fails
with the below error in hbase-common package. (Maven version : 3.8.8, Java
Version : JDK openjdk version "1.8.0_401")
[*ERROR*] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile