Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

How do I setup a new branch build?

In In /usr/local/hiveptest/publicetc/public you can copy the an existing profile property-file of the form {profile.properties}, and update the branch property"repository" property in the new profile to point to the new branch.  Then in Jenkins, copy an existing branch buildjob, and in the build config modify the profile argument in the Hive PTest2 WebServer call (it will be like: "java ... org.apache.hive.ptest.api.client.PTestClient --profile trunk-mr1") to point to the new profile.

How can I read or make changes to Hive PTest2 Infra code?

...

No Format
$ sudo /usr/local/hiveptest/bin/stop-server.sh 
$ sudo /usr/local/hiveptest/bin/start-server.sh 
$ sudo /usr/local/hiveptest/bin/restart-server.sh 
$ sudo /usr/local/hiveptest/bin/update.sh 

How do I change a build to run a new MiniMr/TezDriver q-test?

See: MiniMR+and+PTest2.

This is all same as configuring any build profile property, located at /usr/local/hiveptest/etc/public.  Find the profile properties of your build (for example the pre-commit tests are using "trunk-mr2.properties), and edit "qFileTests.miniXXXDriver.groups...." to include the name of the new q-test.  TODO- link to more complete instructions.