Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-13458

LoadBalancingKMSClientProvider#doOp should log IOException stacktrace

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-alpha1
    • Component/s: kms
    • Labels:

      Description

      Sometimes it's relatively hard to comprehend the meaning of the exception message without stacktrace. I think we should log the stacktrace too.

      LOG.warn("KMS provider at [{}] threw an IOException [{}]!!",
                  provider.getKMSUrl(), ioe.getMessage());
      

        Attachments

        1. HADOOP-13458.001.patch
          1 kB
          Chen Liang
        2. HADOOP-13458.002.patch
          1 kB
          Chen Liang

          Activity

            People

            • Assignee:
              vagarychen Chen Liang
              Reporter:
              jojochuang Wei-Chiu Chuang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: