goiri commented on code in PR #5382:
URL: https://github.com/apache/hadoop/pull/5382#discussion_r1119064229
##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/conf/YarnConfiguration.java:
##########
@@ -4249,6 +4249,13 @@ public static boolean isAclEnabled(Configuration conf) {
"org.apache.hadoop.yarn.server.router.webapp."
+ "DefaultRequestInterceptorREST";
+ /**
+ * ApplicationSubmissionContextInterceptor configurations.
+ **/
+ public static final String ROUTER_ASC_INTERCEPTOR_MAX_SIZE =
+ ROUTER_PREFIX + "asc-interceptor-max-size";
+ public static final long DEFAULT_ROUTER_ASC_INTERCEPTOR_MAX_SIZE = 1024 *
1024;
Review Comment:
What if we use Configuration#getStorageSize()?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]