[
https://issues.apache.org/jira/browse/TEZ-1567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14172941#comment-14172941
]
Siddharth Seth commented on TEZ-1567:
-------------------------------------
bq. This probably does not belong on the Node object.
The main intent here is to be able to check state after
computeIgnoreBlacklisting to check whether we're past the threshold. The node
tracker is what keeps track of this information, and hence needs to be queried.
The alternate is to add a call from the nodeTracker into the node, and leave
the nodes in their current state - which just adds unnecessary events to the
node.
bq. Does node.registerAsBlackListed() need to be rolled back if node does not
end up calling node.blacklistSelf()?
Not until we support removing a node from the blacklist set. Calling
node.registerAsBlacklisted(); outside of the check for whether we're ignoring
blacklisting ensures the NodeTracker has a full picture of nodes which
should've been blacklisted, in case new nodes are added in the future - and
computeBlacklisting is recomputed.
bq. Could we change the notifications going out till after the
computeIgnorethreshold has been done. This way notifications would not be sent
until we have truly made up our mind.
The notifications don't go out till blacklistSelf is called - if those are the
ones you're referring to. If you're referring to informing the AMNodeTracker -
that's to keep track of nodes which should've been blacklisted.
bq. Or should we change the behavior to not blacklist further nodes if they are
going to cross the threshold.
That's a complete behaviour change for blacklisting, and I think warrants it's
own discussion in a separate jira. Once we hit the threshold and more nodes are
getting blacklisted - is it worthwhile to only use a set of 'bad' nodes, or to
activate all nodes at that point.
> Avoid blacklisting nodes when the disable blacklisting threshold is about to
> be hit
> -----------------------------------------------------------------------------------
>
> Key: TEZ-1567
> URL: https://issues.apache.org/jira/browse/TEZ-1567
> Project: Apache Tez
> Issue Type: Bug
> Reporter: Siddharth Seth
> Assignee: Siddharth Seth
> Attachments: TEZ-1567.1.txt
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)