You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by dz...@apache.org on 2023/08/16 06:49:40 UTC
[drill] branch hadoop-impersonation-tests updated (09fbfab96b -> d25b51b737)
This is an automated email from the ASF dual-hosted git repository.
dzamo pushed a change to branch hadoop-impersonation-tests
in repository https://gitbox.apache.org/repos/asf/drill.git
discard 09fbfab96b Try moving subclasses of BaseTestImpersonation to EasyOutOfMemory run.
new d25b51b737 Reset UserGroupInformation in BaseTestImpersonation.
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (09fbfab96b)
\
N -- N -- N refs/heads/hadoop-impersonation-tests (d25b51b737)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../drill/exec/impersonation/hive/TestSqlStdBasedAuthorization.java | 3 +--
.../exec/impersonation/hive/TestStorageBasedHiveAuthorization.java | 3 +--
.../org/apache/drill/exec/impersonation/BaseTestImpersonation.java | 2 ++
.../drill/exec/impersonation/TestImpersonationDisabledWithMiniDFS.java | 3 +--
.../org/apache/drill/exec/impersonation/TestImpersonationMetadata.java | 3 +--
.../org/apache/drill/exec/impersonation/TestImpersonationQueries.java | 3 +--
.../org/apache/drill/exec/impersonation/TestInboundImpersonation.java | 3 +--
.../drill/exec/impersonation/TestInboundImpersonationPrivileges.java | 3 +--
8 files changed, 9 insertions(+), 14 deletions(-)
[drill] 01/01: Reset UserGroupInformation in BaseTestImpersonation.
Posted by dz...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
dzamo pushed a commit to branch hadoop-impersonation-tests
in repository https://gitbox.apache.org/repos/asf/drill.git
commit d25b51b73751299b3c1e2e812b07f54c2331bde1
Author: James Turton <ja...@somecomputer.xyz>
AuthorDate: Wed Aug 16 08:49:15 2023 +0200
Reset UserGroupInformation in BaseTestImpersonation.
---
.../java/org/apache/drill/exec/impersonation/BaseTestImpersonation.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/impersonation/BaseTestImpersonation.java b/exec/java-exec/src/test/java/org/apache/drill/exec/impersonation/BaseTestImpersonation.java
index f1d471d09e..b255b7e694 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/impersonation/BaseTestImpersonation.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/impersonation/BaseTestImpersonation.java
@@ -62,6 +62,8 @@ public class BaseTestImpersonation extends ClusterTest {
protected static final String[] org2Groups = { "group0_2", "group1_2", "group2_2", "group3_2", "group4_2", "group5_2" };
static {
+ UserGroupInformation.reset();
+
// "user0_1" belongs to "groups0_1". From "user1_1" onwards each user belongs to corresponding group and the group
// before it, i.e "user1_1" belongs to "group1_1" and "group0_1" and so on.
UserGroupInformation.createUserForTesting(org1Users[0], new String[]{org1Groups[0]});