sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shreepadma Venugopalan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SENTRY-41) Enable sentry end to end tests to run on a real cluster
Date Tue, 21 Jan 2014 07:12:22 GMT

     [ https://issues.apache.org/jira/browse/SENTRY-41?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shreepadma Venugopalan updated SENTRY-41:
-----------------------------------------

    Fix Version/s: 1.3.0

> Enable sentry end to end tests to run on a real cluster
> -------------------------------------------------------
>
>                 Key: SENTRY-41
>                 URL: https://issues.apache.org/jira/browse/SENTRY-41
>             Project: Sentry
>          Issue Type: Improvement
>            Reporter: Sravya Tirukkovalur
>            Assignee: Sravya Tirukkovalur
>             Fix For: 1.3.0
>
>         Attachments: SENTRY-41.1.patch, SENTRY-41.2.patch, SENTRY-41.3.patch
>
>
> Adding a DFS implementation, ClusterDFS, which along with UnmanagedHiveServer can be
used to run tests on real secure cluster. 
> - Adding a maven profile which sets the required classpath and runs only the tests which
are supported to run on real secure cluster with an UnmanagedHiveServer.
> -- Tests which will be run with "cluster-haoop" profile:
> --- TestCrossDbOps
> --- TestEndToEnd
> --- TestMetadataObjectRetrieval
> --- TestMetadataPermissions
> --- TestMovingToProduction
> --- TestPerDatabasePolicyFile
> --- TestPrivilegeAtTransform
> --- TestPrivilegesAtDatabaseScope
> --- TestPrivilegesAtTableScope
> --- TestSandboxOps
> --- TestExportImportPrivileges
> --- TestUriPermissions
> --- TestRuntimeMetadataRetrieval
> -- Tests which will not be run:
> --- TestUserManagement (had non static user:group mapping)
> --- TestServerConfiguration (uses a managed hive server)
> --- TestSentryOnFailureHookLoading (uses a managed hive server)
> --- TestPrivilegesAtFunctionScope (has not been added as it results in a failure due
to SENTRY-23)
> --- TestPerDBConfiguration (has not been added as it uses a special java property)
> Running the tests:
> Prerequisites:
> - Need to setup a secure cluster with sentry enabled
> - Need to have the static user:group mapping setup
> - Need to set HIVE_CONF_DIR and HADOOP_CONF_DIR
> mvn clean package -Pcluster-hadoop  -Dsentry.e2etest.policyOwnerKeytab=</path/to/keytab>
-Dsentry.e2etest.policyOwnerPrincipal=<principal>   -Dhive.server2.thrift.bind.host=<hs2Host>
-Dhive.server2.authentication.kerberos.principal=<hivePrincipal>



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message