You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Viraj Jasani (Jira)" <ji...@apache.org> on 2023/02/25 00:11:00 UTC

[jira] [Created] (HADOOP-18645) Provide keytab file key name with ServiceStateException

Viraj Jasani created HADOOP-18645:
-------------------------------------

             Summary: Provide keytab file key name with ServiceStateException
                 Key: HADOOP-18645
                 URL: https://issues.apache.org/jira/browse/HADOOP-18645
             Project: Hadoop Common
          Issue Type: Improvement
            Reporter: Viraj Jasani
            Assignee: Viraj Jasani


 
{code:java}
util.ExitUtil - Exiting with status 1: org.apache.hadoop.service.ServiceStateException: java.io.IOException: Running in secure mode, but config doesn't have a keytab
1: org.apache.hadoop.service.ServiceStateException: java.io.IOException: Running in secure mode, but config doesn't have a keytab
  at org.apache.hadoop.util.ExitUtil.terminate(ExitUtil.java:264)
..
..
 {code}
 

 

When multiple downstreamers use different configs to present the same keytab file, if one of the config key gets missing or overridden as part of config generators, it becomes bit confusing for operators to realize which config is missing for a particular service, especially when keytab file value is already present with different config.

It would be nice to report config key with the stacktrace error message.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org