Skip to content

Commit

Permalink
PHOENIX-7538 Update to Hadoop 3.3.6 in Connectors (#150)
Browse files Browse the repository at this point in the history
also add workaround for HADOOP-19164
  • Loading branch information
stoty authored Mar 5, 2025
1 parent b1ac7e8 commit cfc2914
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
11 changes: 11 additions & 0 deletions phoenix5-spark/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,13 @@
<scope>test</scope>
</dependency>

<!-- Workaround for HADOOP-19164 -->
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>

<!-- We want to take the implementation from Spark -->
<dependency>
<groupId>org.slf4j</groupId>
Expand Down Expand Up @@ -471,6 +478,10 @@
<ignoredUnusedDeclaredDependency>
org.slf4j:slf4j-log4j12
</ignoredUnusedDeclaredDependency>
<!--Workaround for Hadoop bug -->
<ignoredUnsedDeclaredDependency>
org.mockito:mockito-core
</ignoredUnsedDeclaredDependency>
</ignoredUnusedDeclaredDependencies>
</configuration>
</plugin>
Expand Down
9 changes: 9 additions & 0 deletions phoenix5-spark3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,12 @@
<scope>test</scope>
</dependency>

<!-- Workaround for HADOOP-19164 -->
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
Expand Down Expand Up @@ -302,6 +308,9 @@
<ignoredUnsedDeclaredDependency>org.apache.hbase:hbase-it</ignoredUnsedDeclaredDependency>
<ignoredUnsedDeclaredDependency>org.apache.hadoop:hadoop-minicluster</ignoredUnsedDeclaredDependency>
<ignoredUnsedDeclaredDependency>org.apache.omid:omid-tso-server</ignoredUnsedDeclaredDependency>
<ignoredUnsedDeclaredDependency>org.apache.omid:omid-tso-server</ignoredUnsedDeclaredDependency>
<!--Workaround for Hadoop bug -->
<ignoredUnsedDeclaredDependency>org.mockito:mockito-core</ignoredUnsedDeclaredDependency>
</ignoredUnusedDeclaredDependencies>
</configuration>
</plugin>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
<!-- These should match the versions used to build HBase and Hadoop -->
<hbase.version>2.5.8-hadoop3</hbase.version>
<hbase.compat.version>2.5.0</hbase.compat.version>
<hadoop.version>3.2.4</hadoop.version>
<hadoop.version>3.3.6</hadoop.version>
<zookeeper.version>3.8.4</zookeeper.version>
<hbase-thirdparty-version>4.1.5</hbase-thirdparty-version>
<!-- Hbase version dependent versions end -->
Expand Down Expand Up @@ -129,7 +129,7 @@
<commons-collections.version>3.2.2</commons-collections.version>
<commons-csv.version>1.0</commons-csv.version>
<findbugs-annotations.version>1.3.9-1</findbugs-annotations.version>
<mockito-all.version>1.8.5</mockito-all.version>
<mockito-all.version>4.11.0</mockito-all.version>
<junit.version>4.13.2</junit.version>
<jodatime.version>2.10.5</jodatime.version>
<commons-cli.version>1.4</commons-cli.version>
Expand Down

0 comments on commit cfc2914

Please sign in to comment.