Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new config: fs.azure.blob.implicit.check.enabled #104

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,10 @@ public class AbfsConfiguration{
FS_AZURE_ENABLE_PAGINATED_DELETE, DefaultValue = DEFAULT_ENABLE_PAGINATED_DELETE)
private boolean isPaginatedDeleteEnabled;

@BooleanConfigurationValidatorAnnotation(ConfigurationKey = FS_AZURE_BLOB_IMPLICIT_CHECK_ENABLED,
DefaultValue = DEFAULT_AZURE_BLOB_IMPLICIT_CHECK_ENABLED)
private boolean isBlobImplicitCheckEnabled;

private String clientProvidedEncryptionKey;
private String clientProvidedEncryptionKeySHA;

Expand Down Expand Up @@ -1243,6 +1247,10 @@ public boolean isPaginatedDeleteEnabled() {
return isPaginatedDeleteEnabled;
}

public boolean isBlobImplicitCheckEnabled() {
return isBlobImplicitCheckEnabled;
}

public boolean getIsChecksumValidationEnabled() {
return isChecksumValidationEnabled;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -309,5 +309,11 @@ public static String accountProperty(String property, String account) {
* @see FileSystem#openFile(org.apache.hadoop.fs.Path)
*/
public static final String FS_AZURE_BUFFERED_PREAD_DISABLE = "fs.azure.buffered.pread.disable";

/**
* Specify if implicit directories (directories without marker blob)
* are possible in the FileSystem.{@value}
*/
public static final String FS_AZURE_BLOB_IMPLICIT_CHECK_ENABLED = "fs.azure.blob.implicit.check.enabled";
private ConfigurationKeys() {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -161,5 +161,7 @@ public final class FileSystemConfigurations {
*/
public static final int RATE_LIMIT_DEFAULT = 10_000;

public static final boolean DEFAULT_AZURE_BLOB_IMPLICIT_CHECK_ENABLED = true;

private FileSystemConfigurations() {}
}
Loading