[
https://issues.apache.org/jira/browse/HBASE-22394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16839921#comment-16839921
]
Raymond Lau commented on HBASE-22394:
-------------------------------------
We have some customers who want to use the YARN Service API though in general,
customers are always asking about upgrading to newer versions, so even absent
this specific use case, we want to advance our compatibility matrix. Hadoop 3.1
is over a year old at this point and folks want us to support it.
We have a single platform that talks to both yarn, hdfs and hbase. It is
possible to segregate different functionality, but then asking the customer to
add only version 3.0.x jars to this directory but only 3.1.x jars to this other
directory – equally untenable. And it will get worse when 3.2.x becomes stable
and enters the picture.
> HdfsFileStatus incompatibility when used with Hadoop 3.1.x
> ----------------------------------------------------------
>
> Key: HBASE-22394
> URL: https://issues.apache.org/jira/browse/HBASE-22394
> Project: HBase
> Issue Type: Bug
> Components: regionserver
> Affects Versions: 2.1.4
> Reporter: Raymond Lau
> Priority: Major
>
> Hbase 2.1.4 works fine with Hadoop 3.0.3 but when I attempted to upgrade to
> Hadoop 3.1.2, I get the following error in the region server:
> {noformat}
> 2019-05-10 12:49:10,303 ERROR HRegionServer - ***** ABORTING region server
> [REDACTED],16020,1557506923574: Unhandled: Found interface
> org.apache.hadoop.hdfs.protocol.HdfsFileStatus, but class was expected *****
> java.lang.IncompatibleClassChangeError: Found interface
> org.apache.hadoop.hdfs.protocol.HdfsFileStatus, but class was expected
> at
> org.apache.hadoop.hbase.io.asyncfs.FanOutOneBlockAsyncDFSOutputHelper.createOutput(FanOutOneBlockAsyncDFSOutputHelper.java:768)
> at
> org.apache.hadoop.hbase.io.asyncfs.FanOutOneBlockAsyncDFSOutputHelper.access$400(FanOutOneBlockAsyncDFSOutputHelper.java:118)
> at
> org.apache.hadoop.hbase.io.asyncfs.FanOutOneBlockAsyncDFSOutputHelper$16.doCall(FanOutOneBlockAsyncDFSOutputHelper.java:848)
> {noformat}
> Hadoop 3.1.1+ is listed as compatible with Hbase 2.1.x at
> [https://hbase.apache.org/book.html#basic.prerequisites].
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)