Last active
March 1, 2023 17:02
-
-
Save kokosing/24022e19a725936f0f1d07ddc300472a to your computer and use it in GitHub Desktop.
disable ranger
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit d4d385b1593f42880c40a414319198304a429c24 | |
Author: Grzegorz Kokosiński <[email protected]> | |
Date: Thu Dec 13 13:23:20 2018 +0100 | |
Disable ranger | |
diff --git a/.travis.yml b/.travis.yml | |
index 56d10ab79e..0e6b5c4869 100644 | |
--- a/.travis.yml | |
+++ b/.travis.yml | |
@@ -199,24 +199,10 @@ script: | |
presto-product-tests/bin/run_on_docker.sh \ | |
singlenode-kerberos-sentry -g sentry,hive_partitioning | |
fi | |
- - | | |
- if [[ -v SENTRY_RANGER_TESTS ]]; then | |
- presto-product-tests/bin/run_on_docker.sh \ | |
- singlenode-kerberos-ranger -g ranger | |
- fi | |
- - | | |
- if [[ -v SENTRY_RANGER_TESTS ]]; then | |
- presto-product-tests/bin/test_missing_license_on_docker.sh singlenode-kerberos-ranger-missing-license | |
- fi | |
- | | |
if [[ -v SENTRY_RANGER_TESTS ]]; then | |
presto-product-tests/bin/test_missing_license_on_docker.sh singlenode-sentry-missing-license | |
fi | |
- - | | |
- if [[ -v PRODUCT_TESTS_SPECIFIC_ENVIRONMENT ]]; then | |
- presto-product-tests/bin/run_on_docker.sh \ | |
- singlenode-kerberos-ranger-kms -g storage_formats | |
- fi | |
- | | |
if [[ -v HIVE_TESTS ]]; then | |
presto-hive-hadoop2/bin/run_hive_tests.sh | |
@@ -283,10 +269,6 @@ script: | |
if [[ -v SENTRY_RANGER_TESTS ]]; then | |
./mvnw test $MAVEN_SKIP_CHECKS_AND_DOCS -pl presto-hive -B -P test-sentry | |
fi | |
- - | | |
- if [[ -v SENTRY_RANGER_TESTS ]]; then | |
- ./mvnw test $MAVEN_SKIP_CHECKS_AND_DOCS -pl presto-hive -B -P test-ranger | |
- fi | |
before_cache: | |
# Make the cache stable between builds by removing build output | |
diff --git a/presto-hive/src/main/java/com/facebook/presto/hive/security/HiveSecurityModule.java b/presto-hive/src/main/java/com/facebook/presto/hive/security/HiveSecurityModule.java | |
index c30967bbda..1d33ee7c69 100644 | |
--- a/presto-hive/src/main/java/com/facebook/presto/hive/security/HiveSecurityModule.java | |
+++ b/presto-hive/src/main/java/com/facebook/presto/hive/security/HiveSecurityModule.java | |
@@ -42,7 +42,7 @@ public class HiveSecurityModule | |
bindSecurityModule("read-only", new HiveReadOnlySecurityModule()); | |
bindSecurityModule("sql-standard", new SqlStandardSecurityModule()); | |
bindSecurityModule("sentry", new SentrySecurityModule(connectorId)); | |
- bindSecurityModule("ranger", new RangerSecurityModule(connectorId)); | |
+// bindSecurityModule("ranger", new RangerSecurityModule(connectorId)); | |
} | |
private void bindSecurityModule(String name, Module module) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment