Skip to content

Commit

Permalink
uncomment code
Browse files Browse the repository at this point in the history
  • Loading branch information
anmolanmol1234 committed Jan 13, 2025
1 parent e0a228a commit b9f2f7b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit b9f2f7b

Please sign in to comment.