[
https://issues.apache.org/jira/browse/FLINK-28507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
jackylau updated FLINK-28507:
-----------------------------
Description:
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}
// code placeholder
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}
was: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.
> 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}
> // code placeholder
> 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)