[
https://issues.apache.org/jira/browse/HADOOP-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arun C Murthy updated HADOOP-1274:
----------------------------------
Status: Open (was: Patch Available)
I'm sorry, but this patch removes the public api {{ClusterStatus.getMaxTasks}}.
The convention is to deprecate this for one release before removing a public
api, could you please fix it and submit a new patch?
{noformat}
Index: src/java/org/apache/hadoop/mapred/ClusterStatus.java
===================================================================
--- src/java/org/apache/hadoop/mapred/ClusterStatus.java (revision 591915)
+++ src/java/org/apache/hadoop/mapred/ClusterStatus.java (working copy)
@@ -106,15 +108,24 @@
}
/**
- * Get the maximum capacity for running tasks in the cluster.
+ * Get the maximum capacity for running map tasks in the cluster.
*
- * @return the maximum capacity for running tasks in the cluster.
+ * @return the maximum capacity for running map tasks in the cluster.
*/
- public int getMaxTasks() {
- return max_tasks;
+ public int getMaxMapTasks() {
+ return max_map_tasks;
}
/**
+ * Get the maximum capacity for running reduce tasks in the cluster.
+ *
+ * @return the maximum capacity for running reduce tasks in the cluster.
+ */
+ public int getMaxReduceTasks() {
+ return max_reduce_tasks;
+ }
+
+ /**
* Get the current state of the <code>JobTracker</code>,
* as [EMAIL PROTECTED] JobTracker.State}
*
{noformat}
> Configuring different number of mappers and reducers per TaskTracker
> --------------------------------------------------------------------
>
> Key: HADOOP-1274
> URL: https://issues.apache.org/jira/browse/HADOOP-1274
> Project: Hadoop
> Issue Type: Improvement
> Components: mapred
> Reporter: Koji Noguchi
> Assignee: Amareshwari Sri Ramadasu
> Fix For: 0.16.0
>
> Attachments: patch-1274.txt, patch-1274.txt, patch-1274.txt
>
>
> Depending on the application, it sometimes make sense to have more mappers
> than reducers assigned to each node.
> (I'm assuming user either has a dedicated cluster or use HOD.)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.