I have to agree anecdotally that when I first upgraded to 3.3.1 I got a
bunch of NoSuchMethodExceptions (or similar). This was a while ago so I
don't have specifics. It was an easy fix -- recompile hbase with
-Dhadoop.version=3.3.1.

On Mon, Dec 20, 2021 at 9:46 PM Wei-Chiu Chuang
<weic...@cloudera.com.invalid> wrote:

> tl; dr: Pretty sure it won't run.
>
> Looking at the Hadoop 3.3 support jira (HBASE-22953
> <https://issues.apache.org/jira/browse/HBASE-22953
> <https://issues.apache.org/jira/browse/HBASE-22953>>),
> most of the work was
> to whitelist additional dependencies. However, the biggest change was
> inside the asyncwall HBASE-23833
> <https://issues.apache.org/jira/browse/HBASE-23833
> <https://issues.apache.org/jira/browse/HBASE-23833>>
> due to the
> relocated protobuf classes. Netty and jetty version updates are mostly
> likely to fail your installation as well.
>
> We strive to make Hadoop follow the public compatibility guidelines. But
> from time to time we have to make changes across minor release lines
> (between 3.1.2 and 3.3.0) and also unfortunately HBase uses a number of
> private Hadoop APIs which can change without notice.
>
> (I think we can close HBASE-22953 as done at this point)
>
> On Tue, Dec 21, 2021 at 10:02 AM Josh Elser <els...@apache.org> wrote:
>
> > Hi Michael!
> >
> > I have to give you the "default" HBase, but defer you to the Hadoop
> > community (or someone from there who is paying attention to this list)
> > for the precise answer.
> >
> > The question you are asking is: does the binary compatibility of Hadoop
> > jars changes between Hadoop 3.1.2 and 3.3.0. The short answer is "maybe".
> >
> > In general, within one Hadoop major version, the likelihood of a change
> > which breaks binary compatibility [1] is relatively low. However, "low"
> > is not "none". If you're doing this on a local environment or a dev
> > system, you're probably OK. I would definitely recommend you recompile
> > HBase if you're using it for a production system. You wouldn't want to
> > be chasing a fix for this if it manifests in a subtle/strange manner.
> >
> > - Josh
> >
> > [1] https://docs.oracle.com/javase/specs/jls/se7/html/jls-13.html
> <https://docs.oracle.com/javase/specs/jls/se7/html/jls-13.html>
> >
> > On 12/20/21 11:01 AM, Michael Wohlwend wrote:
> > > Hello all,
> > >
> > > I have hadoop 3.1.2 running, with hbase 2.1.4
> > >
> > > If I want to update to hadoop 3.3.0, is it sufficient to replace all
> > the hadoop
> > > 3.1.2 jars in the hbase folder tree with the 3.3.0 version?
> > > Or do I have to make a new hbase build?
> > >
> > >
> > > Thanks for answering
> > > Michael
> > >
> > >
> > >
> >
>

Reply via email to