From b6f630cc19a08e4215eb9e23b00eee092ca6d5e9 Mon Sep 17 00:00:00 2001 From: Maxi Wittich Date: Mon, 13 Oct 2025 13:43:51 +0200 Subject: [PATCH 1/4] Adding troubleshooting guide on hive probe errors with kerberos auth --- .../hive/pages/troubleshooting/index.adoc | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 docs/modules/hive/pages/troubleshooting/index.adoc diff --git a/docs/modules/hive/pages/troubleshooting/index.adoc b/docs/modules/hive/pages/troubleshooting/index.adoc new file mode 100644 index 00000000..0ef1a356 --- /dev/null +++ b/docs/modules/hive/pages/troubleshooting/index.adoc @@ -0,0 +1,26 @@ += Troubleshooting + +== Probe error 'Thrift Error' while using Kerberos authentication +In Hive 4.0.1 with Kerberos enabled, health checks cause excessive error logs: + +[source] +---- +ERROR [Metastore-Handler-Pool: Thread-65] server.TThreadPoolServer: Thrift Error occurred during processing of message. +---- + +This is because the health check doesn’t complete SASL authentication. The error is ignorable, though it can be hidden with the following configuration: + +[source,yaml] +---- +spec: + metastore: + config: + logging: + containers: + hive: + loggers: + org.apache.thrift.server.TThreadPoolServer: + level: NONE +---- + +NOTE: This will suppress all logging from TThreadPoolServer, including log events that might be useful for diagnosing issues. \ No newline at end of file From 8aed4aa5659d471c2ea72972642cffc5ca398716 Mon Sep 17 00:00:00 2001 From: Maxi Wittich Date: Mon, 13 Oct 2025 13:47:53 +0200 Subject: [PATCH 2/4] Adding newline EOF --- docs/modules/hive/pages/troubleshooting/index.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules/hive/pages/troubleshooting/index.adoc b/docs/modules/hive/pages/troubleshooting/index.adoc index 0ef1a356..43979435 100644 --- a/docs/modules/hive/pages/troubleshooting/index.adoc +++ b/docs/modules/hive/pages/troubleshooting/index.adoc @@ -23,4 +23,4 @@ spec: level: NONE ---- -NOTE: This will suppress all logging from TThreadPoolServer, including log events that might be useful for diagnosing issues. \ No newline at end of file +NOTE: This will suppress all logging from TThreadPoolServer, including log events that might be useful for diagnosing issues. From 4aae3464ce012214a5b3bc5f2102f5d2c3e8cfaf Mon Sep 17 00:00:00 2001 From: Maximilian Wittich <56642549+Maleware@users.noreply.github.com> Date: Mon, 13 Oct 2025 13:59:08 +0200 Subject: [PATCH 3/4] Update docs/modules/hive/pages/troubleshooting/index.adoc Co-authored-by: Sebastian Bernauer --- docs/modules/hive/pages/troubleshooting/index.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/modules/hive/pages/troubleshooting/index.adoc b/docs/modules/hive/pages/troubleshooting/index.adoc index 43979435..56ea551d 100644 --- a/docs/modules/hive/pages/troubleshooting/index.adoc +++ b/docs/modules/hive/pages/troubleshooting/index.adoc @@ -1,6 +1,7 @@ = Troubleshooting == Probe error 'Thrift Error' while using Kerberos authentication + In Hive 4.0.1 with Kerberos enabled, health checks cause excessive error logs: [source] From 67fa8ccbeb5aded6e06baaa1fab4f0f05f6c3638 Mon Sep 17 00:00:00 2001 From: Maxi Wittich Date: Mon, 13 Oct 2025 14:02:15 +0200 Subject: [PATCH 4/4] Adding to nav.adoc --- docs/modules/hive/partials/nav.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/modules/hive/partials/nav.adoc b/docs/modules/hive/partials/nav.adoc index 94cd6333..43783a13 100644 --- a/docs/modules/hive/partials/nav.adoc +++ b/docs/modules/hive/partials/nav.adoc @@ -23,3 +23,4 @@ ** xref:hive:reference/discovery.adoc[] ** xref:hive:reference/commandline-parameters.adoc[] ** xref:hive:reference/environment-variables.adoc[] +* xref:hive:troubleshooting/index.adoc[]