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

Reduce KMS error logging severity from WARN to INFO

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Won't Fix
    • 3.2.0
    • None
    • kms
    • None

    Description

      When the KMS is deployed as an HA service and a failure occurs the current error severity in the client code appears to be WARN. It can result in excessive errors despite the fact that another instance may succeed.

      Maybe this log level can be adjusted in only the load balancing provider.

      19/02/27 05:10:10 WARN kms.LoadBalancingKMSClientProvider: KMS provider at [https://example.com:16000/kms/v1/] threw an IOException [java.net.ConnectException: Connection refused (Connection refused)]!!
      
      19/02/12 20:50:09 WARN kms.LoadBalancingKMSClientProvider: KMS provider at [https://example.com:16000/kms/v1/] threw an IOException:
      java.io.IOException: java.lang.reflect.UndeclaredThrowableException
      

      Attachments

        1. HDFS-14404.001.patch
          1 kB
          Kitti Nanasi

        Activity

          People

            knanasi Kitti Nanasi
            knanasi Kitti Nanasi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: