Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-38396 Improve K8s Integration Tests
  3. SPARK-38302

Use Java 17 in K8S integration tests when setting spark-tgz

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.3.0
    • 3.3.0
    • Kubernetes, Tests
    • None

    Description

      When setting parameters `spark-tgz` during integration tests, the error that `resource-managers/kubernetes/docker/src/main/dockerfiles/spark/Dockerfile.java17` cannot be found occurs. This is due to the default value of `spark.kubernetes.test.dockerFile` being `resource-managers/kubernetes/docker/src/main/dockerfiles/spark/Dockerfile.java17`. When using the tgz, the working directory is `${spark.kubernetes.test.unpackSparkDir}`, and the relative path `resource-managers/kubernetes/docker/src/main/dockerfiles/spark/Dockerfile.java17` is invalid.

      Attachments

        Activity

          People

            dcoliversun Qian Sun
            dcoliversun Qian Sun
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: