Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-3127

spark smoke-test fails in bigtop 1.3

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.3.0
    • None
    • spark, tests
    • None

    Description

      In Bigtop 1.3, when smoke-tests 'spark' using docker containers, it fails to run. Log report says: "> undeclared env variable: SPARK_HOME"

      Steps to reproduce:

      1. create a local 3-node containers cluster
        • $ cd provisioner/docker/
        • $ ./docker-hadoop.sh -C smoketests-spark_centos-7.yaml -c 3
      2. run smoke tests,
        • $ ./docker-hadoop.sh -s
      3. check the output log, it reports failure:

      :bigtop-tests:smoke-tests:spark:test (Thread[Task worker for ':' Thread 19,5,main]) started.
      :bigtop-tests:smoke-tests:spark:test
      Putting task artifact state for task ':bigtop-tests:smoke-tests:spark:test' into context took 0.0 secs.
      Up-to-date check for task ':bigtop-tests:smoke-tests:spark:test' took 0.035 secs. It is not up-to-date because:
      No history is available.
      :bigtop-tests:smoke-tests:spark:test FAILED
      :bigtop-tests:smoke-tests:spark:test (Thread[Task worker for ':' Thread 19,5,main]) completed. Took 0.065 secs.

      FAILURE: Build failed with an exception.

      • Where:
        Build file '/bigtop-home/bigtop-tests/smoke-tests/build.gradle' line: 26
      • What went wrong:
        Execution failed for task ':bigtop-tests:smoke-tests:spark:test'.
        > undeclared env variable: SPARK_HOME

      Attachments

        Activity

          People

            Unassigned Unassigned
            docularxu Guodong Xu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: