keith-turner commented on a change in pull request #304: Add optional support 
for Azure ADLS Gen2
URL: https://github.com/apache/fluo-muchos/pull/304#discussion_r363939799
 
 

 ##########
 File path: ansible/roles/hadoop/templates/core-site.xml
 ##########
 @@ -36,4 +36,34 @@
     <name>dfs.domain.socket.path</name>
     <value>/var/lib/hadoop-hdfs/dn_socket</value>
   </property>
+{% if use_adlsg2 == True %}
+  <property>
+    <name>fs.azure.account.auth.type</name>
+    <value>OAuth</value>
+  </property>
+  <property>
+    <name>fs.azure.account.oauth.provider.type</name>
+    <value>org.apache.hadoop.fs.azurebfs.oauth2.MsiTokenProvider</value>
+  </property>
+  <property>
+    <name>fs.azure.account.oauth2.msi.tenant</name>
+    <value>{{ azure_tenant_id}}</value>
+  </property>
+  <property>
+    <name>fs.azure.account.oauth2.client.id</name>
+    <value>{{ azure_client_id }}</value>
+  </property>
+  <property>
+    <name>fs.azure.use.upn</name>
+    <value>true</value>
+  </property>
+  <property>
+    
<name>fs.azure.identity.transformer.service.principal.substitution.list</name>
+    <value>*</value>
 
 Review comment:
   Thanks for the explanation @arvindshmicrosoft 

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

Reply via email to