[ 
https://issues.apache.org/jira/browse/HBASE-8273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13623323#comment-13623323
 ] 

Jean-Daniel Cryans commented on HBASE-8273:
-------------------------------------------

It doesn't work, even if I compile my client against 0.92 and pass an Integer 
it will just get compiled with Integer.intValue and still won't find the 
setMaxVersions(int).

Basically, setMaxVersions(Integer) is a different signature.
                
> HColumnDescriptor setters should return void
> --------------------------------------------
>
>                 Key: HBASE-8273
>                 URL: https://issues.apache.org/jira/browse/HBASE-8273
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>
> See discussion on dev@ mailing list, entitled 'Does compatibility between 
> versions also mean binary compatibility?'
> Synopsis from that thread:
> HBASE-5357 "Use builder pattern in HColumnDescriptor" changed the
> method signatures by changing "void" to "HColumnDescriptor" so it' not
> the same methods anymore.
> if you invoke setters
> on HColumnDescriptor as you'll get:
> java.lang.NoSuchMethodError:
> org.apache.hadoop.hbase.HColumnDescriptor.setMaxVersions(I)V

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to