You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2022/08/12 19:01:59 UTC

[GitHub] [hadoop] ayushtkn commented on a diff in pull request #4730: HADOOP-18371. s3a FS init logs at warn if fs.s3a.create.storage.class is unset

ayushtkn commented on code in PR #4730:
URL: https://github.com/apache/hadoop/pull/4730#discussion_r944761833


##########
hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3AFileSystem.java:
##########
@@ -1001,7 +1001,7 @@ protected RequestFactory createRequestFactory() {
     try {
       storageClass = StorageClass.fromValue(storageClassConf);
     } catch (IllegalArgumentException e) {
-      LOG.warn("Unknown storage class property {}: {}; falling back to default storage class",
+      LOG.info("Unknown storage class property {}: {}; falling back to default storage class",

Review Comment:
   If you don't configure anything and then if it is falling back to default, it should be info in that case, but if someone configured it and configured it wrong it should be warn only right? it isn't the normal flow of execution



-- 
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.

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org