Issue Details (XML | Word | Printable)

Key: HADOOP-2762
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Amareshwari Sriramadasu
Reporter: Arun C Murthy
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Hadoop Common

Better documentation of controls for memory limits on hadoop daemons and Map-Reduce tasks

Created: 01/Feb/08 06:26 AM   Updated: 08/Jul/09 04:52 PM
Return to search
Component/s: documentation, scripts
Affects Version/s: 0.16.0
Fix Version/s: 0.18.0

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works patch-2762.txt 2008-06-17 05:01 AM Amareshwari Sriramadasu 4 kB
Text File Licensed for inclusion in ASF works patch-2762.txt 2008-06-13 04:45 AM Amareshwari Sriramadasu 3 kB
Text File Licensed for inclusion in ASF works patch-2762.txt 2008-06-11 12:10 PM Amareshwari Sriramadasu 3 kB

Hadoop Flags: Reviewed
Resolution Date: 17/Jun/08 11:10 AM


 Description  « Hide
We have had a spate of questions about memory usage of hadoop daemons and Map-Reduce jobs and how to configure them.

We should better document mapred.child.java.opts in the Map-Reduce tutorial and cluser_setup.html and link to http://hadoop.apache.org/core/docs/r0.15.3/cluster_setup.html#Configuring+the+Environment+of+the+Hadoop+Daemons.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Amareshwari Sriramadasu added a comment - 11/Jun/08 12:10 PM
Here is patch improving the documentation for memory controls.

Hadoop QA added a comment - 11/Jun/08 01:41 PM
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12383826/patch-2762.txt
against trunk revision 666620.

+1 @author. The patch does not contain any @author tags.

-1 tests included. The patch doesn't appear to include any new or modified tests.
Please justify why no tests are needed for this patch.

+1 javadoc. The javadoc tool did not generate any warning messages.

+1 javac. The applied patch does not increase the total number of javac compiler warnings.

+1 findbugs. The patch does not introduce any new Findbugs warnings.

+1 release audit. The applied patch does not increase the total number of release audit warnings.

+1 core tests. The patch passed core unit tests.

+1 contrib tests. The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2639/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2639/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2639/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2639/console

This message is automatically generated.


Arun C Murthy added a comment - 12/Jun/08 04:56 AM
Amareshwari, do you mind adding some illustrative examples for the HADOOP_*_OPTS? For e.g. how to set up it so that NameNode/JobTracker have higher memory limits than Datanode/TaskTracker.

Amareshwari Sriramadasu added a comment - 12/Jun/08 06:41 AM - edited
Unfortunately HADOOP_*_OPTS can not be used for setting up memory limits, because HADOOP_HEAPSIZE is used to set -Xmx limit for the daemons.
Thus, each daemon should have different HADOOP_HEAPSIZE configured for different memory limits.

Amareshwari Sriramadasu added a comment - 13/Jun/08 04:45 AM
Added a table describing various HADOOP_*_OPTS available to the earlier patch.

Hadoop QA added a comment - 13/Jun/08 06:18 AM
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12383945/patch-2762.txt
against trunk revision 667040.

+1 @author. The patch does not contain any @author tags.

-1 tests included. The patch doesn't appear to include any new or modified tests.
Please justify why no tests are needed for this patch.

+1 javadoc. The javadoc tool did not generate any warning messages.

+1 javac. The applied patch does not increase the total number of javac compiler warnings.

+1 findbugs. The patch does not introduce any new Findbugs warnings.

+1 release audit. The applied patch does not increase the total number of release audit warnings.

+1 core tests. The patch passed core unit tests.

+1 contrib tests. The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2652/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2652/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2652/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2652/console

This message is automatically generated.


Devaraj Das added a comment - 17/Jun/08 04:36 AM
Minor one - pls specify the unit for mapred.child.ulimit value.

Amareshwari Sriramadasu added a comment - 17/Jun/08 05:01 AM
Patch adding the units for mapred.child.ulimit

Hadoop QA added a comment - 17/Jun/08 06:41 AM
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12384102/patch-2762.txt
against trunk revision 668396.

+1 @author. The patch does not contain any @author tags.

-1 tests included. The patch doesn't appear to include any new or modified tests.
Please justify why no tests are needed for this patch.

+1 javadoc. The javadoc tool did not generate any warning messages.

+1 javac. The applied patch does not increase the total number of javac compiler warnings.

+1 findbugs. The patch does not introduce any new Findbugs warnings.

+1 release audit. The applied patch does not increase the total number of release audit warnings.

+1 core tests. The patch passed core unit tests.

+1 contrib tests. The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2667/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2667/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2667/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2667/console

This message is automatically generated.


Devaraj Das added a comment - 17/Jun/08 11:10 AM
I just committed this. Thanks, Amareshwari!

Hudson added a comment - 17/Jun/08 01:07 PM