[ 
https://issues.apache.org/jira/browse/HADOOP-19766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18050104#comment-18050104
 ] 

ASF GitHub Bot commented on HADOOP-19766:
-----------------------------------------

bhattmanish98 commented on code in PR #8152:
URL: https://github.com/apache/hadoop/pull/8152#discussion_r2664639075


##########
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AzureBlobFileSystemStore.java:
##########
@@ -798,9 +798,12 @@ private AbfsOutputStreamContext 
populateAbfsOutputStreamContext(
       ContextEncryptionAdapter contextEncryptionAdapter,
       TracingContext tracingContext) {
     int bufferSize = abfsConfiguration.getWriteBufferSize();
+    getClientHandler().initServiceType(abfsConfiguration);

Review Comment:
   Why is it needed? During client handler init we do initialize the service 
types.





> ABFS: Endpoint Conversion to Blob for FNS Accounts
> --------------------------------------------------
>
>                 Key: HADOOP-19766
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19766
>             Project: Hadoop Common
>          Issue Type: Task
>          Components: fs/azure
>    Affects Versions: 3.4.1, 3.4.2
>            Reporter: Manika Joshi
>            Assignee: Manika Joshi
>            Priority: Major
>              Labels: pull-request-available
>
> We have observed cases of ABFS driver being initialised with DFS for FNS 
> accounts which is not a recommended endpoint by the service.  
> To prevent this, we’re normalizing endpoint to Blob for FNS accounts even if 
> they were initialized with DFS endpoint.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to