[
https://issues.apache.org/jira/browse/YARN-7707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16379546#comment-16379546
]
Giovanni Matteo Fumarola commented on YARN-7707:
------------------------------------------------
Thanks [~youchen] for the patch. I took a quick look and I have few starting
comments:
*pom.xml*
* Why do you need {{hadoop-yarn-server-timelineservice}}?
*GPGUtils*
* The javadoc comment should be different for {{createUniformWeights}}.
*DefaultGlobalPolicy*
* Can you improve the javadoc of it?
* You add a log line and it says "Updating..." but you just return null. There
will be some confusion in the logs. Please change to something else.
*package-info.java*
* Add javadoc for it.
*UniformWeightedLocalityGlobalPolicy*
* Line 50 and 52 are identical.
Please revisit all the javadoc in {{PolicyGenerator}} and {{GPGPolicyFacade}}.
You use {{state store}} in few comments, can you change to
{{FederationStateStore}} to avoid confusion with ZK StateStore.
> [GPG] Policy generator framework
> --------------------------------
>
> Key: YARN-7707
> URL: https://issues.apache.org/jira/browse/YARN-7707
> Project: Hadoop YARN
> Issue Type: Sub-task
> Reporter: Carlo Curino
> Assignee: Young Chen
> Priority: Major
> Labels: federation, gpg
> Attachments: YARN-7707-YARN-7402.01.patch,
> YARN-7707-YARN-7402.02.patch, YARN-7707-YARN-7402.03.patch,
> YARN-7707-YARN-7402.04.patch, YARN-7707-YARN-7402.05.patch,
> YARN-7707-YARN-7402.06.patch
>
>
> This JIRA tracks the development of a generic framework for querying
> sub-clusters for metrics, running policies, and updating them in the
> FederationStateStore.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]