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

HBase Thrift bindings generating broken code

    XMLWordPrintableJSON

    Details

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

      Description

      Generated perl thrift bindings are broken:

      $ thrift --gen perl src/main/resources/org/apache/hadoop/hbase/thrift/Hbase.thrift
      
      $ cd gen-perl
      
      $ perl -I . -Tc Hbase/Hbase.pm
      Subroutine new redefined at /Library/Perl/5.18/Thrift/Exception.pm line 38.
      Bareword "Thrift::TMessageType::CALL" not allowed while "strict subs" in use at Hbase/Hbase.pm line 9897.
      BEGIN not safe after errors--compilation aborted at Hbase/Hbase.pm line 12163.
      

       

      Tested from build from source of both HBase 2.1.2 and HBase 2.2.3 using both Thrift 0.12 and 0.13.

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              harisekhon Hari Sekhon
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: