[
https://issues.apache.org/jira/browse/FLINK-28507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17565382#comment-17565382
]
Yang Wang commented on FLINK-28507:
-----------------------------------
Should we get the hadoop conf dir from the {{HADOOP_CONF_DIR}} environment?
> supports set hadoop mount path in pod
> -------------------------------------
>
> Key: FLINK-28507
> URL: https://issues.apache.org/jira/browse/FLINK-28507
> Project: Flink
> Issue Type: Improvement
> Components: Deployment / Kubernetes
> Affects Versions: 1.16.0
> Reporter: jackylau
> Priority: Major
> Fix For: 1.16.0
>
>
> the hadoop configmap mounted path is hard code in flink k8s at
> /opt/hadoop/conf, but we want to set diffirent path because of my company has
> already set in /opt/flink/conf, and the conf is using in old code.
>
> {code:java}
> // just like the following
> public static final ConfigOption<String> HADOOP_CONF_DIR =
> key("kubernetes.hadoop.conf.dir")
> .stringType()
> .defaultValue("/opt/hadoop/conf")
> .withDescription(
> "The hadoop conf directory that will be mounted in
> pod. The core-site.xml, "
> + "hdfs-site.xml in this path will be
> overwritten from config map."); {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)