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 19:28:12 GMT

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

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

I want to get some advice on the following compilation error:
{code}
[ERROR] /Users/tyu/phoenix/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/ipc/PhoenixIndexRpcSchedulerFactory.java:[38,8]
org.apache.phoenix.hbase.index.ipc.PhoenixIndexRpcSchedulerFactory is not abstract and does
not override abstract method create(org.apache.hadoop.conf.Configuration,org.apache.hadoop.hbase.ipc.PriorityFunction)
in org.apache.hadoop.hbase.regionserver.RpcSchedulerFactory
[ERROR] /Users/tyu/phoenix/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/ipc/PhoenixIndexRpcSchedulerFactory.java:[51,55]
method create in class org.apache.hadoop.hbase.regionserver.SimpleRpcSchedulerFactory cannot
be applied to given types;
[ERROR] required: org.apache.hadoop.conf.Configuration,org.apache.hadoop.hbase.ipc.PriorityFunction
[ERROR] found: org.apache.hadoop.conf.Configuration,org.apache.hadoop.hbase.regionserver.RegionServerServices
[ERROR] reason: actual argument org.apache.hadoop.hbase.regionserver.RegionServerServices
cannot be converted to org.apache.hadoop.hbase.ipc.PriorityFunction by method invocation conversion
{code}
Method signatures for create() are different between branch-1 and 0.98.


> 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