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

Duo Zhang commented on HBASE-24888:
-----------------------------------

I think we need a final round of cleanup before releasing 3.0.0-beta-2.

I did this
{code:bash}
grep -R "@deprecated" -A 1 . | grep 3.0.0
{code}

And filtered out the code we need delete

{noformat}
./hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/FixedFileTrailer.java:
   * @deprecated Since hbase-2.0.0. Will be removed in hbase-3.0.0.

./hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/HasRegionServerServices.java:
 * @deprecated Since 2.0.0 to be removed in 3.0.0. The hope is that by 3.0.0 we 
will not need this

./hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/RegionObserver.java:
   * @deprecated Since hbase-2.0.0. No replacement. To be removed in 
hbase-3.0.0 and replaced with

./hbase-server/src/main/java/org/apache/hadoop/hbase/util/ZKDataMigrator.java: 
* @deprecated Since 2.0.0. To be removed in hbase-3.0.0.
./hbase-server/src/main/java/org/apache/hadoop/hbase/util/ZKDataMigrator.java:  
 * @deprecated Since 2.0.0. To be removed in hbase-3.0.0.
./hbase-server/src/main/java/org/apache/hadoop/hbase/util/ZKDataMigrator.java:  
 * @deprecated Since 2.0.0. To be removed in hbase-3.0.0.

./hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RegionCoprocessorHost.java:
   * @deprecated In hbase-2.0.0. Will be removed in hbase-3.0.0. Added 
explicitly for a single
./hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RegionCoprocessorHost.java:
   * @deprecated Since hbase-2.0.0. No replacement. To be removed in 
hbase-3.0.0 and replaced with
./hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RegionCoprocessorHost.java:
   * @deprecated Since hbase-2.0.0. No replacement. To be removed in 
hbase-3.0.0 and replaced with

./hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtil.java:   * 
@deprecated since 2.0.0 and will be removed in 3.0.0. Can be used only with 
mini dfs.

./hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java:
   * @deprecated Since 1.2.0 and will be removed in 3.0.0. Use
./hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java:
   * @deprecated since 1.3.0 and will be removed in 3.0.0. Use {@link 
#addDependencyJars(Job)}

./hbase-client/src/main/java/org/apache/hadoop/hbase/filter/FirstKeyValueMatchingQualifiersFilter.java:
 * @deprecated Deprecated in 2.0.0 and will be removed in 3.0.0.

./hbase-examples/src/main/python/thrift2/gen-py/hbase/THBaseService.py-         
* since 2.0.0, we will remove it in 3.0.0 release.
./hbase-examples/src/main/python/thrift2/gen-py/hbase/THBaseService.py-         
* since 2.0.0, we will remove it in 3.0.0 release.

./hbase-thrift/target/classes/org/apache/hadoop/hbase/thrift2/hbase.thrift-   * 
since 2.0.0, we will remove it in 3.0.0 release.
./hbase-thrift/src/main/resources/org/apache/hadoop/hbase/thrift2/hbase.thrift- 
  * since 2.0.0, we will remove it in 3.0.0 release.

./hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/THBaseService.java-
     *  * since 2.0.0, we will remove it in 3.0.0 release.

./hbase-testing-util/src/main/java/org/apache/hadoop/hbase/HBaseTestingUtility.java:
   * @deprecated since 2.0.0 and will be removed in 3.0.0. Can be used only 
with mini dfs.
{noformat}

Will create sub tasks to remove them.


> API cleanup for 3.0.0
> ---------------------
>
>                 Key: HBASE-24888
>                 URL: https://issues.apache.org/jira/browse/HBASE-24888
>             Project: HBase
>          Issue Type: Umbrella
>          Components: API
>            Reporter: Duo Zhang
>            Priority: Major
>
> An umbrella issue to track the removing the deprecated methods.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to