Re: HBase Master hangs on startup during upgrade from 2.2.5 to 2.5.7

2024-04-30 Thread Udo Offermann
I think we finally made it. There were a few more problems: First, I made sure that the class paths were clean - Classpath hygiene in Java is the be-all and end-all ;-) Then I saw that the region servers had problems with Snappy compression. I'm not sure, but I believe the native Snappy libs were

Re: HBase Master hangs on startup during upgrade from 2.2.5 to 2.5.7

2024-04-30 Thread Udo Offermann
Found it: in hbase-site.xml: hbase.io.compress.snappy.codec org.apache.hadoop.hbase.io.compress.xerial.SnappyCodec > Am 30.04.2024 um 16:32 schrieb Udo Offermann : > > I think we finally made it. > There were a few more problems: First, I made sure that the class paths were > clean -

Build failure on Apple (M1/M3) for hbase-common package for io.opentelemetry:opentelemetry-context, while it works on Intel Mac

2024-04-30 Thread Mihir Monani
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 *(default

Re: Build failure on Apple (M1/M3) for hbase-common package for io.opentelemetry:opentelemetry-context, while it works on Intel Mac

2024-04-30 Thread Mihir Monani
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 clea

Re: Build failure on Apple (M1/M3) for hbase-common package for io.opentelemetry:opentelemetry-context, while it works on Intel Mac

2024-04-30 Thread Mihir Monani
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 100644

Re: Build failure on Apple (M1/M3) for hbase-common package for io.opentelemetry:opentelemetry-context, while it works on Intel Mac

2024-04-30 Thread Wei-Chiu Chuang
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

Re: Build failure on Apple (M1/M3) for hbase-common package for io.opentelemetry:opentelemetry-context, while it works on Intel Mac

2024-04-30 Thread Bryan Beaudreault
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, c