Documentation
ODP 3.3.6.3-1
Release Notes
What is ODP
Installation
Component User guide and Installation Instructions
Upgrade Instructions
Downgrade Instructions
Reference Guide
Security Guide
Troubleshooting Guide
Uninstall ODP
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
RangerKMS
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Connect to Cursor
Connect to VS Code
Update the RangerKMS Java 17 flags as shown below.
Advanced kms-env -> kms-env
File location: Log into the Ambari UI → Oozie → Configs → Advanced kms-env -> kms-env.
Bash
x
#!/bin/bash# Licensed to the Apache Software Foundation (ASF) under one# or more contributor license agreements. See the NOTICE file# distributed with this work for additional information# regarding copyright ownership. The ASF licenses this file# to you under the Apache License, Version 2.0 (the# "License"); you may not use this file except in compliance# with the License. You may obtain a copy of the License at## http://www.apache.org/licenses/LICENSE-2.0## Unless required by applicable law or agreed to in writing, software# distributed under the License is distributed on an "AS IS" BASIS,# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.# See the License for the specific language governing permissions and# limitations under the License.# Set Ranger KMS specific environment variables here.export JAVA_HOME={{java_home}}export RANGER_KMS_LOG_DIR={{kms_log_dir}}export RANGER_KMS_PID_DIR_PATH={{ranger_kms_pid_dir}}export KMS_USER={{kms_user}}export RANGER_HADOOP_CONF_DIR="{{hadoop_conf_dir}}/*"export RANGER_HADOOP_LIB_DIR="{{hadoop_hdfs_dir}}/*:{{hadoop_hdfs_lib_dir}}"ranger_kms_max_heap_size={{ranger_kms_max_heap_size}}JAVA_BIN="$JAVA_HOME/bin/java"JAVA_VERSION=$($JAVA_BIN -version 2>&1 | awk -F[\".] '/version/ {print $2}'){% if security_enabled %}export JAVA_OPTS="${JAVA_OPTS} -Dzookeeper.sasl.client.username={{zookeeper_principal_primary}}"{% endif %}if [ "$JAVA_VERSION" -gt 11 ]; then JAVA_OPTS="${JAVA_OPTS} {{jvm_flags}}"fiCustom kms-site -> jvm_flags
File location: Log into the Ambari UI → Oozie → Configs → Custom kms-site -> jvm_flags.
Bash
--add-exports java.xml.crypto/com.sun.org.apache.xml.internal.security.utils=ALL-UNNAMEDType to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on Jan 13, 2026
Was this page helpful?
Next to read:
Infra-solrDiscard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message