Skip to content

Commit

Permalink
Added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
anmolasrani123 committed Jun 29, 2022
1 parent 6057e1f commit 12ae508
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,11 @@ public class AzureBlobFileSystem extends FileSystem
public void initialize(URI uri, Configuration configuration)
throws IOException {
uri = ensureAuthority(uri, configuration);
/*
If the clientCorrelationId is set, disable the cache so that
a new instance is created and hence incorrect correlation is not
recorded
*/
String correlationId = configuration.get(FS_AZURE_CLIENT_CORRELATIONID);
if(correlationId != null && !correlationId.equals("")) {
String scheme = uri.getScheme();
Expand Down

0 comments on commit 12ae508

Please sign in to comment.