[ 
https://issues.apache.org/jira/browse/HBASE-23860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hari Sekhon updated HBASE-23860:
--------------------------------
    Description: 
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 HBase 2.2.3 using both 
Thrift 0.12 and 0.13.

 

  was:
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.

 


> 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
>            Priority: Major
>
> 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 HBase 2.2.3 using both 
> Thrift 0.12 and 0.13.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to