hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ramkrishna.s.vasudevan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-15174) Client Public API should not have PB objects in 2.0
Date Fri, 03 Jun 2016 06:53:59 GMT

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

ramkrishna.s.vasudevan commented on HBASE-15174:
------------------------------------------------

{code}
  location: class org.apache.hadoop.hbase.TestInterfaceAudienceAnnotations
[ERROR] /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/component/hbase-client/src/test/java/org/apache/hadoop/hbase/TestInterfaceAudienceAnnotations.java:[368,48]
cannot find symbol
  symbol:   class Parameter
  location: class org.apache.hadoop.hbase.TestInterfaceAudienceAnnotations
[ERROR] /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/component/hbase-client/src/test/java/org/apache/hadoop/hbase/TestInterfaceAudienceAnnotations.java:[375,37]
cannot find symbol
  symbol:   class Parameter
  location: class org.apache.hadoop.hbase.TestInterfaceAudienceAnnotations
[ERROR] /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/component/hbase-client/src/test/java/org/apache/hadoop/hbase/TestInterfaceAudienceAnnotations.java:[399,11]
cannot find symbol
  symbol:   class Parameter
  location: class org.apache.hadoop.hbase.TestInterfaceAudienceAnnotations
{code}
I think Parameters is not part of jdk 1.7. Hence the compilation failure. How to over come
this?

> Client Public API should not have PB objects in 2.0
> ---------------------------------------------------
>
>                 Key: HBASE-15174
>                 URL: https://issues.apache.org/jira/browse/HBASE-15174
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Enis Soztutar
>            Assignee: ramkrishna.s.vasudevan
>            Priority: Blocker
>             Fix For: 2.0.0
>
>         Attachments: HBASE-15174.patch, HBASE-15174_1.patch, HBASE-15174_2.patch, HBASE-15174_3.patch
>
>
> Some more cleanup for the parent jira. 
> We have leaked some PB structs in Admin (and possible other places). 
> We should clean up these API before 2.0.
> Examples include: 
> {code}
>   AdminProtos.GetRegionInfoResponse.CompactionState getCompactionState(final TableName
tableName)
>     throws IOException;
>    
>     ....
>   void snapshot(final String snapshotName,
>       final TableName tableName,
>       HBaseProtos.SnapshotDescription.Type type) throws IOException, SnapshotCreationException,
>       IllegalArgumentException;
>    ....
>   MasterProtos.SnapshotResponse takeSnapshotAsync(HBaseProtos.SnapshotDescription snapshot)
>       throws IOException, SnapshotCreationException;
> {code}



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

Mime
View raw message