Skip to content
This repository was archived by the owner on Jan 9, 2020. It is now read-only.

Conversation

@mccheah
Copy link

@mccheah mccheah commented Aug 23, 2017

No description provided.

@ash211
Copy link

ash211 commented Aug 23, 2017

I was seeing this when building:

5767 [INFO] --- scala-maven-plugin:3.2.2:compile (scala-compile-first) @ spark-kubernetes_2.11 ---^M
5768 [INFO] Using zinc server for incremental compilation^M
5769 [info] Compiling 9 Scala sources to /home/ubuntu/spark/resource-managers/kubernetes/core/target/scala-2.11/classes...^M
5770 [warn] /home/ubuntu/spark/resource-managers/kubernetes/core/src/main/scala/org/apache/spark/scheduler/cluster/kubernetes/KubernetesClusterSchedulerBackend.scala:566: No automatic adaptation here: use
5771 [warn]         signature: Option.getOrElse[B >: A](default: => B): B^M
5772 [warn]   given arguments: withMaybeShuffleConfigPod, withMaybeShuffleConfigExecutorContainer^M
5773 [warn]  after adaptation: Option.getOrElse((withMaybeShuffleConfigPod, withMaybeShuffleConfigExecutorContainer): (io.fabric8.kubernetes.api.model.Pod, io.fabric8.kubernetes.api.model.Container))^M
5774 [warn]         }.getOrElse(withMaybeShuffleConfigPod, withMaybeShuffleConfigExecutorContainer)^M
5775 [warn]                    ^^M
5776 [error] /home/ubuntu/spark/resource-managers/kubernetes/core/src/main/scala/org/apache/spark/scheduler/cluster/kubernetes/KubernetesClusterSchedulerBackend.scala:566: too many arguments for method ge
5777 [error]         }.getOrElse(withMaybeShuffleConfigPod, withMaybeShuffleConfigExecutorContainer)^M
5778 [error]                    ^^M
5779 [error] /home/ubuntu/spark/resource-managers/kubernetes/core/src/main/scala/org/apache/spark/scheduler/cluster/kubernetes/KubernetesClusterSchedulerBackend.scala:571: type mismatch;^M
5780 [error]  found   : Any^M
5781 [error]  required: io.fabric8.kubernetes.api.model.Pod^M
5782 [error]                   withMaybeSmallFilesMountedPod,^M
5783 [error]                   ^^M
5784 [error] /home/ubuntu/spark/resource-managers/kubernetes/core/src/main/scala/org/apache/spark/scheduler/cluster/kubernetes/KubernetesClusterSchedulerBackend.scala:573: type mismatch;^M
5785 [error]  found   : Any^M
5786 [error]  required: io.fabric8.kubernetes.api.model.Container^M
5787 [error]                 withMaybeSmallFilesMountedContainer))^M
5788 [error]                 ^^M
5789 [error] /home/ubuntu/spark/resource-managers/kubernetes/core/src/main/scala/org/apache/spark/scheduler/cluster/kubernetes/KubernetesClusterSchedulerBackend.scala:591: type mismatch;^M
5790 [error]  found   : Any^M
5791 [error]  required: io.fabric8.kubernetes.api.model.Pod^M
5792 [error]         executorPodWithInitContainer, nodeToLocalTaskCount)^M
5793 [error]         ^^M
5794 [warn] one warning found^M
5795 [error] four errors found^M
5796 [error] Compile failed at Aug 23, 2017 7:53:45 PM [4.000s]^M

@mccheah
Copy link
Author

mccheah commented Aug 23, 2017

I'm still not sure why this passed in Jenkins before this change though. The code was more or less strictly incorrect and shouldn't have compiled anywhere. IntelliJ compiles this fine too and passes tests.

@erikerlandson
Copy link
Member

Wow.

@mccheah mccheah merged commit d6e922d into branch-2.2-kubernetes Aug 24, 2017
@mccheah mccheah deleted the fix-tuple-option branch August 24, 2017 00:10
ifilonenko pushed a commit to ifilonenko/spark that referenced this pull request Feb 26, 2019
puneetloya pushed a commit to puneetloya/spark that referenced this pull request Mar 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants