Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-2606

SaslServerCallbackHandler#handleAuthorizeCallback() should log the exception

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.10, 3.5.3, 3.6.0
    • Component/s: None
    • Labels:

      Description

                  LOG.info("Setting authorizedID: " + userNameBuilder);
                  ac.setAuthorizedID(userNameBuilder.toString());
              } catch (IOException e) {
                  LOG.error("Failed to set name based on Kerberos authentication rules.");
              }
      

      On one cluster, we saw the following:

      2016-10-04 02:18:16,484 - ERROR [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:SaslServerCallbackHandler@137] - Failed to set name based on Kerberos authentication rules.
      

      It would be helpful if the log contains information about the IOException.

        Attachments

          Activity

            People

            • Assignee:
              yuzhihong@gmail.com Ted Yu
              Reporter:
              yuzhihong@gmail.com Ted Yu
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: