hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lushuaibing <shuaibing...@gmail.com>
Subject jobToken does not exist
Date Tue, 08 May 2012 01:29:23 GMT
Hello,all:
I am new to hadoop, and when I run the hadoop-examples-1.0.1.jar
wordcount, I got "jobToken does not exit" error.
The configuration for hadoop is copied from /hadoop in action/. I an
looking forward for your reply,thank you for help!


public@public-Lenovo-S10-3c:~/hadoop-1.0.1$ jps
5809 JobTracker
7651 RunJar
6047 TaskTracker
5494 DataNode
8556 Jps
5728 SecondaryNameNode
5262 NameNode
public@public-Lenovo-S10-3c:~/hadoop-1.0.1$ bin/hadoop fs -ls
Found 6 items
drwxr-xr-x - public supergroup 0 2012-05-07 20:25 /user/public/conf
drwxr-xr-x - public supergroup 0 2012-05-08 08:04 /user/public/conf.wc
-rw-r--r-- 1 public supergroup 30480 2012-05-07 20:34
/user/public/gm.conf.txt
drwxr-xr-x - public supergroup 0 2012-05-07 20:31 /user/public/hadoopTmp
drwxr-xr-x - public supergroup 0 2012-05-07 20:30 /user/public/output
drwxr-xr-x - public supergroup 0 2012-05-08 09:11 /user/public/output3
public@public-Lenovo-S10-3c:~/hadoop-1.0.1$ bin/hadoop jar
hadoop-examples-1.0.1.jar wordcount conf output1
****hdfs://localhost:9000/user/public/conf
12/05/08 09:21:09 INFO input.FileInputFormat: Total input paths to
process : 20
12/05/08 09:21:10 INFO mapred.JobClient: Running job: job_201205080832_0006
12/05/08 09:21:11 INFO mapred.JobClient: map 0% reduce 0%
12/05/08 09:21:16 INFO mapred.JobClient: Task Id :
attempt_201205080832_0006_m_000021_0, Status : FAILED
Error initializing attempt_201205080832_0006_m_000021_0:
java.io.IOException: Exception reading
file:/hadoopTmp/mapred/local/ttprivate/taskTracker/public/jobcache/job_201205080832_0006/jobToken
at
org.apache.hadoop.security.Credentials.readTokenStorageFile(Credentials.java:135)
at
org.apache.hadoop.mapreduce.security.TokenCache.loadTokens(TokenCache.java:165)
at org.apache.hadoop.mapred.TaskTracker.initializeJob(TaskTracker.java:1179)
at org.apache.hadoop.mapred.TaskTracker.localizeJob(TaskTracker.java:1116)
at org.apache.hadoop.mapred.TaskTracker$5.run(TaskTracker.java:2404)
at java.lang.Thread.run(Thread.java:679)
Caused by: java.io.FileNotFoundException: _File
file:/hadoopTmp/mapred/local/ttprivate/taskTracker/public/jobcache/job_201205080832_0006/jobToken
does not exist._
at
org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:397)
at
org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:251)
at
org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSInputChecker.<init>(ChecksumFileSystem.java:125)
at org.apache.hadoop.fs.ChecksumFileSystem.open(ChecksumFileSystem.java:283)
at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:427)
at
org.apache.hadoop.security.Credentials.readTokenStorageFile(Credentials.java:129)
... 5 more

12/05/08 09:21:16 WARN mapred.JobClient: Error reading task
outputhttp://public-Lenovo-S10-3c:50060/tasklog?plaintext=true&attemptid=attempt_201205080832_0006_m_000021_0&filter=stdout
12/05/08 09:21:16 WARN mapred.JobClient: Error reading task
outputhttp://public-Lenovo-S10-3c:50060/tasklog?plaintext=true&attemptid=attempt_201205080832_0006_m_000021_0&filter=stderr
12/05/08 09:21:18 INFO mapred.JobClient: Task Id :
attempt_201205080832_0006_m_000021_1, Status : FAILED
Error initializing attempt_201205080832_0006_m_000021_1:
java.io.IOException: Exception reading
file:/hadoopTmp/mapred/local/ttprivate/taskTracker/public/jobcache/job_201205080832_0006/jobToken
at
org.apache.hadoop.security.Credentials.readTokenStorageFile(Credentials.java:135)
at
org.apache.hadoop.mapreduce.security.TokenCache.loadTokens(TokenCache.java:165)
at org.apache.hadoop.mapred.TaskTracker.initializeJob(TaskTracker.java:1179)
at org.apache.hadoop.mapred.TaskTracker.localizeJob(TaskTracker.java:1116)
at org.apache.hadoop.mapred.TaskTracker$5.run(TaskTracker.java:2404)
at java.lang.Thread.run(Thread.java:679)
Caused by: java.io.FileNotFoundException: _File
file:/hadoopTmp/mapred/local/ttprivate/taskTracker/public/jobcache/job_201205080832_0006/jobToken
does not exist._
at
org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:397)
at
org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:251)
at
org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSInputChecker.<init>(ChecksumFileSystem.java:125)
at org.apache.hadoop.fs.ChecksumFileSystem.open(ChecksumFileSystem.java:283)
at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:427)
at
org.apache.hadoop.security.Credentials.readTokenStorageFile(Credentials.java:129)
... 5 more


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