Github user Ethanlm commented on the issue:

    https://github.com/apache/storm/pull/2405
  
    Tested it manually.  
    
    ```
    [ethanli@persistmist ~]$ less /tmp/apache-storm-2.0.0-SNAPSHOT/logs/ui.log 
| grep "Login Cache"
    2017-11-09 22:54:25.499 o.a.s.s.a.k.KerberosSaslTransportPlugin 
qtp1753746465-16 [DEBUG] Kerberos Login Cache is disabled, attempting to 
contact the Kerberos Server
    2017-11-09 22:54:25.499 o.a.s.s.a.k.KerberosSaslTransportPlugin 
qtp1753746465-15 [DEBUG] Kerberos Login Cache is disabled, attempting to 
contact the Kerberos Server
    2017-11-09 22:54:25.499 o.a.s.s.a.k.KerberosSaslTransportPlugin 
qtp1753746465-19 [DEBUG] Kerberos Login Cache is disabled, attempting to 
contact the Kerberos Server
    2017-11-09 22:54:25.500 o.a.s.s.a.k.KerberosSaslTransportPlugin 
qtp1753746465-18 [DEBUG] Kerberos Login Cache is disabled, attempting to 
contact the Kerberos Server
    2017-11-09 22:54:25.500 o.a.s.s.a.k.KerberosSaslTransportPlugin 
qtp1753746465-29 [DEBUG] Kerberos Login Cache is disabled, attempting to 
contact the Kerberos Server
    2017-11-09 22:54:25.500 o.a.s.s.a.k.KerberosSaslTransportPlugin 
qtp1753746465-20 [DEBUG] Kerberos Login Cache is disabled, attempting to 
contact the Kerberos Server
    2017-11-09 22:55:19.972 o.a.s.s.a.k.KerberosSaslTransportPlugin 
qtp1753746465-26 [DEBUG] Trying to get the Kerberos Login from the Login Cache
    2017-11-09 22:55:19.972 o.a.s.s.a.k.KerberosSaslTransportPlugin 
qtp1753746465-26 [DEBUG] Kerberos Login was not found in the Login Cache, 
attempting to contact the Kerberos Server
    2017-11-09 22:55:19.974 o.a.s.s.a.k.KerberosSaslTransportPlugin 
qtp1753746465-20 [DEBUG] Trying to get the Kerberos Login from the Login Cache
    2017-11-09 22:55:19.992 o.a.s.s.a.k.KerberosSaslTransportPlugin 
qtp1753746465-15 [DEBUG] Trying to get the Kerberos Login from the Login Cache
    2017-11-09 22:55:19.994 o.a.s.s.a.k.KerberosSaslTransportPlugin 
qtp1753746465-18 [DEBUG] Trying to get the Kerberos Login from the Login Cache
    2017-11-09 22:55:20.006 o.a.s.s.a.k.KerberosSaslTransportPlugin 
qtp1753746465-21 [DEBUG] Trying to get the Kerberos Login from the Login Cache
    2017-11-09 22:55:20.008 o.a.s.s.a.k.KerberosSaslTransportPlugin 
qtp1753746465-27 [DEBUG] Trying to get the Kerberos Login from the Login Cache
    2017-11-09 22:56:18.139 o.a.s.s.a.k.KerberosSaslTransportPlugin 
qtp1753746465-18 [DEBUG] Kerberos Login Cache is disabled, attempting to 
contact the Kerberos Server
    2017-11-09 22:56:18.158 o.a.s.s.a.k.KerberosSaslTransportPlugin 
qtp1753746465-19 [DEBUG] Kerberos Login Cache is disabled, attempting to 
contact the Kerberos Server
    2017-11-09 22:56:18.164 o.a.s.s.a.k.KerberosSaslTransportPlugin 
qtp1753746465-29 [DEBUG] Kerberos Login Cache is disabled, attempting to 
contact the Kerberos Server
    2017-11-09 22:56:18.175 o.a.s.s.a.k.KerberosSaslTransportPlugin 
qtp1753746465-20 [DEBUG] Kerberos Login Cache is disabled, attempting to 
contact the Kerberos Server
    2017-11-09 22:56:18.190 o.a.s.s.a.k.KerberosSaslTransportPlugin 
qtp1753746465-26 [DEBUG] Kerberos Login Cache is disabled, attempting to 
contact the Kerberos Server
    2017-11-09 22:56:18.199 o.a.s.s.a.k.KerberosSaslTransportPlugin 
qtp1753746465-17 [DEBUG] Kerberos Login Cache is disabled, attempting to 
contact the Kerberos Server
    2017-11-09 22:56:33.642 o.a.s.s.a.k.KerberosSaslTransportPlugin 
qtp1753746465-17 [DEBUG] Trying to get the Kerberos Login from the Login Cache
    2017-11-09 22:56:33.642 o.a.s.s.a.k.KerberosSaslTransportPlugin 
qtp1753746465-17 [DEBUG] Kerberos Login was not found in the Login Cache, 
attempting to contact the Kerberos Server
    2017-11-09 22:56:33.643 o.a.s.s.a.k.KerberosSaslTransportPlugin 
qtp1753746465-26 [DEBUG] Trying to get the Kerberos Login from the Login Cache
    2017-11-09 22:56:33.646 o.a.s.s.a.k.KerberosSaslTransportPlugin 
qtp1753746465-18 [DEBUG] Trying to get the Kerberos Login from the Login Cache
    2017-11-09 22:56:33.663 o.a.s.s.a.k.KerberosSaslTransportPlugin 
qtp1753746465-29 [DEBUG] Trying to get the Kerberos Login from the Login Cache
    2017-11-09 22:56:33.672 o.a.s.s.a.k.KerberosSaslTransportPlugin 
qtp1753746465-21 [DEBUG] Trying to get the Kerberos Login from the Login Cache
    2017-11-09 22:56:33.677 o.a.s.s.a.k.KerberosSaslTransportPlugin 
qtp1753746465-20 [DEBUG] Trying to get the Kerberos Login from the Login Cache
    
    ```
    
    The jaas.conf file remains unchanged during the process. The logincache is 
first disabled, then enabled, then disabled, and then enabled. The behavior is 
expected.



---

Reply via email to