hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kai Ren <k...@cs.cmu.edu>
Subject About running error of Gridmix3
Date Fri, 21 May 2010 05:52:26 GMT
Hi:

I am trying to run Gridmix3 on a testbed cluster.
The version I used is from the current trunk.
I run it as the following way:

java -jar gridmix.jar -conf /hadoop/conf -generate 100m /user/hadoop/input1
trace1.out

However, it reports the following error. I just wonder if there is any
specific requirement for the configuration file and the trace file?

10/05/20 21:38:19 INFO gridmix.Gridmix:  Submission policy is STRESS
10/05/20 21:38:19 INFO jvm.JvmMetrics: Initializing JVM Metrics with
processName=JobTracker, sessionId=
10/05/20 21:38:20 INFO jvm.JvmMetrics: Cannot initialize JVM Metrics with
processName=JobTracker, sessionId= - already initialized
10/05/20 21:38:20 INFO gridmix.Gridmix: Generating 100.0m of test data...
10/05/20 21:38:20 WARN mapreduce.JobSubmitter: Use GenericOptionsParser for
parsing the arguments. Applications should implement Tool for the same.
10/05/20 21:38:20 INFO jvm.JvmMetrics: Cannot initialize JVM Metrics with
processName=JobTracker, sessionId= - already initialized
10/05/20 21:38:20 INFO mapreduce.JobSubmitter: Cleaning up the staging area
file:/tmp/hadoop-hadoop/mapred/staging/hadoop-1266187736/.staging/job_local_0001
Exception in thread "pool-1-thread-1" java.lang.IllegalStateException: Job
in state DEFINE instead of RUNNING
    at org.apache.hadoop.mapreduce.Job.ensureState(Job.java:165)
    at org.apache.hadoop.mapreduce.Job.toString(Job.java:312)
    at java.lang.String.valueOf(String.java:2827)
    at java.lang.StringBuilder.append(StringBuilder.java:115)
    at
org.apache.hadoop.mapred.gridmix.JobSubmitter$SubmitTask.run(JobSubmitter.java:123)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    at java.lang.Thread.run(Thread.java:619)
10/05/20 21:38:30 WARN mapreduce.JobSubmitter: Use GenericOptionsParser for
parsing the arguments. Applications should implement Tool for the same.
10/05/20 21:38:30 INFO mapreduce.JobSubmitter: Cleaning up the staging area
file:/tmp/hadoop-hadoop/mapred/staging/hadoop-1266187736/.staging/job_local_0002
10/05/20 21:38:30 ERROR gridmix.Gridmix: Startup failed
java.io.FileNotFoundException: File
/tmp/hadoop-hadoop/mapred/staging/hadoop-1266187736/.staging/job_local_0001/job.jar
does not exist.
    at
org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:420)
    at
org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:290)
    at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:210)
    at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:162)
    at
org.apache.hadoop.fs.LocalFileSystem.copyFromLocalFile(LocalFileSystem.java:55)
    at
org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:1554)
    at
org.apache.hadoop.mapreduce.JobSubmitter.copyJar(JobSubmitter.java:255)
    at
org.apache.hadoop.mapreduce.JobSubmitter.copyAndConfigureFiles(JobSubmitter.java:224)
    at
org.apache.hadoop.mapreduce.JobSubmitter.copyAndConfigureFiles(JobSubmitter.java:270)
    at
org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:326)
    at org.apache.hadoop.mapreduce.Job$1.run(Job.java:967)
    at org.apache.hadoop.mapreduce.Job$1.run(Job.java:1)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:396)
    at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:738)
    at org.apache.hadoop.mapreduce.Job.submit(Job.java:964)
    at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:984)
    at
org.apache.hadoop.mapred.gridmix.Gridmix.writeInputData(Gridmix.java:104)
    at org.apache.hadoop.mapred.gridmix.Gridmix.run(Gridmix.java:216)
    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
    at org.apache.hadoop.mapred.gridmix.Gridmix.main(Gridmix.java:322)
10/05/20 21:38:30 INFO gridmix.Gridmix: Exiting...

Thanks very much!

Kai

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message