Uploaded image for project: 'Hadoop Distributed Data Store'
  1. Hadoop Distributed Data Store
  2. HDDS-2213

Reduce key provider loading log level in OzoneFileSystem#getAdditionalTokenIssuers

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.5.0
    • Component/s: None

      Description

      OzoneFileSystem#getAdditionalTokenIssuers log an error when secure client tries to collect ozone delegation token to run MR/Spark jobs but ozone file system does not have a kms provider configured. In this case, we simply return null provider here in the code below. This is a benign error and we should reduce the log level to debug level.

      
      KeyProvider keyProvider;
       try {
      
        keyProvider = getKeyProvider(); }
      
      catch (IOException ioe) {
      
        LOG.error("Error retrieving KeyProvider.", ioe);
      
        return null;
      
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shwetayakkali Shweta
                Reporter:
                vivekratnavel Vivek Ratnavel Subramanian
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h