> On Feb. 27, 2015, 1:41 a.m., Lenni Kuff wrote: > > dev-support/tests/metastore-upgrade/jenkins-upgrade-test.sh, line 64 > > <https://reviews.apache.org/r/31497/diff/2/?file=879115#file879115line64> > > > > AFAIK, Jenkins does not run as root. Will this still work?
Jenkins runs as root. However, the script calls 'sudo' in order to execute the command as root in case it is run as a normal user. I tested the script on Jenkins and it worked. - Sergio ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/31497/#review74420 ----------------------------------------------------------- On March 5, 2015, 11:47 p.m., Sergio Pena wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/31497/ > ----------------------------------------------------------- > > (Updated March 5, 2015, 11:47 p.m.) > > > Review request for hive and Brock Noland. > > > Bugs: HIVE-9800 > https://issues.apache.org/jira/browse/HIVE-9800 > > > Repository: hive-git > > > Description > ------- > > This script downloads a metastore upgrade script, and run all the upgrade > tests in an specific db server. > Another jenkins scripts is used to create LXC containers where to run these > tests. > > > Diffs > ----- > > dev-support/jenkins-execute-hms-test.sh PRE-CREATION > testutils/metastore/dbs/mysql/execute.sh PRE-CREATION > testutils/metastore/dbs/mysql/prepare.sh PRE-CREATION > testutils/metastore/execute-test-on-lxc.sh PRE-CREATION > testutils/metastore/metastore-upgrade-test.sh PRE-CREATION > > testutils/ptest2/src/main/java/org/apache/hive/ptest/execution/JIRAService.java > 88d8cab2a69b0911a7c76dc828fd55e37b21ae40 > > Diff: https://reviews.apache.org/r/31497/diff/ > > > Testing > ------- > > > Thanks, > > Sergio Pena > >