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


##########
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AzureBlobFileSystemStore.java:
##########
@@ -1906,6 +1909,17 @@ private AbfsPerfInfo startTracking(String callerName, 
String calleeName) {
     return new AbfsPerfInfo(abfsPerfTracker, callerName, calleeName);
   }
 
+  /**
+   * Resets all service types to use BLOB.
+   * Updates the client to reflect the new default service type.
+   */
+  public void resetEndpointforFNS() {
+    getAbfsConfiguration().setFsConfiguredServiceTypetoBlob();
+    getClientHandler().setDefaultServiceType(AbfsServiceType.BLOB);

Review Comment:
   Repeated use of gets, can be initialized in a variable



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to