Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/kubernetes/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Apache spark Kubernetes-无法将主机路径装载到spark executor_Apache Spark_Kubernetes_Kubectl - Fatal编程技术网

Apache spark Kubernetes-无法将主机路径装载到spark executor

Apache spark Kubernetes-无法将主机路径装载到spark executor,apache-spark,kubernetes,kubectl,Apache Spark,Kubernetes,Kubectl,我正在使用以下属性将hostPath装载到spark executor。但它不起作用,但对spark driver有效 --conf spark.kubernetes.driver.volumes.hostPath.namex.mount.path=/home/xyz --conf spark.kubernetes.driver.volumes.hostPath.namex.mount.readOnly=false --conf spark.kubernetes.driver.volumes.

我正在使用以下属性将hostPath装载到spark executor。但它不起作用,但对spark driver有效

--conf spark.kubernetes.driver.volumes.hostPath.namex.mount.path=/home/xyz
--conf spark.kubernetes.driver.volumes.hostPath.namex.mount.readOnly=false 
--conf spark.kubernetes.driver.volumes.hostPath.namex.options.path=/home/admin/xyz
--conf spark.kubernetes.executor.volumes.hostPath.namexy.mount.path=/home/xyz
--conf spark.kubernetes.executor.volumes.hostPath.namexy.mount.readOnly=true 
--conf spark.kubernetes.executor.volumes.hostPath.namexy.options.path=/home/admin/xyz