HBase
  1. HBase
  2. HBASE-5507

ThriftServerRunner.HbaseHandler.getRegionInfo() and getTableRegions() do not use ByteBuffer correctly

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.94.0
    • Component/s: Thrift
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      We observed that when with "framed transport" option. The thrift call ThriftServerRunner.HbaseHandler.getRegionInfo() receives corrupted parameter (some garbage string attached to the beginning). This may be a thrift bug requires further investigation.

        Activity

        Scott Chen created issue -
        Scott Chen made changes -
        Field Original Value New Value
        Summary ThriftServerRunner.HbaseHandler.getRegionInfo() gets error for the case of (framed, compact) = (true, false) ThriftServerRunner.HbaseHandler.getRegionInfo() and getTableRegions() do not use ByteBuffer correctly
        Phabricator made changes -
        Attachment HBASE-5507.D2073.1.patch [ 12516961 ]
        Ted Yu made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hadoop Flags Reviewed [ 10343 ]
        Phabricator made changes -
        Attachment HBASE-5507.D2073.2.patch [ 12516969 ]
        Phabricator made changes -
        Attachment HBASE-5507.D2073.3.patch [ 12517053 ]
        Ted Yu made changes -
        Fix Version/s 0.94.0 [ 12316419 ]
        Scott Chen made changes -
        Attachment HBASE-5507-0.94.txt [ 12517181 ]
        Ted Yu made changes -
        Comment [ -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12517181/HBASE-5507-0.94.txt
          against trunk revision .

            +1 @author. The patch does not contain any @author tags.

            +1 tests included. The patch appears to include 6 new or modified tests.

            -1 patch. The patch command could not apply the patch.

        Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/1109//console

        This message is automatically generated. ]
        stack made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Lars Hofhansl made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Scott Chen
            Reporter:
            Scott Chen
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development