Uploaded image for project: 'CDH (READ-ONLY)'
  1. CDH (READ-ONLY)
  2. DISTRO-363

Thrift jar incompatibility with HBase on CDH3u2

    Details

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

      Description

      A user reports the following exception using the "createTable" call with HBase's thrift interface:
      Exception in thread "pool-1-thread-1" java.lang.NoSuchMethodError: org.apache.thrift.protocol.TProtocol.readBinary()[B

      Looking at the HBase code in 3u2, it looks like it was built against Thrift 0.3.0. Other parts of CDH use Thrift 0.6.0 and later. My guess is that HBase is picking up the newer Thrift despite compiling against the older thrift. We should harmonize the thrift version across the components, potentially by backporting HBASE-3513, HBASE-3629, or HBASE-4342.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                todd Todd Lipcon
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: