szilard-nemeth commented on code in PR #4960:
URL: https://github.com/apache/hadoop/pull/4960#discussion_r990101123
##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/FairSchedulerAppsBlock.java:
##########
@@ -129,6 +129,12 @@ protected Boolean hasAccess(RMApp app, HttpServletRequest
hsr) {
return true;
}
+ private static String printAppInfo(long appInfoFunc) {
Review Comment:
You are passing a long value which is representing some numerical value
(containers, memory MB, vcores) so the name of the parameter should represent
it correctly. I suggest 'value' as it's generic enough.
'appInfoFunc' is not correct as the values you are passing are not functions
--
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]