Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-22394

HdfsFileStatus incompatibility when used with Hadoop 3.1.x

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.1.4
    • Fix Version/s: None
    • Component/s: regionserver
    • Labels:
      None

      Description

      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:

      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)
      

      Hadoop 3.1.1+ is listed as compatible with Hbase 2.1.x at https://hbase.apache.org/book.html#basic.prerequisites.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              attiviorlau Raymond Lau
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated: