From a1ae35e69164e42af68bf1d940744ae326ce130a Mon Sep 17 00:00:00 2001 From: slfan1989 <55643692+slfan1989@users.noreply.github.com> Date: Fri, 5 Apr 2024 22:09:15 +0800 Subject: [PATCH] HADOOP-19135. Remove Jcache 1.0-alpha. (#6695) Contributed by Shilun Fan. Reviewed-by: Steve Loughran Signed-off-by: Shilun Fan --- LICENSE-binary | 2 +- hadoop-project/pom.xml | 12 ++++++------ .../hadoop-yarn-server-common/pom.xml | 10 ++-------- 3 files changed, 9 insertions(+), 15 deletions(-) diff --git a/LICENSE-binary b/LICENSE-binary index 02869088e1..c9577c8737 100644 --- a/LICENSE-binary +++ b/LICENSE-binary @@ -310,7 +310,6 @@ org.apache.commons:commons-validator:1.6 org.apache.curator:curator-client:5.2.0 org.apache.curator:curator-framework:5.2.0 org.apache.curator:curator-recipes:5.2.0 -org.apache.geronimo.specs:geronimo-jcache_1.0_spec:1.0-alpha-1 org.apache.hbase:hbase-annotations:1.7.1 org.apache.hbase:hbase-client:1.7.1 org.apache.hbase:hbase-common:1.7.1 @@ -507,6 +506,7 @@ com.sun.jersey:jersey-server:1.19.4 com.sun.jersey:jersey-servlet:1.19.4 com.sun.xml.bind:jaxb-impl:2.2.3-1 javax.annotation:javax.annotation-api:1.3.2 +javax.cache:cache-api:1.1.1 javax.servlet:javax.servlet-api:3.1.0 javax.servlet.jsp:jsp-api:2.1 javax.websocket:javax.websocket-api:1.0 diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml index a01a31289d..67cd8fe584 100644 --- a/hadoop-project/pom.xml +++ b/hadoop-project/pom.xml @@ -132,8 +132,8 @@ 1.10.0 2.0.3 - 1.0-alpha-1 3.8.2 + 1.1.1 4.0.3 10.14.2.0 6.2.1.jre7 @@ -1943,11 +1943,6 @@ kerb-core ${kerby.version} - - org.apache.geronimo.specs - geronimo-jcache_1.0_spec - ${jcache.version} - org.ehcache ehcache @@ -2078,6 +2073,11 @@ log4j-web ${log4j2.version} + + javax.cache + cache-api + ${cache.api.version} + diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/pom.xml b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/pom.xml index e67f53e213..1f762d3180 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/pom.xml +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/pom.xml @@ -124,14 +124,8 @@ leveldbjni-all - org.apache.geronimo.specs - geronimo-jcache_1.0_spec - - - org.osgi - org.osgi.core - - + javax.cache + cache-api org.ehcache