title: “Apache Ranger 2.6.0”

Apache Ranger 2.6.0 release notes

Apache Ranger 2.6.0 was released on February 15, 2025. The release adds import and export of individual policies, moves the embedded web server to Tomcat 9, reduces plugin memory use, and extends the docker setup to Oracle, SQL Server and Ozone.

The cwiki page for this release lists JIRA keys only; the summaries in the tables below were taken from JIRA for the same keys.

Highlights

Component versions

The release was built and tested with the following component versions (as recorded in the release notes):

ComponentVersion
JavaJDK 8
Python3.10.12
MariaDB10.7.3
PostgreSQL12
Oracle23.6
Apache Solr8.11.3

Artifacts

ArtifactLocation
Source tarballapache-ranger-2.6.0.tar.gz (signature, SHA-512)
Binary tarballshttps://downloads.apache.org/ranger/2.6.0/services/ (admin, usersync, tagsync, kms), https://downloads.apache.org/ranger/2.6.0/plugins/, https://downloads.apache.org/ranger/2.6.0/tools/
Release directoryhttps://downloads.apache.org/ranger/2.6.0/
Git tagrelease-ranger-2.6.0
Docker imagesapache/ranger:2.6.0, apache/ranger-db:2.6.0, apache/ranger-solr:2.6.0, apache/ranger-zk:2.6.0 on Docker Hub
Maven Centralorg.apache.ranger:*:2.6.0
Archivearchive.apache.org/dist/ranger/2.6.0/

Verify every download against its .asc signature and checksum file before you use it; see Download and verify.

Resolved issues

The tables below list the 106 JIRA issues recorded in the release notes for this version (1 new features, 50 improvements, 45 bugs fixed, 10 tasks). Each key links to the issue in the Apache JIRA.

New features

JIRASummary
RANGER-4936Feature to import and export individual policies

Improvements

JIRASummary
RANGER-4889update mem-sizing tool to support access request evaluations
RANGER-4893Enhance trie to support process of evaluators during traversal
RANGER-4891replace use of PrivilegedAction with PrivilegedExceptionAction in calls to UserGroupInfomation.doAs()
RANGER-4908update plugin library to use session cookies for all REST API calls when available
RANGER-4904update Hadoop version to 3.3.6
RANGER-4905Reduce memory needed to create Ranger policy engine
RANGER-4922Reduce time to find tags associated with multi-level resource
RANGER-4622Fix the default value of ranger.accesslog.rotate.rename_on_rotate configuration in ranger--admin-default-site.xml
RANGER-3746[docker]: Ranger base image on UBI 9 with memory and build optimizations
RANGER-4814Ranger - Upgrade Aircompressor to 0.27
RANGER-4925Cache downloaded archives during CI docker build
RANGER-3801Add support for Ozone in docker
RANGER-4307Allow the synchronization time interval of LDAP users to exceed the one hour limit, and users can customize the time interval
RANGER-4912Upgrade Spring framework to 5.3.39
RANGER-4820Support authorization of multiple accesses grouped by access groups in one policy engine call
RANGER-4809Utility to migrate admin audit logs in x_trx_log table x_trx_log_v2 table
RANGER-4607Ranger REST API improvements
RANGER-4964Issue with x_trx_log_IDX_trx_id Index in x_trx_log Table, causing patch failure
RANGER-4970Condition to support validity schedule
RANGER-4973Enhance Ranger UI to support a new user type for external users from Data Sharing
RANGER-4984Ranger “Federated User” enum order should be correct to avoid potential failure in Ranger Admin
RANGER-4992Ranger REST API for audit access logs to return additional event time field in specific timezone format
RANGER-4967Refactor RangerTagEnricher class for reusability
RANGER-4990Rationalize processing of match-types for policy and tag evaluation
RANGER-5001Ignore denials for descendent resources
RANGER-5007Expose service configs set from Ranger UI for plugin consumption
RANGER-5005Use sortpom maven plugin to improve readability of pom files
RANGER-4996Make meta attributes fields in policy rest api response configurable
RANGER-3641Add API to enhance KMS capabilities
RANGER-4670Hbase plugin configurable authorization level (table, column family, column)
RANGER-5065Disable releases for apache.snapshots repo
RANGER-5066Improve CI workflow
RANGER-5008Handle creation of federated user in Ranger
RANGER-5068Bump rat plugin to 0.16.1
RANGER-5021Add timeouts to job stages in CI
RANGER-5073Docker setup to support Oracle database
RANGER-5079remove unnecessary warn log in JDK15+ for failure in instantiating NashornScriptEngine
RANGER-5095Bump Atlas to 2.4.0 to fix CVE's
RANGER-5072Bump org.apache.avro:avro from 1.11.3 to 1.11.4
RANGER-4875Improve API /api/zones/{zoneId}/service-headers to filter services based on zone module access.
RANGER-4879Config Update for HA Implementation needed for ranger-common-ha module
RANGER-5103RangerPluginConfig to support additional config files during initialization
RANGER-5087Bump nimbus-jose-jwt to 10.0.1
RANGER-5091Bump dnsjava to 3.6.2 due to cve-2024-25638
RANGER-5086Bumpup protobuf to 3.25.5
RANGER-5015Implementing Best Practices While Exporting CSV and Excel Files
RANGER-5024Upgrade Jetty dependency to address CVE-2024-8184
RANGER-5080Docker setup to support SQL Server database
RANGER-5116Ranger plugin to support configurations to initialize kerberos identity
RANGER-4892Upgrade Ranger Tomcat from 8.5.x to 9.x

Bugs fixed

JIRASummary
RANGER-4919maven build fails after knox-gateway-version bump to 2.0.0
RANGER-4385[Ranger UI] Querying role information by role name in the role management module does not display correct data
RANGER-4313fix typo in DefaultSchemaRegistryClient to achieve mvn test
RANGER-3880Ranger Setup Fails because useSSL flag is not set explicitly.
RANGER-4213Getting 302 status code instead of 419 in case of session timeout
RANGER-4921Fix docker compose command in CI
RANGER-4914Ranger TagSync does not support ofs path parsing for Ozone-Atlas currently
RANGER-4915The default SSL Ciphers are too weak for user sync service
RANGER-4944[Ranger react UI] Remove save option and cancel option on User profile page for users other than ROLE_SYS_ADMIN role
RANGER-4938Ensure that only one instance of Ranger plugin is created in an Ozone Manager process
RANGER-4949Creating security zone with any role selected fails for oracle DB
RANGER-4901[Ranger React UI] Admin audits for “Import Delete” operation type do not display service name field
RANGER-4951CI Build: GitHub Runner is running out of disk space
RANGER-4956RangerBasePlugin is not getting initialised when tag dedup feature is enabled
RANGER-4961Policies retrieved for a resource does not include tag policies
RANGER-4963Unescaped spaces with disjunctive matching in solr ranger_auth
RANGER-4777Improve API /public/v2/api/service-headers to filter services depending on user role
RANGER-4833Upgrade from Bootbox.js to Bootprompt.js
RANGER-4966Remove self node from the resourceTrie only if it has no children, no evaluators and no wildcard-evaluators
RANGER-4977Hbase scan operation returns denied columns in result
RANGER-4942Fix Dockerfiles of ./build_ranger_using_docker.sh
RANGER-5010Validity schedule unit tests fail
RANGER-5016Deprecate version field in docker-compose.yaml
RANGER-5002Installation with Oracle failed during schema vx_principal creation
RANGER-5067ranger-nestedstructure-plugin is not built on linux
RANGER-5019spotbugs check doesn't work for sub-module maven build
RANGER-5070Update profiles to include dependent modules
RANGER-5071CI: Javascript tests with PhantomJS failing
RANGER-5006User name column in Ranger audit not rendering properly when it is of larger length
RANGER-5075HDFS plugin installation fails with error - java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
RANGER-5089Getting 204 instead of 404 status code when invalid service name is passed
RANGER-4453Exception while calling solr api when ranger authorisation is disabled for solr
RANGER-4520Both usersync/tagsync instances becoming active and syncing users/tags
RANGER-4791Fixing build issue for Phantomjs Auto configuration failed due to OPEN_SSL
RANGER-5107Update README.md in plugin-nestedstructure
RANGER-5106Remove redundant mvn calls in README
RANGER-4943Error in ElasticSearchAuditDestination shutting down RestHighLevelClient client
RANGER-4983Ranger Audit Filter for the HBase service is not working as expected
RANGER-5115Potential ConcurrentModificationException error during policy evaluation
RANGER-5117Fix ssl config param in installprop2xml.properties
RANGER-5104Ranger Upgrade is failing while executing the PatchPreSql057_ForUpdateToUniqueGUID_J10052
RANGER-5109Ranger: Upgrade Swagger-UI to the latest 5.18.2
RANGER-4523Suggestion on improving logs from AtlasNotificationMapper
RANGER-4980Delete permissions on directory is denied which has hierarchy of files/directory rooted at the argument passed to the HDFS command
RANGER-4709Set role command is not audited by ranger

Tasks

JIRASummary
RANGER-4895update ranger-2.6 branch pom.xml version to 2.6.0-SNAPSHOT
RANGER-4924Upgrade webpack library version from 5.93.0 to 5.94.0 in Ranger Admin React JS
RANGER-4935Updating library dependencies in Ranger Admin React package-lock.json
RANGER-4972Ranger User Type “federated user” should not log into Ranger for doing any operation
RANGER-4969Ranger - Upgrade commons-io to 2.17.0
RANGER-4982Reduce Ranger plugin logging spew
RANGER-4988Add syncSource and userRole queryParams to ranger searchUsers rest api for swagger
RANGER-4388Follow up JIRA to incorporate review comments.
RANGER-4795Add validation in API to check emptiness on policyitem while creating policy.
RANGER-4981Log LDAP auth failures at error level in ranger admin

Further reading