Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-508

Supporting integration test execution on remote machines

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.9.0
    • None
    • test
    • None

    Description

      SAMZA-468 added support for single-node 'localhost' execution of integration tests (YARN, Kafka, ZK, and Samza jobs are all deployed locally). Deploying tests to a single non-local host machine don't work right now because of the way we're deploying job tarballs. We're using yarn.package.path=file:/... URI schemes, and SCP'ing the job tarballs to all machines. This is a problem when executing on a non-local node because YARN stats the local job tarball when run-job.sh is run, and compares the tarball's ctime/mtime/atime fields against the remote machines. They don't match since we're SCP'ing them, so YARN fails the job's deployment.

      We'll have to either modify the remote timestamps, or use some other filesystem (HDFS, HTTP, etc) to deploy the job tarballs to YARN NMs.

      This bug can be triggered simply by replacing all instances of `localhost` in samza-test/src/main/python/config/*json with a different machine's hostname.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              criccomini Chris Riccomini
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: