FAQ

[MapReduce-user] bin/daemon.sh problem with memory args

Lance Norskog
Apr 8, 2011 at 4:37 am
Somehow, in the long chain of shell variable fiddling that creates the
command line in bin/daemon.sh, there is a small mistake. The command
line for tasktracker comes out (shorn of many other items) with two
memory allocation requests:

/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java
--Xmx1000m -Xmx512m org.apache.hadoop.mapred.TaskTracker

This is in Cloudera CH3, but is probably in regular 0.20.

--
Lance Norskog
goksron@gmail.com
reply

Search Discussions

1 response

  • Harsh J at Apr 9, 2011 at 8:13 am
    Hello Lance,
    On Fri, Apr 8, 2011 at 10:07 AM, Lance Norskog wrote:
    Somehow, in the long chain of shell variable fiddling that creates the
    command line in bin/daemon.sh, there is a small mistake. The command
    line for tasktracker comes out (shorn of many other items) with two
    memory allocation requests:

    /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java
    --Xmx1000m -Xmx512m  org.apache.hadoop.mapred.TaskTracker
    Yes, this occurs when special opts are also set for individual
    daemons. An issue already tracks this, if you're interested in fixing
    this behavior! Have a look at:
    https://issues.apache.org/jira/browse/HADOOP-6167

    --
    Harsh J

Related Discussions

Discussion Navigation
viewthread | post

2 users in discussion

Harsh J: 1 post Lance Norskog: 1 post