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

LoadBalancingKMSClientProvider#doOp should log IOException stacktrace

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha1
    • kms

    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

            vagarychen Chen Liang
            weichiu Wei-Chiu Chuang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: