steveloughran commented on a change in pull request #1661: HADOOP-16484. S3A to 
warn or fail if S3Guard is disabled
URL: https://github.com/apache/hadoop/pull/1661#discussion_r337623619
 
 

 ##########
 File path: 
hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3AFileSystem.java
 ##########
 @@ -425,6 +425,14 @@ public void initialize(URI name, Configuration 
originalConf)
         LOG.debug("Using metadata store {}, authoritative store={}, 
authoritative path={}",
             getMetadataStore(), allowAuthoritativeMetadataStore, 
allowAuthoritativePaths);
       }
+
+      // LOG if S3Guard is disabled on the warn level set in config
+      if (!hasMetadataStore()) {
+        String warnLevel = conf.get(S3GUARD_DISABLED_WARN_LEVEL,
 
 Review comment:
   getTrimmed()

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to