severe: servlet.service() for servlet [kafkaservlet] in context with path [/hdp-web] threw exception [servlet execution threw an exception] with root cause
javax.security.auth.login.loginexception: unable to obtain password from user
at com.sun.security.auth.module.krb5loginmodule.promptforpass(krb5loginmodule.java:897)
at com.sun.security.auth.module.krb5loginmodule.attemptauthentication(krb5loginmodule.java:760)
at com.sun.security.auth.module.krb5loginmodule.login(krb5loginmodule.java:617)
at sun.reflect.nativemethodaccessorimpl.invoke0(native method)
at sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62)
at sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43)
at java.lang.reflect.method.invoke(method.java:497)
at javax.security.auth.login.logincontext.invoke(logincontext.java:755)
at javax.security.auth.login.logincontext.access$000(logincontext.java:195)
at javax.security.auth.login.logincontext$4.run(logincontext.java:682)
at javax.security.auth.login.logincontext$4.run(logincontext.java:680)
at java.security.accesscontroller.doprivileged(native method)
at javax.security.auth.login.logincontext.invokepriv(logincontext.java:680)
at javax.security.auth.login.logincontext.login(logincontext.java:587)
at org.apache.kafka.common.security.kerberos.login.login(login.java:298)
at org.apache.kafka.common.security.kerberos.login.<init>(login.java:104)
at kafka.common.security.loginmanager$.init(loginmanager.scala:36)
at kafka.producer.producer.<init>(producer.scala:50)
at kafka.producer.producer.<init>(producer.scala:73)
at kafka.javaapi.producer.producer.<init>(producer.scala:26)
at hdp.webapp.kafkaservlet.doget(kafkaservlet.java:33)
at javax.servlet.http.httpservlet.service(httpservlet.java:620)
at javax.servlet.http.httpservlet.service(httpservlet.java:727)
at org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:303)
at org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:208)
at org.apache.tomcat.websocket.server.wsfilter.dofilter(wsfilter.java:52)
at org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:241)
at org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:208)
at org.apache.catalina.core.standardwrappervalve.invoke(standardwrappervalve.java:220)
at org.apache.catalina.core.standardcontextvalve.invoke(standardcontextvalve.java:122)
at org.apache.catalina.authenticator.authenticatorbase.invoke(authenticatorbase.java:501)
at org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:171)
at org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:102)
at org.apache.catalina.valves.accesslogvalve.invoke(accesslogvalve.java:950)
at org.apache.catalina.core.standardenginevalve.invoke(standardenginevalve.java:116)
at org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:408)
at org.apache.coyote.http11.abstracthttp11processor.process(abstracthttp11processor.java:1040)
at org.apache.coyote.abstractprotocol$abstractconnectionhandler.process(abstractprotocol.java:607)
at org.apache.tomcat.util.net.jioendpoint$socketprocessor.run(jioendpoint.java:314)
at java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142)
at java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617)
at org.apache.tomcat.util.threads.taskthread$wrappingrunnable.run(taskthread.java:61)
at java.lang.thread.run(thread.java:745)