Repository: pingcap/tispark (language: python)

Issue:
delete trove4j
### What problem does this PR solve? <!--add issue link with summary if exists-->


### What is changed and how it works?


### Check List <!--REMOVE the items that are not applicable-->

Tests <!-- At least one of them must be included. -->

 - Unit test
 - Integration test
 - Manual test (add detailed scripts or steps below)
 - No code

Code changes

 - Has exported function/method change
 - Has exported variable/fields change
 - Has interface methods change
 - Has persistent data change

Side effects

 - Possible performance regression
 - Increased code complexity
 - Breaking backward compatibility

Related changes

 - Need to cherry-pick to the release branch
 - Need to update the documentation
 - Need to update the `tidb-ansible` repository
 - Need to be included in the release note



Discussion / hints:
/run-all-tests
/run-all-tests

/run-all-tests


[APPROVALNOTIFIER] This PR is **APPROVED**

This pull-request has been approved by: *<a href="https://github.com/pingcap/tispark/pull/2732#pullrequestreview-1542768971" title="Approved">xuanyu66</a>*, *<a href="https://github.com/pingcap/tispark/pull/2732#pullrequestreview-1540418996" title="Approved">zhangyangyu</a>*

The full list of commands accepted by this bot can be found [here](https://prow.tidb.net/command-help?repo=pingcap%2Ftispark).

The pull request process is described [here](https://book.prow.tidb.net/#/workflows/pr)

<details >
Needs approval from an approver in each of these files:

- ~~[OWNERS](https://github.com/pingcap/tispark/blob/master/OWNERS)~~ [xuanyu66]

Approvers can indicate their approval by writing `/approve` in a comment
Approvers can cancel approval by writing `/approve cancel` in a comment
</details>
<!-- META={"approvers":[]} -->
[LGTM Timeline notifier]
---
Timeline:

- `2023-07-21 03:47:04.040136237 +0000 UTC m=+1254115.810474950`: :ballot_box_with_check: agreed by [zhangyangyu](https://github.com/zhangyangyu).
- `2023-07-24 06:27:01.421368793 +0000 UTC m=+162964.015899765`: :ballot_box_with_check: agreed by [xuanyu66](https://github.com/xuanyu66).

Fix patch:
diff --git a/tikv-client/WORKSPACE b/tikv-client/WORKSPACE
index cf17b2562a..3b7983843c 100644
--- a/tikv-client/WORKSPACE
+++ b/tikv-client/WORKSPACE
@@ -83,11 +83,6 @@ maven_jar(
     artifact = "org.powermock:powermock-api-support:1.6.6",
 )
 
-maven_jar(
-   name = "net_sf_trove4j_trove4j",
-   artifact = "net.sf.trove4j:trove4j:3.0.1",
-)
-
 git_repository(
   name = "org_pubref_rules_protobuf",
   remote = "https://github.com/pubref/rules_protobuf",
diff --git a/tikv-client/pom.xml b/tikv-client/pom.xml
index 6aab0bcca9..4028ce536e 100644
--- a/tikv-client/pom.xml
+++ b/tikv-client/pom.xml
@@ -24,7 +24,6 @@
         <powermock.version>1.6.6</powermock.version>
         <jackson.annotations.version>2.12.6</jackson.annotations.version>
         <jackson.databind.version>2.12.6.1</jackson.databind.version>
-        <trove4j.version>3.0.1</trove4j.version>
         <jetcd.version>0.4.1</jetcd.version>
         <joda-time.version>2.9.9</joda-time.version>
         <joda-convert.version>1.9.2</joda-convert.version>
@@ -67,12 +66,6 @@
             <version>${slf4j.version}</version>
             <scope>provided</scope>
         </dependency>
-        <!-- https://mvnrepository.com/artifact/net.sf.trove4j/trove4j -->
-        <dependency>
-            <groupId>net.sf.trove4j</groupId>
-            <artifactId>trove4j</artifactId>
-            <version>${trove4j.version}</version>
-        </dependency>
         <dependency>
             <groupId>com.sangupta</groupId>
             <artifactId>murmur</artifactId>
diff --git a/tikv-client/src/main/java/com/pingcap/tikv/BUILD b/tikv-client/src/main/java/com/pingcap/tikv/BUILD
index e369326b87..795cfdfa1f 100644
--- a/tikv-client/src/main/java/com/pingcap/tikv/BUILD
+++ b/tikv-client/src/main/java/com/pingcap/tikv/BUILD
@@ -24,7 +24,6 @@ java_library(
         "@org_slf4j_jcl_over_slf4j//jar",
         "@org_slf4j_jul_to_slf4j//jar",
         "@log4j_log4j//jar",
-        "@net_sf_trove4j_trove4j//jar",
     ],
 )
 


Test patch:
diff --git a/tikv-client/src/test/java/com/pingcap/tikv/BUILD b/tikv-client/src/test/java/com/pingcap/tikv/BUILD
index b4c5d7d97b..039797a2f3 100644
--- a/tikv-client/src/test/java/com/pingcap/tikv/BUILD
+++ b/tikv-client/src/test/java/com/pingcap/tikv/BUILD
@@ -17,7 +17,6 @@ junit_suite_test(
 
         "@org_pubref_rules_protobuf//java:grpc_compiletime_deps",
         "@org_pubref_rules_protobuf//java:netty_runtime_deps",
-        "@net_sf_trove4j_trove4j//jar",
         "@junit_junit//jar",
         "@joda_time//jar",
     ],