You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Pranay Varma (JIRA)" <ji...@apache.org> on 2013/06/23 02:24:20 UTC
[jira] [Updated] (MAPREDUCE-5347) getBlacklistedTrackers() is
misleading. It does not return trackers. It should be renamed
getNumBlacklistedTrackers.
[ https://issues.apache.org/jira/browse/MAPREDUCE-5347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pranay Varma updated MAPREDUCE-5347:
------------------------------------
Description:
If the method returns a number, then that is what the method name should reflect. It should be called getNumBlacklistedTrackers();
The same applies to the following:
- getMapTasks, getReduceTasks, getTaskTrackers
These should be deprecated and a new method should be added: getNumxxx.
was:If the method returns a number, then that is what the method name should reflect. It should be called getNumBlacklistedTrackers();
> getBlacklistedTrackers() is misleading. It does not return trackers. It should be renamed getNumBlacklistedTrackers.
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: MAPREDUCE-5347
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-5347
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: contrib/streaming, documentation
> Affects Versions: 2.1.0-beta, 2.0.5-alpha
> Reporter: Pranay Varma
>
> If the method returns a number, then that is what the method name should reflect. It should be called getNumBlacklistedTrackers();
> The same applies to the following:
> - getMapTasks, getReduceTasks, getTaskTrackers
> These should be deprecated and a new method should be added: getNumxxx.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira