Merge branch 'master' into akolb-cli
Project: http://git-wip-us.apache.org/repos/asf/sentry/repo Commit: http://git-wip-us.apache.org/repos/asf/sentry/commit/fe3ef237 Tree: http://git-wip-us.apache.org/repos/asf/sentry/tree/fe3ef237 Diff: http://git-wip-us.apache.org/repos/asf/sentry/diff/fe3ef237 Branch: refs/heads/akolb-cli Commit: fe3ef2370c64f221d45f4156d1d25e0ffecb0b56 Parents: 81128e6 372ffc9 Author: Colm O hEigeartaigh <[email protected]> Authored: Mon Nov 20 14:47:11 2017 +0000 Committer: Colm O hEigeartaigh <[email protected]> Committed: Mon Nov 20 14:47:11 2017 +0000 ---------------------------------------------------------------------- bin/sentryShell | 6 +- pom.xml | 17 +- .../json/SentryJSONMessageDeserializer.java | 79 ++++++- .../json/SentryJSONMessageFactory.java | 48 ++++ .../hive/ql/exec/SentryFilterDDLTask.java | 9 +- .../hive/ql/exec/SentryGrantRevokeTask.java | 7 +- .../binding/hive/HiveAuthzBindingHook.java | 2 +- .../hive/authz/DefaultSentryValidator.java | 17 ++ .../hive/authz/HiveAuthzBindingHookBase.java | 10 - .../hive/authz/SentryHiveAuthorizerImpl.java | 13 ++ .../metastore/SentryHiveMetaStoreClient.java | 2 +- ...rySyncHMSNotificationsPostEventListener.java | 230 +++++++++++++++++++ .../TestSentryHiveAuthorizationTaskFactory.java | 16 +- ...rySyncHMSNotificationsPostEventListener.java | 161 +++++++++++++ .../common/AbstractAuthorizableFactory.java | 72 ------ .../sentry/core/common/AuthorizableFactory.java | 50 ---- .../sentry/core/common/AuthorizableType.java | 21 -- .../sentry/core/common/utils/PathUtils.java | 8 +- .../sentry/core/common/utils/TestPathUtils.java | 27 +++ .../core/model/kafka/KafkaAuthorizable.java | 2 +- .../model/kafka/KafkaModelAuthorizables.java | 27 ++- .../core/model/solr/SolrModelAuthorizable.java | 6 +- .../core/model/solr/SolrModelAuthorizables.java | 52 +++-- .../core/model/sqoop/SqoopAuthorizable.java | 2 +- .../model/sqoop/SqoopModelAuthorizables.java | 50 ++-- .../tools/GenericPrivilegeConverter.java | 96 +++++--- .../db/generic/tools/SentryConfigToolSolr.java | 9 +- .../db/generic/tools/SentryShellGeneric.java | 51 ++-- .../db/generic/tools/SentryShellKafka.java | 71 ------ .../db/generic/tools/SentryShellSolr.java | 52 ----- .../db/generic/tools/SentryShellSqoop.java | 52 ----- .../db/service/persistent/SentryStore.java | 2 +- .../thrift/SentryPolicyServiceClient.java | 9 + .../SentryPolicyServiceClientDefaultImpl.java | 13 ++ .../generic/tools/TestSentryConfigToolSolr.java | 9 +- .../db/generic/tools/TestSentryShellKafka.java | 207 +++++++++-------- .../db/generic/tools/TestSentryShellSolr.java | 224 +++++++++--------- .../db/generic/tools/TestSentryShellSqoop.java | 164 ++++++------- .../db/service/persistent/TestSentryStore.java | 57 +++++ .../e2e/hdfs/TestHDFSIntegrationAdvanced.java | 9 +- .../tests/e2e/hdfs/TestHDFSIntegrationBase.java | 9 + .../e2e/hive/TestPrivilegesAtColumnScope.java | 31 +-- .../e2e/hive/hiveserver/HiveServerFactory.java | 15 ++ ...actMetastoreTestWithStaticConfiguration.java | 3 +- .../e2e/metastore/TestMetastoreEndToEnd.java | 6 +- sentry-tests/sentry-tests-solr/pom.xml | 8 + 46 files changed, 1232 insertions(+), 799 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/sentry/blob/fe3ef237/pom.xml ----------------------------------------------------------------------
