You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sentry.apache.org by Colin Ma <ju...@intel.com> on 2016/02/02 03:25:04 UTC
Re: 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/#review117328
-----------------------------------------------------------
sentry-tests/sentry-tests-hive/src/test/scripts/scale-test/create-many-dbs-tables.sh (line 52)
<https://reviews.apache.org/r/40854/#comment178486>
After deal with the option, NUM_OF_PERMISSIONS should be updated.
sentry-tests/sentry-tests-hive/src/test/scripts/scale-test/create-many-dbs-tables.sh (line 102)
<https://reviews.apache.org/r/40854/#comment178500>
Maybe this can be removed.
- Colin Ma
On Feb. 1, 2016, 7:12 p.m., Anne Yu wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/40854/
> -----------------------------------------------------------
>
> (Updated Feb. 1, 2016, 7:12 p.m.)
>
>
> Review request for sentry, Colin Ma, Dapeng Sun, Hao Hao, Lenni Kuff, Sravya Tirukkovalur, Xuefu Zhang, and Xuefu Zhang.
>
>
> 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
>
>