How to add or override Extra Java runtime options in *-env.sh #75
helenagodard
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Example 1 : adding HIVE_JOLOKIA_OPTS="-javaagent:/etc/hive/conf/jolokia-jvm-xxx-agent.jar=port=xxxx,host=localhost" to the hiveserver2 jvm
Example 2 : modifying hard coded options like -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=10M
What is the procedure?
For each environment variables :
Append new variable "hive_jolokia_opts" or "number_gc_log_files" in https://github.com/TOSIT-IO/tdp-collection/blob/master/tdp_vars_defaults/hive/hive.yml ?
Edit template: https://github.com/TOSIT-IO/tdp-collection/blob/master/roles/hive/common/templates/hive-env.sh.j2
Apply changes: How? tdp configure? ansible-playbook?
rq : for defined variable like "hive_hs2_heapsize' ok , edit tdp_vars/hive/hive.yml then "tdp reconfigure"
Thanks
Beta Was this translation helpful? Give feedback.
All reactions