[ 
https://issues.apache.org/jira/browse/HADOOP-19735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18035198#comment-18035198
 ] 

ASF GitHub Bot commented on HADOOP-19735:
-----------------------------------------

anujmodi2021 commented on code in PR #8050:
URL: https://github.com/apache/hadoop/pull/8050#discussion_r2488427272


##########
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:
   Can be something general, FS_AZURE_REQUEST_PRIORITY_LOW





> 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]

Reply via email to