You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sentry.apache.org by Anne Yu <an...@cloudera.com> on 2015/12/02 07:46:35 UTC
Review Request 40854: create a script to generate large size of
sentry and
hive metadata (databases, tables, roles, permissions and groups)
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/40854/
-----------------------------------------------------------
Review request for sentry, Hao Hao, Lenni Kuff, Ryan Pridgeon, and Sravya Tirukkovalur.
Bugs: SENTRY-974
https://issues.apache.org/jira/browse/SENTRY-974
Repository: sentry
Description
-------
create this script to create a large size of metadata for scale test purpose.
Diffs
-----
sentry-tests/sentry-tests-hive/src/test/scripts/scale-test/create-many-dbs-tables.sh PRE-CREATION
Diff: https://reviews.apache.org/r/40854/diff/
Testing
-------
Could run this script parallelly:
#!/usr/bin/env bash
set -x
export HS2="HOSTNAME"
export REALM="REALM.NAME"
bash /root/tests/create-many-dbs-tables.sh &
bash /root/tests/create-many-dbs-tables.sh &
bash /root/tests/create-many-dbs-tables.sh &
bash /root/tests/create-many-dbs-tables.sh &
bash /root/tests/create-many-dbs-tables.sh &
Thanks,
Anne Yu
Re: Review Request 40854: create a script to generate large size of
sentry
and hive metadata (databases, tables, roles, permissions and groups)
Posted by Hao Hao <ha...@cloudera.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/40854/#review109064
-----------------------------------------------------------
sentry-tests/sentry-tests-hive/src/test/scripts/scale-test/create-many-dbs-tables.sh (line 29)
<https://reviews.apache.org/r/40854/#comment168475>
Change to define default test scale?
sentry-tests/sentry-tests-hive/src/test/scripts/scale-test/create-many-dbs-tables.sh (line 58)
<https://reviews.apache.org/r/40854/#comment168480>
Should we also provide opts for BASE_EXTERNAL_DIR and LOCAL_OUTPUT_DIR?
- Hao Hao
On Dec. 2, 2015, 6:46 a.m., Anne Yu wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/40854/
> -----------------------------------------------------------
>
> (Updated Dec. 2, 2015, 6:46 a.m.)
>
>
> Review request for sentry, Hao Hao, Lenni Kuff, Ryan Pridgeon, and Sravya Tirukkovalur.
>
>
> Bugs: SENTRY-974
> https://issues.apache.org/jira/browse/SENTRY-974
>
>
> Repository: sentry
>
>
> Description
> -------
>
> create this script to create a large size of metadata for scale test purpose.
>
>
> Diffs
> -----
>
> sentry-tests/sentry-tests-hive/src/test/scripts/scale-test/create-many-dbs-tables.sh PRE-CREATION
>
> Diff: https://reviews.apache.org/r/40854/diff/
>
>
> Testing
> -------
>
> Could run this script parallelly:
>
> #!/usr/bin/env bash
>
> set -x
>
> export HS2="HOSTNAME"
> export REALM="REALM.NAME"
>
> bash /root/tests/create-many-dbs-tables.sh &
> bash /root/tests/create-many-dbs-tables.sh &
> bash /root/tests/create-many-dbs-tables.sh &
> bash /root/tests/create-many-dbs-tables.sh &
> bash /root/tests/create-many-dbs-tables.sh &
>
>
> Thanks,
>
> Anne Yu
>
>
Re: Review Request 40854: create a script to generate large size of
sentry
and hive metadata (databases, tables, roles, permissions and groups)
Posted by Anne Yu <an...@cloudera.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/40854/
-----------------------------------------------------------
(Updated Jan. 26, 2016, 9:40 p.m.)
Review request for sentry, Hao Hao, Lenni Kuff, Sravya Tirukkovalur, Xuefu Zhang, and Xuefu Zhang.
Changes
-------
Addressed Haohao's comments.
Bugs: SENTRY-974
https://issues.apache.org/jira/browse/SENTRY-974
Repository: sentry
Description
-------
create this script to create a large size of metadata for scale test purpose.
Diffs (updated)
-----
sentry-tests/sentry-tests-hive/src/test/scripts/scale-test/create-many-dbs-tables.sh PRE-CREATION
Diff: https://reviews.apache.org/r/40854/diff/
Testing
-------
Could run this script parallelly:
#!/usr/bin/env bash
set -x
export HS2="HOSTNAME"
export REALM="REALM.NAME"
bash /root/tests/create-many-dbs-tables.sh &
bash /root/tests/create-many-dbs-tables.sh &
bash /root/tests/create-many-dbs-tables.sh &
bash /root/tests/create-many-dbs-tables.sh &
bash /root/tests/create-many-dbs-tables.sh &
Thanks,
Anne Yu