See HADOOP-5059.

On Fri, Dec 11, 2009 at 7:57 AM, pavel kolodin <[email protected]
> wrote:

> On Fri, 11 Dec 2009 11:52:57 -0000, Sean Owen <[email protected]> wrote:
>
>  "-Xmx900" means "give the entire JVM only 900 bytes of heap space"
>> which can't possibly work.
>> You do not say what problem you are trying to solve here. What is the
>> problem when you do not mess with these options?
>>
>
> As i said:
> "Then i putting "-Xmx900" in HADOOP_JOBTRACKER_OPTS and errors=12 dont
> appear in JobTracker's logfiles anymore."
> With means -Xmx900 works for some reason.
>
> The problem is:
>
>
> java.io.IOException: Cannot run program "chmod": java.io.IOException:
> error=12, Cannot allocate memory
>        at java.lang.ProcessBuilder.start(ProcessBuilder.java:474)
>        at org.apache.hadoop.util.Shell.runCommand(Shell.java:149)
>        at org.apache.hadoop.util.Shell.run(Shell.java:134)
>        at
> org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:286)
>        at org.apache.hadoop.util.Shell.execCommand(Shell.java:354)
>        at org.apache.hadoop.util.Shell.execCommand(Shell.java:337)
>        at
> org.apache.hadoop.fs.RawLocalFileSystem.execCommand(RawLocalFileSystem.java:481)
>        at
> org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:473)
>        at
> org.apache.hadoop.fs.FilterFileSystem.setPermission(FilterFileSystem.java:280)
>        at
> org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:372)
>        at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:479)
>        at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:460)
>        at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:367)
>        at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:359)
>        at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:186)
>

Reply via email to