[
https://issues.apache.org/jira/browse/HDDS-2213?focusedWorklogId=321547&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-321547
]
ASF GitHub Bot logged work on HDDS-2213:
----------------------------------------
Author: ASF GitHub Bot
Created on: 01/Oct/19 21:28
Start Date: 01/Oct/19 21:28
Worklog Time Spent: 10m
Work Description: arp7 commented on pull request #1556: HDDS-2213.Reduce
key provider loading log level in OzoneFileSystem#ge…
URL: https://github.com/apache/hadoop/pull/1556#discussion_r330284419
##########
File path:
hadoop-ozone/ozonefs/src/main/java/org/apache/hadoop/fs/ozone/OzoneFileSystem.java
##########
@@ -63,7 +63,7 @@ public URI getKeyProviderUri() throws IOException {
try {
keyProvider = getKeyProvider();
} catch (IOException ioe) {
- LOG.error("Error retrieving KeyProvider.", ioe);
+ LOG.debug("Error retrieving KeyProvider.", ioe);
Review comment:
You can also update the text to say something like "this error is benign
when no keyprovider is configured."
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 321547)
Time Spent: 50m (was: 40m)
> Reduce key provider loading log level in
> OzoneFileSystem#getAdditionalTokenIssuers
> ----------------------------------------------------------------------------------
>
> Key: HDDS-2213
> URL: https://issues.apache.org/jira/browse/HDDS-2213
> Project: Hadoop Distributed Data Store
> Issue Type: Improvement
> Reporter: Vivek Ratnavel Subramanian
> Assignee: Shweta
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 50m
> Remaining Estimate: 0h
>
> 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.
> {code:java}
> KeyProvider keyProvider;
> try {
> keyProvider = getKeyProvider(); }
> catch (IOException ioe) {
> LOG.error("Error retrieving KeyProvider.", ioe);
> return null;
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]