This is an automated email from the ASF dual-hosted git repository.

madhan pushed a commit to branch ranger-2.8
in repository https://gitbox.apache.org/repos/asf/ranger.git


The following commit(s) were added to refs/heads/ranger-2.8 by this push:
     new 26650d6ad RANGER-4939: upgrade Elasticsearch version to 7.17.29 (#398)
26650d6ad is described below

commit 26650d6ad4638c7aa2391001215a86de586cdd97
Author: Fernando Arribas Jara <[email protected]>
AuthorDate: Wed Jan 7 05:58:36 2026 +0100

    RANGER-4939: upgrade Elasticsearch version to 7.17.29 (#398)
    
    (cherry picked from commit ab3d058b1aa598064c3f289a045ee64a05a077ac)
---
 .../apache/ranger/server/tomcat/ElasticSearchIndexBootStrapper.java   | 4 ++--
 pom.xml                                                               | 2 +-
 .../authorization/elasticsearch/plugin/RangerElasticsearchPlugin.java | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/embeddedwebserver/src/main/java/org/apache/ranger/server/tomcat/ElasticSearchIndexBootStrapper.java
 
b/embeddedwebserver/src/main/java/org/apache/ranger/server/tomcat/ElasticSearchIndexBootStrapper.java
index 7a921a142..3f81f9daf 100644
--- 
a/embeddedwebserver/src/main/java/org/apache/ranger/server/tomcat/ElasticSearchIndexBootStrapper.java
+++ 
b/embeddedwebserver/src/main/java/org/apache/ranger/server/tomcat/ElasticSearchIndexBootStrapper.java
@@ -50,8 +50,8 @@
 import org.elasticsearch.client.indices.CreateIndexRequest;
 import org.elasticsearch.client.indices.CreateIndexResponse;
 import org.elasticsearch.common.settings.Settings;
-import org.elasticsearch.common.unit.TimeValue;
-import org.elasticsearch.common.xcontent.XContentType;
+import org.elasticsearch.core.TimeValue;
+import org.elasticsearch.xcontent.XContentType;
 
 
 public class ElasticSearchIndexBootStrapper extends Thread {
diff --git a/pom.xml b/pom.xml
old mode 100644
new mode 100755
index 3b093ebcc..cd62e7632
--- a/pom.xml
+++ b/pom.xml
@@ -86,7 +86,7 @@
         
<distMgmtStagingUrl>https://repository.apache.org/service/local/staging/deploy/maven2</distMgmtStagingUrl>
         <dnsjava.version>3.6.2</dnsjava.version>
         <eclipse.jpa.version>2.7.12</eclipse.jpa.version>
-        <elasticsearch.version>7.10.2</elasticsearch.version>
+        <elasticsearch.version>7.17.29</elasticsearch.version>
         <enunciate.version>2.13.2</enunciate.version>
         
<fasterxml.jackson.databind.version>2.17.2</fasterxml.jackson.databind.version>
         <fasterxml.jackson.version>2.17.2</fasterxml.jackson.version>
diff --git 
a/ranger-elasticsearch-plugin-shim/src/main/java/org/apache/ranger/authorization/elasticsearch/plugin/RangerElasticsearchPlugin.java
 
b/ranger-elasticsearch-plugin-shim/src/main/java/org/apache/ranger/authorization/elasticsearch/plugin/RangerElasticsearchPlugin.java
index 2af13f87f..fea4049e6 100644
--- 
a/ranger-elasticsearch-plugin-shim/src/main/java/org/apache/ranger/authorization/elasticsearch/plugin/RangerElasticsearchPlugin.java
+++ 
b/ranger-elasticsearch-plugin-shim/src/main/java/org/apache/ranger/authorization/elasticsearch/plugin/RangerElasticsearchPlugin.java
@@ -37,7 +37,6 @@
 import org.elasticsearch.common.io.stream.NamedWriteableRegistry;
 import org.elasticsearch.common.settings.Settings;
 import org.elasticsearch.common.util.concurrent.ThreadContext;
-import org.elasticsearch.common.xcontent.NamedXContentRegistry;
 import org.elasticsearch.env.Environment;
 import org.elasticsearch.env.NodeEnvironment;
 import org.elasticsearch.plugins.ActionPlugin;
@@ -47,6 +46,7 @@
 import org.elasticsearch.script.ScriptService;
 import org.elasticsearch.threadpool.ThreadPool;
 import org.elasticsearch.watcher.ResourceWatcherService;
+import org.elasticsearch.xcontent.NamedXContentRegistry;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 

Reply via email to