[
https://issues.apache.org/jira/browse/HADOOP-3780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12624827#action_12624827
]
Steve Loughran commented on HADOOP-3780:
----------------------------------------
patching TaskTracker.getNumResolvedTaskTrackers() to return taskTrackers.size()
appears to work; there's no need to make this synchronized.
public int getNumResolvedTaskTrackers() {
return taskTrackers.size();
}
Is this the right thing to do? Should the method name stay the same?
> JobTracker should synchronously resolve the tasktracker's network location
> when the tracker registers
> -----------------------------------------------------------------------------------------------------
>
> Key: HADOOP-3780
> URL: https://issues.apache.org/jira/browse/HADOOP-3780
> Project: Hadoop Core
> Issue Type: Improvement
> Components: mapred
> Reporter: Amar Kamat
> Assignee: Amar Kamat
> Fix For: 0.19.0
>
> Attachments: HADOOP-3780-v1.1.patch, HADOOP-3780-v1.2.patch,
> HADOOP-3780-v1.patch
>
>
> This issue is inspired by HADOOP-3620. In JobTracker, the network address of
> tracker gets resolved asynchronously. Now it can be done inline i.e while the
> trackers register. This is of great help for HADOOP-3245 where this
> enhancement makes the design simpler.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.