You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by Sergio Pena <se...@cloudera.com> on 2015/02/26 22:56:31 UTC
Review Request 31497: HIVE-9800 Create scripts to do metastore
upgrade tests on Jenkins
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/31497/
-----------------------------------------------------------
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/tests/upgrade/jenkins-upgrade-test.sh PRE-CREATION
dev-support/tests/upgrade/metastore-upgrade-test.sh PRE-CREATION
dev-support/tests/upgrade/servers/mysql/execute.sh PRE-CREATION
dev-support/tests/upgrade/servers/mysql/prepare.sh PRE-CREATION
Diff: https://reviews.apache.org/r/31497/diff/
Testing
-------
Thanks,
Sergio Pena
Re: Review Request 31497: HIVE-9800 Create scripts to do metastore
upgrade tests on Jenkins
Posted by Sergio Pena <se...@cloudera.com>.
> 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
>
>
Re: Review Request 31497: HIVE-9800 Create scripts to do metastore
upgrade tests on Jenkins
Posted by Lenni Kuff <ls...@cloudera.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/31497/#review74420
-----------------------------------------------------------
dev-support/tests/metastore-upgrade/jenkins-upgrade-test.sh
<https://reviews.apache.org/r/31497/#comment120991>
AFAIK, Jenkins does not run as root. Will this still work?
- Lenni Kuff
On Feb. 26, 2015, 11:07 p.m., Sergio Pena wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/31497/
> -----------------------------------------------------------
>
> (Updated Feb. 26, 2015, 11:07 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/tests/metastore-upgrade/jenkins-upgrade-test.sh PRE-CREATION
> dev-support/tests/metastore-upgrade/metastore-upgrade-test.sh PRE-CREATION
> dev-support/tests/metastore-upgrade/servers/mysql/execute.sh PRE-CREATION
> dev-support/tests/metastore-upgrade/servers/mysql/prepare.sh PRE-CREATION
>
> Diff: https://reviews.apache.org/r/31497/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Sergio Pena
>
>
Re: Review Request 31497: HIVE-9800 Create scripts to do metastore
upgrade tests on Jenkins
Posted by Sergio Pena <se...@cloudera.com>.
-----------------------------------------------------------
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 (updated)
-----
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
Re: Review Request 31497: HIVE-9800 Create scripts to do metastore
upgrade tests on Jenkins
Posted by Sergio Pena <se...@cloudera.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/31497/
-----------------------------------------------------------
(Updated Feb. 26, 2015, 11:07 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 (updated)
-----
dev-support/tests/metastore-upgrade/jenkins-upgrade-test.sh PRE-CREATION
dev-support/tests/metastore-upgrade/metastore-upgrade-test.sh PRE-CREATION
dev-support/tests/metastore-upgrade/servers/mysql/execute.sh PRE-CREATION
dev-support/tests/metastore-upgrade/servers/mysql/prepare.sh PRE-CREATION
Diff: https://reviews.apache.org/r/31497/diff/
Testing
-------
Thanks,
Sergio Pena