Skip to content

Conversation

@skonto
Copy link
Contributor

@skonto skonto commented Mar 6, 2019

What changes were proposed in this pull request?

Updates client version and fixes some related issues.

How was this patch tested?

Tested with the latest minikube version and k8s 1.13.
KubernetesSuite:

  • Run SparkPi with no resources
  • Run SparkPi with a very long application name.
  • Use SparkLauncher.NO_RESOURCE
  • Run SparkPi with a master URL without a scheme.
  • Run SparkPi with an argument.
  • Run SparkPi with custom labels, annotations, and environment variables.
  • Run extraJVMOptions check on driver
  • Run SparkRemoteFileTest using a remote data file
  • Run SparkPi with env and mount secrets.
  • Run PySpark on simple pi.py example
  • Run PySpark with Python2 to test a pyfiles example
  • Run PySpark with Python3 to test a pyfiles example
  • Run PySpark with memory customization
  • Run in client mode.
    Run completed in 4 minutes, 20 seconds.
    Total number of tests run: 14
    Suites: completed 2, aborted 0
    Tests: succeeded 14, failed 0, canceled 0, ignored 0, pending 0
    All tests passed.
    [INFO] ------------------------------------------------------------------------
    [INFO] Reactor Summary:
    [INFO]
    [INFO] Spark Project Parent POM 2.4.2-SNAPSHOT ............ SUCCESS [ 2.980 s]
    [INFO] Spark Project Tags ................................. SUCCESS [ 2.880 s]
    [INFO] Spark Project Local DB ............................. SUCCESS [ 1.954 s]
    [INFO] Spark Project Networking ........................... SUCCESS [ 3.369 s]
    [INFO] Spark Project Shuffle Streaming Service ............ SUCCESS [ 1.791 s]
    [INFO] Spark Project Unsafe ............................... SUCCESS [ 1.845 s]
    [INFO] Spark Project Launcher ............................. SUCCESS [ 3.725 s]
    [INFO] Spark Project Core ................................. SUCCESS [ 23.572 s]
    [INFO] Spark Project Kubernetes Integration Tests 2.4.2-SNAPSHOT SUCCESS [04:25 min]
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD SUCCESS
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 05:08 min
    [INFO] Finished at: 2019-03-06T18:03:55Z
    [INFO] ------------------------------------------------------------------------

@SparkQA
Copy link

SparkQA commented Mar 6, 2019

Test build #103105 has finished for PR 23993 at commit 5e6e770.

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

@SparkQA
Copy link

SparkQA commented Mar 6, 2019

@SparkQA
Copy link

SparkQA commented Mar 6, 2019

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/8567/

@skonto skonto force-pushed the fix-k8s-version branch from 5e6e770 to 976a2eb Compare March 6, 2019 18:29
@skonto
Copy link
Contributor Author

skonto commented Mar 6, 2019

@shaneknapp I have this for 2.4.1 for testing as well. Tests fail due to the minikube issue.

@skonto
Copy link
Contributor Author

skonto commented Mar 6, 2019

jenkins test this please

@SparkQA
Copy link

SparkQA commented Mar 6, 2019

Test build #103107 has finished for PR 23993 at commit 976a2eb.

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

@SparkQA
Copy link

SparkQA commented Mar 6, 2019

@skonto
Copy link
Contributor Author

skonto commented Mar 6, 2019

I removed hadoop-2.6 deps but this still fails (although I tried to align the PR with #23814).
One question is whethere to add logging-interceptor-3.12.0.jar to the deps.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

we need this in order to support latest minikube versions.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this part of the codebase has changed on master, but I am not porting back all the changes, just fixing this locally.

@SparkQA
Copy link

SparkQA commented Mar 6, 2019

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/8569/

@Jeffwan
Copy link
Contributor

Jeffwan commented Mar 6, 2019

@skonto Thanks! Good to know it's due to minikube issue. I was stucked on this for a while. Glad you figure it out

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

Hi, @skonto . Please use the script to change dependency manifests.

$ dev/test-dependencies.sh --replace-manifest

Currently, the following is missing in this PR.

-logging-interceptor-3.8.1.jar
+logging-interceptor-3.12.0.jar

@skonto skonto force-pushed the fix-k8s-version branch from 976a2eb to 5de30f5 Compare March 6, 2019 19:20
@SparkQA
Copy link

SparkQA commented Mar 6, 2019

@SparkQA
Copy link

SparkQA commented Mar 6, 2019

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/8570/

@skonto
Copy link
Contributor Author

skonto commented Mar 6, 2019

tests pass as reported here: https://issues.apache.org/jira/browse/SPARK-26742

@SparkQA
Copy link

SparkQA commented Mar 7, 2019

Test build #103108 has finished for PR 23993 at commit 5de30f5.

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

@dongjoon-hyun dongjoon-hyun removed their request for review March 7, 2019 00:27
@dongjoon-hyun dongjoon-hyun dismissed their stale review March 7, 2019 00:32

I dismissed my review since this will be handled by @shaneknapp simultaneously.

@gatorsmile gatorsmile closed this Mar 9, 2019
@shaneknapp
Copy link
Contributor

@gatorsmile -- am i missing something, or did this not get merged?

@shaneknapp
Copy link
Contributor

ping @gatorsmile

@gatorsmile gatorsmile reopened this Mar 13, 2019
@gatorsmile
Copy link
Member

This is not merged. I accidentally closed it.

@SparkQA
Copy link

SparkQA commented Mar 13, 2019

Test build #103452 has started for PR 23993 at commit 5de30f5.

@SparkQA
Copy link

SparkQA commented Mar 13, 2019

@SparkQA
Copy link

SparkQA commented Mar 13, 2019

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/8872/

@shaneknapp
Copy link
Contributor

k8s test failure is expected

@shaneknapp
Copy link
Contributor

test this please

1 similar comment
@shaneknapp
Copy link
Contributor

test this please

@SparkQA
Copy link

SparkQA commented Mar 13, 2019

@SparkQA
Copy link

SparkQA commented Mar 13, 2019

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/8875/

@shaneknapp
Copy link
Contributor

we're going to wait to see if the regular non-k8s PRB job passes before merging.

@SparkQA
Copy link

SparkQA commented Mar 14, 2019

Test build #103456 has finished for PR 23993 at commit 5de30f5.

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

@SparkQA
Copy link

SparkQA commented Mar 14, 2019

Test build #103458 has finished for PR 23993 at commit 5de30f5.

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

@vanzin vanzin changed the title [SPARK-26742][K8s]Update k8s client version to 4.1.2 for Spark 2.4.1 [SPARK-26742][K8s][branch-2.4] Update k8s client version to 4.1.2 Mar 14, 2019
@vanzin
Copy link
Contributor

vanzin commented Mar 14, 2019

Merging to 2.4.

vanzin pushed a commit that referenced this pull request Mar 14, 2019
## What changes were proposed in this pull request?

Updates client version and fixes some related issues.

## How was this patch tested?

Tested with the latest minikube version and k8s 1.13.
KubernetesSuite:
- Run SparkPi with no resources
- Run SparkPi with a very long application name.
- Use SparkLauncher.NO_RESOURCE
- Run SparkPi with a master URL without a scheme.
- Run SparkPi with an argument.
- Run SparkPi with custom labels, annotations, and environment variables.
- Run extraJVMOptions check on driver
- Run SparkRemoteFileTest using a remote data file
- Run SparkPi with env and mount secrets.
- Run PySpark on simple pi.py example
- Run PySpark with Python2 to test a pyfiles example
- Run PySpark with Python3 to test a pyfiles example
- Run PySpark with memory customization
- Run in client mode.
Run completed in 4 minutes, 20 seconds.
Total number of tests run: 14
Suites: completed 2, aborted 0
Tests: succeeded 14, failed 0, canceled 0, ignored 0, pending 0
All tests passed.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Spark Project Parent POM 2.4.2-SNAPSHOT ............ SUCCESS [  2.980 s]
[INFO] Spark Project Tags ................................. SUCCESS [  2.880 s]
[INFO] Spark Project Local DB ............................. SUCCESS [  1.954 s]
[INFO] Spark Project Networking ........................... SUCCESS [  3.369 s]
[INFO] Spark Project Shuffle Streaming Service ............ SUCCESS [  1.791 s]
[INFO] Spark Project Unsafe ............................... SUCCESS [  1.845 s]
[INFO] Spark Project Launcher ............................. SUCCESS [  3.725 s]
[INFO] Spark Project Core ................................. SUCCESS [ 23.572 s]
[INFO] Spark Project Kubernetes Integration Tests 2.4.2-SNAPSHOT SUCCESS [04:25 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 05:08 min
[INFO] Finished at: 2019-03-06T18:03:55Z
[INFO] ------------------------------------------------------------------------

Closes #23993 from skonto/fix-k8s-version.

Authored-by: Stavros Kontopoulos <[email protected]>
Signed-off-by: Marcelo Vanzin <[email protected]>
@vanzin vanzin closed this Mar 14, 2019
@yuhuali1989
Copy link

Hi,
I report an issue related with kubernetes-client 4.1.2 which introduce non daemon thread which block jvm exit.
Any Idea to fix it ? Thanks.

More details please check https://issues.apache.org/jira/browse/SPARK-27812

By the way, I believe update kubernetes-client is a necessary choice.
Without this version, I have to fix another issue with aws eks.

@Jeffwan
Copy link
Contributor

Jeffwan commented Jun 12, 2019

@yuhuali1989 Could I know more details about issue with aws eks?
I think maybe we can patch SDK client and then upgrade client in next 2.x release?

kai-chi pushed a commit to kai-chi/spark that referenced this pull request Jul 23, 2019
## What changes were proposed in this pull request?

Updates client version and fixes some related issues.

## How was this patch tested?

Tested with the latest minikube version and k8s 1.13.
KubernetesSuite:
- Run SparkPi with no resources
- Run SparkPi with a very long application name.
- Use SparkLauncher.NO_RESOURCE
- Run SparkPi with a master URL without a scheme.
- Run SparkPi with an argument.
- Run SparkPi with custom labels, annotations, and environment variables.
- Run extraJVMOptions check on driver
- Run SparkRemoteFileTest using a remote data file
- Run SparkPi with env and mount secrets.
- Run PySpark on simple pi.py example
- Run PySpark with Python2 to test a pyfiles example
- Run PySpark with Python3 to test a pyfiles example
- Run PySpark with memory customization
- Run in client mode.
Run completed in 4 minutes, 20 seconds.
Total number of tests run: 14
Suites: completed 2, aborted 0
Tests: succeeded 14, failed 0, canceled 0, ignored 0, pending 0
All tests passed.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Spark Project Parent POM 2.4.2-SNAPSHOT ............ SUCCESS [  2.980 s]
[INFO] Spark Project Tags ................................. SUCCESS [  2.880 s]
[INFO] Spark Project Local DB ............................. SUCCESS [  1.954 s]
[INFO] Spark Project Networking ........................... SUCCESS [  3.369 s]
[INFO] Spark Project Shuffle Streaming Service ............ SUCCESS [  1.791 s]
[INFO] Spark Project Unsafe ............................... SUCCESS [  1.845 s]
[INFO] Spark Project Launcher ............................. SUCCESS [  3.725 s]
[INFO] Spark Project Core ................................. SUCCESS [ 23.572 s]
[INFO] Spark Project Kubernetes Integration Tests 2.4.2-SNAPSHOT SUCCESS [04:25 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 05:08 min
[INFO] Finished at: 2019-03-06T18:03:55Z
[INFO] ------------------------------------------------------------------------

Closes apache#23993 from skonto/fix-k8s-version.

Authored-by: Stavros Kontopoulos <[email protected]>
Signed-off-by: Marcelo Vanzin <[email protected]>
kai-chi pushed a commit to kai-chi/spark that referenced this pull request Jul 25, 2019
## What changes were proposed in this pull request?

Updates client version and fixes some related issues.

## How was this patch tested?

Tested with the latest minikube version and k8s 1.13.
KubernetesSuite:
- Run SparkPi with no resources
- Run SparkPi with a very long application name.
- Use SparkLauncher.NO_RESOURCE
- Run SparkPi with a master URL without a scheme.
- Run SparkPi with an argument.
- Run SparkPi with custom labels, annotations, and environment variables.
- Run extraJVMOptions check on driver
- Run SparkRemoteFileTest using a remote data file
- Run SparkPi with env and mount secrets.
- Run PySpark on simple pi.py example
- Run PySpark with Python2 to test a pyfiles example
- Run PySpark with Python3 to test a pyfiles example
- Run PySpark with memory customization
- Run in client mode.
Run completed in 4 minutes, 20 seconds.
Total number of tests run: 14
Suites: completed 2, aborted 0
Tests: succeeded 14, failed 0, canceled 0, ignored 0, pending 0
All tests passed.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Spark Project Parent POM 2.4.2-SNAPSHOT ............ SUCCESS [  2.980 s]
[INFO] Spark Project Tags ................................. SUCCESS [  2.880 s]
[INFO] Spark Project Local DB ............................. SUCCESS [  1.954 s]
[INFO] Spark Project Networking ........................... SUCCESS [  3.369 s]
[INFO] Spark Project Shuffle Streaming Service ............ SUCCESS [  1.791 s]
[INFO] Spark Project Unsafe ............................... SUCCESS [  1.845 s]
[INFO] Spark Project Launcher ............................. SUCCESS [  3.725 s]
[INFO] Spark Project Core ................................. SUCCESS [ 23.572 s]
[INFO] Spark Project Kubernetes Integration Tests 2.4.2-SNAPSHOT SUCCESS [04:25 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 05:08 min
[INFO] Finished at: 2019-03-06T18:03:55Z
[INFO] ------------------------------------------------------------------------

Closes apache#23993 from skonto/fix-k8s-version.

Authored-by: Stavros Kontopoulos <[email protected]>
Signed-off-by: Marcelo Vanzin <[email protected]>
kai-chi pushed a commit to kai-chi/spark that referenced this pull request Aug 1, 2019
## What changes were proposed in this pull request?

Updates client version and fixes some related issues.

## How was this patch tested?

Tested with the latest minikube version and k8s 1.13.
KubernetesSuite:
- Run SparkPi with no resources
- Run SparkPi with a very long application name.
- Use SparkLauncher.NO_RESOURCE
- Run SparkPi with a master URL without a scheme.
- Run SparkPi with an argument.
- Run SparkPi with custom labels, annotations, and environment variables.
- Run extraJVMOptions check on driver
- Run SparkRemoteFileTest using a remote data file
- Run SparkPi with env and mount secrets.
- Run PySpark on simple pi.py example
- Run PySpark with Python2 to test a pyfiles example
- Run PySpark with Python3 to test a pyfiles example
- Run PySpark with memory customization
- Run in client mode.
Run completed in 4 minutes, 20 seconds.
Total number of tests run: 14
Suites: completed 2, aborted 0
Tests: succeeded 14, failed 0, canceled 0, ignored 0, pending 0
All tests passed.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Spark Project Parent POM 2.4.2-SNAPSHOT ............ SUCCESS [  2.980 s]
[INFO] Spark Project Tags ................................. SUCCESS [  2.880 s]
[INFO] Spark Project Local DB ............................. SUCCESS [  1.954 s]
[INFO] Spark Project Networking ........................... SUCCESS [  3.369 s]
[INFO] Spark Project Shuffle Streaming Service ............ SUCCESS [  1.791 s]
[INFO] Spark Project Unsafe ............................... SUCCESS [  1.845 s]
[INFO] Spark Project Launcher ............................. SUCCESS [  3.725 s]
[INFO] Spark Project Core ................................. SUCCESS [ 23.572 s]
[INFO] Spark Project Kubernetes Integration Tests 2.4.2-SNAPSHOT SUCCESS [04:25 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 05:08 min
[INFO] Finished at: 2019-03-06T18:03:55Z
[INFO] ------------------------------------------------------------------------

Closes apache#23993 from skonto/fix-k8s-version.

Authored-by: Stavros Kontopoulos <[email protected]>
Signed-off-by: Marcelo Vanzin <[email protected]>
Sign up for free to 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.

8 participants