You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Hari Sekhon (Jira)" <ji...@apache.org> on 2020/02/17 13:47:00 UTC
[jira] [Created] (HBASE-23860) HBase Thrift bindings generating
broken code
Hari Sekhon created HBASE-23860:
-----------------------------------
Summary: HBase Thrift bindings generating broken code
Key: HBASE-23860
URL: https://issues.apache.org/jira/browse/HBASE-23860
Project: HBase
Issue Type: Bug
Components: Thrift
Affects Versions: 2.2.3
Reporter: Hari Sekhon
Generated perl thrift bindings are broken:
{code:java}
$ 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.
{code}
Tested from build from source of both HBase 2.1.2 and 2.2.3 using both Thrift 0.12 and 0.13.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)