[jira] [Commented] (SPARK-33175) Detect duplicated mountPath and fail at Spark side

2020-10-18 Thread Dongjoon Hyun (Jira)


[ 
https://issues.apache.org/jira/browse/SPARK-33175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17216301#comment-17216301
 ] 

Dongjoon Hyun commented on SPARK-33175:
---

This is resolved via https://github.com/apache/spark/pull/30084

> Detect duplicated mountPath and fail at Spark side
> --
>
> Key: SPARK-33175
> URL: https://issues.apache.org/jira/browse/SPARK-33175
> Project: Spark
>  Issue Type: Sub-task
>  Components: Kubernetes
>Affects Versions: 2.4.7, 3.0.2, 3.1.0
>Reporter: Dongjoon Hyun
>Assignee: Dongjoon Hyun
>Priority: Major
> Fix For: 3.1.0
>
>
> If there is a mountPath conflict, the pod is created and repeats the 
> following error messages and keep running. This should not keep running and 
> we had better fail at Spark side.
> {code}
> $ k get pod -l 'spark-role in (driver,executor)'
> NAMEREADY   STATUSRESTARTS   AGE
> tpcds   1/1 Running   0  14m
> {code}
> {code}
> 20/10/18 05:09:26 WARN ExecutorPodsSnapshotsStoreImpl: Exception when 
> notifying snapshot subscriber.
> io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: 
> POST at: ...
> Message: Pod "tpcds-exec-1" is invalid: 
> spec.containers[0].volumeMounts[1].mountPath: Invalid value: "/data1": must 
> be unique.
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Commented] (SPARK-33175) Detect duplicated mountPath and fail at Spark side

2020-10-18 Thread Apache Spark (Jira)


[ 
https://issues.apache.org/jira/browse/SPARK-33175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17216114#comment-17216114
 ] 

Apache Spark commented on SPARK-33175:
--

User 'dongjoon-hyun' has created a pull request for this issue:
https://github.com/apache/spark/pull/30084

> Detect duplicated mountPath and fail at Spark side
> --
>
> Key: SPARK-33175
> URL: https://issues.apache.org/jira/browse/SPARK-33175
> Project: Spark
>  Issue Type: Sub-task
>  Components: Kubernetes
>Affects Versions: 2.4.7, 3.0.2, 3.1.0
>Reporter: Dongjoon Hyun
>Assignee: Dongjoon Hyun
>Priority: Major
>
> If there is a mountPath conflict, the pod is created and repeats the 
> following error messages and keep running. This should not keep running and 
> we had better fail at Spark side.
> {code}
> $ k get pod -l 'spark-role in (driver,executor)'
> NAMEREADY   STATUSRESTARTS   AGE
> tpcds   1/1 Running   0  14m
> {code}
> {code}
> 20/10/18 05:09:26 WARN ExecutorPodsSnapshotsStoreImpl: Exception when 
> notifying snapshot subscriber.
> io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: 
> POST at: ...
> Message: Pod "tpcds-exec-1" is invalid: 
> spec.containers[0].volumeMounts[1].mountPath: Invalid value: "/data1": must 
> be unique.
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Commented] (SPARK-33175) Detect duplicated mountPath and fail at Spark side

2020-10-17 Thread Apache Spark (Jira)


[ 
https://issues.apache.org/jira/browse/SPARK-33175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17216097#comment-17216097
 ] 

Apache Spark commented on SPARK-33175:
--

User 'dongjoon-hyun' has created a pull request for this issue:
https://github.com/apache/spark/pull/30080

> Detect duplicated mountPath and fail at Spark side
> --
>
> Key: SPARK-33175
> URL: https://issues.apache.org/jira/browse/SPARK-33175
> Project: Spark
>  Issue Type: Sub-task
>  Components: Kubernetes
>Affects Versions: 3.1.0
>Reporter: Dongjoon Hyun
>Priority: Major
>
> If there is a mountPath conflict, the pod is created and repeats the 
> following error messages and keep running.
> {code}
> $ k get pod -l 'spark-role in (driver,executor)'
> NAMEREADY   STATUSRESTARTS   AGE
> tpcds   1/1 Running   0  4m20s
> {code}
> {code}
> 20/10/18 05:09:26 WARN ExecutorPodsSnapshotsStoreImpl: Exception when 
> notifying snapshot subscriber.
> io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: 
> POST at: 
> https://2fba95910afd97c73b9a74acc07e0167.sk1.us-west-2.eks.amazonaws.com/api/v1/namespaces/default/pods.
>  Message: Pod "tpcds-exec-1" is invalid: 
> spec.containers[0].volumeMounts[1].mountPath: Invalid value: "/data1": must 
> be unique. Received status: Status(apiVersion=v1, code=422, 
> details=StatusDetails(causes=[StatusCause(field=spec.containers[0].volumeMounts[1].mountPath,
>  message=Invalid value: "/data1": must be unique, reason=FieldValueInvalid, 
> additionalProperties={})], group=null, kind=Pod, name=tpcds-exec-1, 
> retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, 
> message=Pod "tpcds-exec-1" is invalid: 
> spec.containers[0].volumeMounts[1].mountPath: Invalid value: "/data1": must 
> be unique, metadata=ListMeta(_continue=null, remainingItemCount=null, 
> resourceVersion=null, selfLink=null, additionalProperties={}), 
> reason=Invalid, status=Failure, additionalProperties={}).
> {code}
> We had better fail at Spark side.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org