[
https://issues.apache.org/jira/browse/HADOOP-19735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18035243#comment-18035243
]
ASF GitHub Bot commented on HADOOP-19735:
-----------------------------------------
manika137 commented on code in PR #8050:
URL: https://github.com/apache/hadoop/pull/8050#discussion_r2489045520
##########
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AbfsConfiguration.java:
##########
@@ -638,6 +638,15 @@ public class AbfsConfiguration{
DefaultValue = DEFAULT_FS_AZURE_TAIL_LATENCY_MAX_RETRY_COUNT)
private int tailLatencyMaxRetryCount;
+ @BooleanConfigurationValidatorAnnotation(ConfigurationKey =
FS_AZURE_ENABLE_PREFETCH_REQUEST_PRIORITY,
+ DefaultValue = DEFAULT_FS_AZURE_ENABLE_PREFETCH_REQUEST_PRIORITY)
+ private boolean enablePrefetchRequestPriority;
+
+ @IntegerConfigurationValidatorAnnotation(ConfigurationKey =
FS_AZURE_PREFETCH_REQUEST_PRIORITY_VALUE,
+ MinValue = DEFAULT_FS_AZURE_STANDARD_MIN_REQUEST_PRIORITY_VALUE,
+ DefaultValue = DEFAULT_FS_AZURE_REQUEST_PRIORITY_VALUE)
Review Comment:
Adding general terms for both to be used for future cases:
DEFAULT_FS_AZURE_LOWEST_REQUEST_PRIORITY_VALUE- Value as 7- this can be used
as default when we want the request to have lowest priority
DEFAULT_FS_AZURE_STANDARD_REQUEST_PRIORITY_VALUE- Value as 3- this is the
standard req priority value and will be set as minimum for reqs where we want
lowest priorities and maximum for reqs where we want highest priorities
> ABFS: Adding request priority for prefetches
> --------------------------------------------
>
> Key: HADOOP-19735
> URL: https://issues.apache.org/jira/browse/HADOOP-19735
> Project: Hadoop Common
> Issue Type: Task
> Components: fs/azure
> Affects Versions: 3.4.1, 3.4.2
> Reporter: Manika Joshi
> Assignee: Manika Joshi
> Priority: Major
> Labels: pull-request-available
>
> Adding low traffic request priority (behind a config flag) for prefetches to
> reduce load on server during throttling
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]