FAQ
09/03/11 15:43:55 ERROR streaming.StreamJob: Error Launching job :
java.io.IOException: Cannot run program "chmod": java.io.IOException:
error=12, Cannot allocate memory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
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:338)
at
org.apache.hadoop.fs.RawLocalFileSystem.execCommand(RawLocalFileSystem.java:480)
at
org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:472)
at
org.apache.hadoop.fs.FilterFileSystem.setPermission(FilterFileSystem.java:274)
at
org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:364)
at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:487)
at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:468)
at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:375)
at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:208)
at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:142)
at org.apache.hadoop.fs.FileSystem.copyToLocalFile(FileSystem.java:1238)
at org.apache.hadoop.fs.FileSystem.copyToLocalFile(FileSystem.java:1219)
at org.apache.hadoop.mapred.JobInProgress.(JobTracker.java:2426)
at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:467)
at org.apache.hadoop.ipc.Server$Handler.run(Server.java:902)
Caused by: java.io.IOException: java.io.IOException: error=12, Cannot
allocate memory
at java.lang.UNIXProcess.(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
... 22 more

and when I resubmit the job, it successes!
--
Best wishes!
My Friend~

Search Discussions

  • Koji Noguchi at Mar 11, 2009 at 8:48 pm
    Shixing,

    Discussion on
    https://issues.apache.org/jira/browse/HADOOP-5059
    may be related.

    Koji

    -----Original Message-----
    From: shixing
    Sent: Wednesday, March 11, 2009 1:31 AM
    To: core-user@hadoop.apache.org
    Subject: streaming error when submit the job:Cannot run program "chmod":
    java.io.IOException: error=12, Cannot allocate memory

    09/03/11 15:43:55 ERROR streaming.StreamJob: Error Launching job :
    java.io.IOException: Cannot run program "chmod": java.io.IOException:
    error=12, Cannot allocate memory
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
    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:338)
    at
    org.apache.hadoop.fs.RawLocalFileSystem.execCommand(RawLocalFileSystem.j
    ava:480)
    at
    org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem
    .java:472)
    at
    org.apache.hadoop.fs.FilterFileSystem.setPermission(FilterFileSystem.jav
    a:274)
    at
    org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:3
    64)
    at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:487)
    at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:468)
    at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:375)
    at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:208)
    at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:142)
    at
    org.apache.hadoop.fs.FileSystem.copyToLocalFile(FileSystem.java:1238)
    at
    org.apache.hadoop.fs.FileSystem.copyToLocalFile(FileSystem.java:1219)
    at
    org.apache.hadoop.mapred.JobInProgress.(JobTracker.java:2426)
    at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
    Impl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:467)
    at org.apache.hadoop.ipc.Server$Handler.run(Server.java:902)
    Caused by: java.io.IOException: java.io.IOException: error=12, Cannot
    allocate memory
    at java.lang.UNIXProcess.(ProcessImpl.java:65)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
    ... 22 more

    and when I resubmit the job, it successes!
    --
    Best wishes!
    My Friend~

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-user @
categorieshadoop
postedMar 11, '09 at 8:31a
activeMar 11, '09 at 8:48p
posts2
users2
websitehadoop.apache.org...
irc#hadoop

2 users in discussion

Shixing: 1 post Koji Noguchi: 1 post

People

Translate

site design / logo © 2022 Grokbase