hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Koji Noguchi" <knogu...@yahoo-inc.com>
Subject RE: streaming error when submit the job:Cannot run program "chmod": java.io.IOException: error=12, Cannot allocate memory
Date Wed, 11 Mar 2009 20:44:06 GMT
Shixing,

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

Koji

-----Original Message-----
From: shixing [mailto:paradisehit@gmail.com] 
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.<init>(JobInProgress.java:247)
    at
org.apache.hadoop.mapred.JobTracker.submitJob(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.<init>(UNIXProcess.java:148)
    at java.lang.ProcessImpl.start(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~

Mime
View raw message