sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sravya Tirukkovalur (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SENTRY-41) Enable sentry end to end tests to run on a real cluster
Date Tue, 15 Oct 2013 20:31:42 GMT

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

Sravya Tirukkovalur updated SENTRY-41:
--------------------------------------

    Attachment: SENTRY-41.2.patch

Adding a new patch where TestRuntimeMetadataRetrieval tests are fixed.

> 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
>         Attachments: SENTRY-41.1.patch, SENTRY-41.2.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#6144)

Mime
View raw message