[ 
https://issues.apache.org/jira/browse/HBASE-28432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nihal Jain updated HBASE-28432:
-------------------------------
    Description: 
The purpose of this task is to refactor and move certain tools currently 
located under the test packaging to a new module, named 'hbase-tools'.

The following tools have been initially identified for relocation(will add more 
as and when identified):
 - 
[PerformanceEvaluation|https://github.com/apache/hbase/blob/master/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java]
 - 
[LoadTestTool|https://github.com/apache/hbase/blob/936d267d1094e37222b9b836ab068689ccce3574/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/util/LoadTestTool.java]
 - 
[HFilePerformanceEvaluation|https://github.com/apache/hbase/blob/936d267d1094e37222b9b836ab068689ccce3574/hbase-server/src/test/java/org/apache/hadoop/hbase/HFilePerformanceEvaluation.java]
 - 
[ScanPerformanceEvaluation|https://github.com/apache/hbase/blob/936d267d1094e37222b9b836ab068689ccce3574/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/ScanPerformanceEvaluation.java]
 - 
[LoadBalancerPerformanceEvaluation|https://github.com/apache/hbase/blob/936d267d1094e37222b9b836ab068689ccce3574/hbase-balancer/src/test/java/org/apache/hadoop/hbase/master/balancer/LoadBalancerPerformanceEvaluation.java]
 - 
[WALPerformanceEvaluation|https://github.com/apache/hbase/blob/936d267d1094e37222b9b836ab068689ccce3574/hbase-server/src/test/java/org/apache/hadoop/hbase/wal/WALPerformanceEvaluation.java]

These tools are valuable beyond the scope of testing and should be accessible 
in the binary distribution of HBase. However, their current location within the 
test jars adds unnecessary bloat to the assembly and classpath, and potentially 
introduces CVE-prone JARs into the binary assemblies. We plan to remove all 
test jars from assembly with HBASE-28433.

This task involves creating the new 'hbase-tools' module, and moving the 
identified tools into this module. It also includes ensuring that these tools 
function correctly in their new location and that their relocation does not 
negatively impact any existing functionality or dependencies.

CC: [~stoty], [~zhangduo], [~ndimiduk], [~bbeaudreault]

  was:
The purpose of this task is to refactor and move certain tools currently 
located under the test packaging to a new module, named 'hbase-tools'.

The following tools have been initially identified for relocation(will add more 
as and when identified):
 - 
[PerformanceEvaluation|https://github.com/apache/hbase/blob/master/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java]
 - 
[LoadTestTool|https://github.com/apache/hbase/blob/936d267d1094e37222b9b836ab068689ccce3574/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/util/LoadTestTool.java]
 - 
[HFilePerformanceEvaluation|https://github.com/apache/hbase/blob/936d267d1094e37222b9b836ab068689ccce3574/hbase-server/src/test/java/org/apache/hadoop/hbase/HFilePerformanceEvaluation.java]
 - 
[ScanPerformanceEvaluation|https://github.com/apache/hbase/blob/936d267d1094e37222b9b836ab068689ccce3574/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/ScanPerformanceEvaluation.java]
 - 
[LoadBalancerPerformanceEvaluation|https://github.com/apache/hbase/blob/936d267d1094e37222b9b836ab068689ccce3574/hbase-balancer/src/test/java/org/apache/hadoop/hbase/master/balancer/LoadBalancerPerformanceEvaluation.java]

These tools are valuable beyond the scope of testing and should be accessible 
in the binary distribution of HBase. However, their current location within the 
test jars adds unnecessary bloat to the assembly and classpath, and potentially 
introduces CVE-prone JARs into the binary assemblies. We plan to remove all 
test jars from assembly with HBASE-28433.

This task involves creating the new 'hbase-tools' module, and moving the 
identified tools into this module. It also includes ensuring that these tools 
function correctly in their new location and that their relocation does not 
negatively impact any existing functionality or dependencies.

CC: [~stoty], [~zhangduo], [~ndimiduk], [~bbeaudreault]


> Refactor tools which are under test packaging to a new module 
> hbase-diagnostics
> -------------------------------------------------------------------------------
>
>                 Key: HBASE-28432
>                 URL: https://issues.apache.org/jira/browse/HBASE-28432
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Nihal Jain
>            Assignee: Nihal Jain
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.0.0-beta-2
>
>
> The purpose of this task is to refactor and move certain tools currently 
> located under the test packaging to a new module, named 'hbase-tools'.
> The following tools have been initially identified for relocation(will add 
> more as and when identified):
>  - 
> [PerformanceEvaluation|https://github.com/apache/hbase/blob/master/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java]
>  - 
> [LoadTestTool|https://github.com/apache/hbase/blob/936d267d1094e37222b9b836ab068689ccce3574/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/util/LoadTestTool.java]
>  - 
> [HFilePerformanceEvaluation|https://github.com/apache/hbase/blob/936d267d1094e37222b9b836ab068689ccce3574/hbase-server/src/test/java/org/apache/hadoop/hbase/HFilePerformanceEvaluation.java]
>  - 
> [ScanPerformanceEvaluation|https://github.com/apache/hbase/blob/936d267d1094e37222b9b836ab068689ccce3574/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/ScanPerformanceEvaluation.java]
>  - 
> [LoadBalancerPerformanceEvaluation|https://github.com/apache/hbase/blob/936d267d1094e37222b9b836ab068689ccce3574/hbase-balancer/src/test/java/org/apache/hadoop/hbase/master/balancer/LoadBalancerPerformanceEvaluation.java]
>  - 
> [WALPerformanceEvaluation|https://github.com/apache/hbase/blob/936d267d1094e37222b9b836ab068689ccce3574/hbase-server/src/test/java/org/apache/hadoop/hbase/wal/WALPerformanceEvaluation.java]
> These tools are valuable beyond the scope of testing and should be accessible 
> in the binary distribution of HBase. However, their current location within 
> the test jars adds unnecessary bloat to the assembly and classpath, and 
> potentially introduces CVE-prone JARs into the binary assemblies. We plan to 
> remove all test jars from assembly with HBASE-28433.
> This task involves creating the new 'hbase-tools' module, and moving the 
> identified tools into this module. It also includes ensuring that these tools 
> function correctly in their new location and that their relocation does not 
> negatively impact any existing functionality or dependencies.
> CC: [~stoty], [~zhangduo], [~ndimiduk], [~bbeaudreault]



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

Reply via email to