Skip to content

[SPARK-25828][K8S] Bumping Kubernetes-Client version to 4.1.0 - #22820

Closed
ifilonenko wants to merge 6 commits into
apache:masterfrom
ifilonenko:SPARK-25828
Closed

[SPARK-25828][K8S] Bumping Kubernetes-Client version to 4.1.0#22820
ifilonenko wants to merge 6 commits into
apache:masterfrom
ifilonenko:SPARK-25828

Conversation

@ifilonenko

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Changed the kubernetes-client version and refactored code that broke as a result

How was this patch tested?

Unit and Integration tests

@ifilonenko

Copy link
Copy Markdown
ContributorAuthor

@erikerlandson@skonto@liyinan926 for review
Do you see additional places where we would want to leverage the newer version for optimality?

@SparkQA

Copy link
Copy Markdown

Test build #97992 has finished for PR 22820 at commit de62f07.

  • This patch fails build dependency tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

<properties>
<sbt.project.name>kubernetes</sbt.project.name>
<kubernetes.client.version>3.0.0</kubernetes.client.version>
<kubernetes.client.version>4.0.0</kubernetes.client.version>

@skontoskontoOct 25, 2018

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4.1.0? https://mvnrepository.com/artifact/io.fabric8/kubernetes-client/4.1.0 what are the differences compared to 4.0.0?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, agreed. Maybe 4.1.0 is a more stable version

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah just wondering I don't know. What matters is what each version supports. Still no version supports 1.11 fabric8io/kubernetes-client#1235

@ifilonenkoifilonenko changed the title [SPARK-25828][K8S] Bumping Kubernetes-Client version to 4.0.0[SPARK-25828][K8S] Bumping Kubernetes-Client version to 4.1.0Oct 25, 2018
@ifilonenkoifilonenko changed the title [SPARK-25828][K8S] Bumping Kubernetes-Client version to 4.1.0[SPARK-25828][K8S][BUILD] Bumping Kubernetes-Client version to 4.1.0Oct 25, 2018
@SparkQA

Copy link
Copy Markdown

Test build #97994 has finished for PR 22820 at commit 3d7a0b9.

  • This patch fails build dependency tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@felixcheungfelixcheung left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should there be some doc changes on supported client version

@SparkQA

Copy link
Copy Markdown

Test build #98037 has finished for PR 22820 at commit a28ebcf.

  • This patch fails build dependency tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@liyinan926liyinan926 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. But looks like the build failed on dependency tests. Please take a look.

@SparkQA

Copy link
Copy Markdown

@ifilonenko

ifilonenko commented Oct 25, 2018

Copy link
Copy Markdown
ContributorAuthor

But looks like the build failed on dependency tests. Please take a look.

@liyinan926 that is In reference to manifests that need to be updated in dev/deps/spark-deps-hadoop-2.7 and dev/deps/spark-deps-hadoop-3.1. This most recent commit should fix

@SparkQA

Copy link
Copy Markdown

@SparkQA

Copy link
Copy Markdown

@SparkQA

Copy link
Copy Markdown

Comment threaddocs/running-on-kubernetes.md Outdated

The driver and executor pod scheduling is handled by Kubernetes. It is possible to schedule the
The driver and executor pod scheduling is handled by Kubernetes. Communication to the Kubernetes API is done via fabric8, and we are
currently running <code>kubernetes-client</code> version <code>4.1.0</code>. Make sure that any infrastructure additions are weary of said version. It is possible to schedule the

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: "wary" ? or "aware of " ?

@SparkQA

Copy link
Copy Markdown

@SparkQA

Copy link
Copy Markdown

@SparkQA

Copy link
Copy Markdown

Test build #98041 has finished for PR 22820 at commit c6b6723.

  • This patch fails from timeout after a configured wait of 400m.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA

Copy link
Copy Markdown

Test build #98054 has finished for PR 22820 at commit 728d70a.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@ifilonenkoifilonenko changed the title [SPARK-25828][K8S][BUILD] Bumping Kubernetes-Client version to 4.1.0[SPARK-25828][K8S] Bumping Kubernetes-Client version to 4.1.0Oct 26, 2018
@ifilonenko

Copy link
Copy Markdown
ContributorAuthor

retest this please

@SparkQA

Copy link
Copy Markdown

@SparkQA

Copy link
Copy Markdown

@SparkQA

Copy link
Copy Markdown

Test build #98064 has finished for PR 22820 at commit 728d70a.

  • This patch fails due to an unknown error code, -9.
  • This patch merges cleanly.
  • This patch adds no public classes.

@rvesservesse left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 Would like to get this in ASAP so I can rebase PR #22805 and avoid mixing unrelated changes into the integration testing enhancement PR per @liyinan926's request

if (time != null) time.getTime else "N/A"
def formatTime(time: String): String = {
// TODO: Investigate form `time` comes in as there was a DataType
// change from Time to String

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The string returned is ISO8601 format so no need to do anything special here

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

e.g. a sample from the logs from my PR where I had made a similar change:

creation time: 2018-10-24T17:17:03Z

@SparkQA

Copy link
Copy Markdown

@SparkQA

Copy link
Copy Markdown

@SparkQA

Copy link
Copy Markdown

Test build #98102 has finished for PR 22820 at commit b0ba951.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@ifilonenko

ifilonenko commented Oct 26, 2018

Copy link
Copy Markdown
ContributorAuthor

@felixcheung and @erikerlandson and @liyinan926 for merge

@erikerlandson

Copy link
Copy Markdown
Contributor

merging

jackylee-ch pushed a commit to jackylee-ch/spark that referenced this pull request Feb 18, 2019
## What changes were proposed in this pull request?
Changed the `kubernetes-client` version and refactored code that broke as a result
## How was this patch tested?
Unit and Integration tests
Closesapache#22820 from ifilonenko/SPARK-25828.
Authored-by: Ilan Filonenko <ifilondz@gmail.com>
Signed-off-by: Erik Erlandson <eerlands@redhat.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@ifilonenko@SparkQA@erikerlandson@rvesse@liyinan926@skonto@felixcheung