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

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.5
    • Fix Version/s: 2.9.0, 3.0.0-alpha4
    • Component/s: kms
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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.01.patch
          2 kB
          Xiao Chen
        2. HADOOP-13854.02.patch
          2 kB
          Xiao Chen
        3. HADOOP-13854.03.patch
          2 kB
          Xiao Chen

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: