Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 1.72 KB

File metadata and controls

39 lines (32 loc) · 1.72 KB

Base

Some values such as SERVICE name, SERVICEACCOUNT name, and RBAC role are hard-coded in the environment-configmap.yaml and supplied into the pods as environment variables. Other hardcodings include the service name ('hadoop') and the namespace we run in (also 'hadoop').

The hadoop Configuration system can interpolate environment variables into '*.xml' file values ONLY. See Configuration Javadoc

...but we can not do interpolation of SERVICE name into '*.xml' file key names as is needed when doing HA in hdfs-site.xml... so for now, we have hard-codings in 'hdfs-site.xml' key names. For example, the property key name dfs.ha.namenodes.hadoop has the SERVICE name ('hadoop') in it or the key dfs.namenode.http-address.hadoop (TODO: Fix/Workaround).

Edit of pod resources or jvm args for a process are done in place in the yaml files or in kustomization replacements in overlays.