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

Niels Basjes updated HBASE-12279:
---------------------------------
    Attachment: HBASE-12279-2014-10-16-v1.patch

I ran the following commands to get to this patch

{code}
cd hbase-thrift
thrift -strict --gen java:hashcode -out src/main/java/
src/main/resources/org/apache/hadoop/hbase/thrift/Hbase.thrift
thrift -strict --gen java:hashcode -out src/main/java/
src/main/resources/org/apache/hadoop/hbase/thrift2/hbase.thrift
cd ..
git diff > HBASE-12279-2014-10-16-v1.patch
{code}

> Generated thrift files were generated with the wrong parameters
> ---------------------------------------------------------------
>
>                 Key: HBASE-12279
>                 URL: https://issues.apache.org/jira/browse/HBASE-12279
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Niels Basjes
>         Attachments: HBASE-12279-2014-10-16-v1.patch
>
>
> It turns out that the java code generated from the thrift files have been 
> generated with the wrong settings.
> Instead of the documented 
> ([thrift|http://hbase.apache.org/devapidocs/org/apache/hadoop/hbase/thrift/package-summary.html],
>  
> [thrift2|http://hbase.apache.org/devapidocs/org/apache/hadoop/hbase/thrift2/package-summary.html])
>  
> {code}
> thrift -strict --gen java:hashcode 
> {code}
> the current files seem to be generated instead with
> {code}
> thrift -strict --gen java
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to