hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12625) Deprecate certain methods in classes annotated with InterfaceAudience.Public in branch-1
Date Wed, 03 Dec 2014 20:31:13 GMT

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

Ted Yu commented on HBASE-12625:
--------------------------------

This one is a bit tricky:
{code}
[ERROR] /Users/tyu/phoenix/phoenix-core/src/main/java/org/apache/phoenix/util/IndexUtil.java:[536,30]
getTagsLength() in <anonymous org.apache.phoenix.util.IndexUtil$4> cannot implement
getTagsLength() in org.apache.hadoop.hbase.Cell
[ERROR] return type short is not compatible with int
{code}
Return type of getTagsLength() changed.
What's your opinion, [~anoop.hbase] ?

> Deprecate certain methods in classes annotated with InterfaceAudience.Public in branch-1
> ----------------------------------------------------------------------------------------
>
>                 Key: HBASE-12625
>                 URL: https://issues.apache.org/jira/browse/HBASE-12625
>             Project: HBase
>          Issue Type: Task
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>         Attachments: 12625-v1.txt
>
>
> Compiling Phoenix against branch-1, I got compilation error below:
> {code}
> [ERROR] /Users/tyu/phoenix/phoenix-core/src/main/java/org/apache/phoenix/execute/MutationState.java:[345,49]
cannot find symbol
> [ERROR] symbol:   method estimatedSizeOf(org.apache.hadoop.hbase.Cell)
> [ERROR] location: class org.apache.hadoop.hbase.CellUtil
> {code}
> CellUtil is annotated with InterfaceAudience.Public
> estimatedSizeOf() should be deprecated in branch-1



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

Mime
View raw message