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

HBase Thrift bindings generating broken code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.2.3
    • None
    • Thrift
    • 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

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

            Dates

              Created:
              Updated: