steveloughran commented on a change in pull request #1842: HADOOP-16730 : ABFS:
Add Authorizer Interface
URL: https://github.com/apache/hadoop/pull/1842#discussion_r378950703
##########
File path:
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AzureBlobFileSystem.java
##########
@@ -112,10 +113,13 @@ public void initialize(URI uri, Configuration
configuration)
LOG.trace("AzureBlobFileSystemStore init complete");
final AbfsConfiguration abfsConfiguration =
abfsStore.getAbfsConfiguration();
+ this.authorizer = abfsConfiguration.getAbfsAuthorizer();
this.setWorkingDirectory(this.getHomeDirectory());
- if (abfsConfiguration.getCreateRemoteFileSystemDuringInitialization()) {
+ // auto-creation of container is disabled when authorizer is configured
+ if (abfsConfiguration.getCreateRemoteFileSystemDuringInitialization() && (
Review comment:
style nit: put the newline before the && operator, so make it the start of
th next line
----------------------------------------------------------------
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]