diff --git a/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AbfsConfiguration.java b/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AbfsConfiguration.java index 5dd7c6e5088ab..523fc74791e1e 100644 --- a/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AbfsConfiguration.java +++ b/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AbfsConfiguration.java @@ -524,10 +524,10 @@ public boolean isDfsToBlobFallbackEnabled() { public void validateConfiguredServiceType(boolean isHNSEnabled) throws InvalidConfigurationValueException { // TODO: [FnsOverBlob][HADOOP-19179] Remove this check when FNS over Blob is ready. -// if (getFsConfiguredServiceType() == AbfsServiceType.BLOB) { -// throw new InvalidConfigurationValueException(FS_DEFAULT_NAME_KEY, -// "Blob Endpoint Support not yet available"); -// } + if (getFsConfiguredServiceType() == AbfsServiceType.BLOB) { + throw new InvalidConfigurationValueException(FS_DEFAULT_NAME_KEY, + "Blob Endpoint Support not yet available"); + } if (isHNSEnabled && getConfiguredServiceTypeForFNSAccounts() == AbfsServiceType.BLOB) { throw new InvalidConfigurationValueException( FS_AZURE_FNS_ACCOUNT_SERVICE_TYPE, "Service Type Cannot be BLOB for HNS Account");