Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14497 Logs for KMS delegation token lifecycle
  3. HADOOP-13854

KMS should log error details in KMSExceptionsProvider

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.6.5
    • 2.9.0, 3.0.0-alpha4
    • kms
    • None
    • Reviewed

    Description

      It appears if a KMS HTTP request is malformed, it could rejected by tomcat and a response is sent by KMSExceptionsProvider overriding Jersey's ExceptionMapper.

      This behavior is okay, but in the logs we'll see an ERROR audit log, but nothing in kms.log (or anywhere else). This makes trouble shooting pretty painful, let's improve it.

      Attachments

        1. HADOOP-13854.03.patch
          2 kB
          Xiao Chen
        2. HADOOP-13854.02.patch
          2 kB
          Xiao Chen
        3. HADOOP-13854.01.patch
          2 kB
          Xiao Chen

        Activity

          People

            xiaochen Xiao Chen
            xiaochen Xiao Chen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: