This is an automated email from the ASF dual-hosted git repository. dzamo pushed a commit to branch hadoop-impersonation-tests-simple-auth in repository https://gitbox.apache.org/repos/asf/drill.git
commit f28a6913e25f3c1d652d7da5645aafc7ee6e6e9f Author: James Turton <ja...@somecomputer.xyz> AuthorDate: Thu Aug 10 15:39:53 2023 +0200 Ensure that Hadoop uses simple authentication during impersonation tests. Some undetermined OS or library change in the GitHub Action Runner image version has resulted in errors matching the below for tests that extend BaseTestImpersonation. `java.io.IOException: Running in secure mode, but config doesn't have a keytab` One guess is that the new Runner image bundles a Kerberos keytab, or other file that is detected by Hadoop and makes it decide that it should run in Secure Mode. This commit explicitly sets Hadoop's authentication mode simple in for Drill's impersonation tests. --- exec/java-exec/src/test/resources/core-site.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/exec/java-exec/src/test/resources/core-site.xml b/exec/java-exec/src/test/resources/core-site.xml index 0392da8914..9b3768d95c 100644 --- a/exec/java-exec/src/test/resources/core-site.xml +++ b/exec/java-exec/src/test/resources/core-site.xml @@ -51,4 +51,8 @@ <name>datanucleus.autoCreateTables</name> <value>true</value> </property> -</configuration> \ No newline at end of file + <property> + <name>hadoop.security.authentication</name> + <value>simple</value> + </property> +</configuration>