hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Virajith Jalaparti <virajit...@gmail.com>
Subject Problem with using -libjars
Date Sat, 17 Sep 2011 06:36:26 GMT
Hi,

I was trying to run the DumpWikipediaToPlainText job of the Cloud9 
library for Hadoop 
(http://www.umiacs.umd.edu/~jimmylin/Cloud9/docs/content/wikipedia.html). It 
requires two extra libraries which are .jar files - 
bliki-core-3.0.16.jar and commons-lang-2.6.jar (available from 
http://code.google.com/p/scalaris/). On running:
"bin/hadoop jar  cloud9-1.2.4.jar 
edu.umd.cloud9.collection.wikipedia.DumpWikipediaToPlainText -libjars 
bliki-core-3.0.16.jar,commons-lang-2.6.jar -input /wc_input/ -output 
/wikidata_text",
I get the following error:

11/09/16 23:55:31 INFO mapred.JobClient: Cleaning up the staging area 
hdfs://node25-lan0:9000/hadoop/mapred/,/mnt/local/mapred/mapred/staging/username/.staging/job_201109162342_0002
Exception in thread "main" java.io.FileNotFoundException: File does not 
exist: 
/mnt/local/mapred/mapred/staging/username/.staging/job_201109162342_0002/libjars/bliki-core-3.0.16.jar
         at 
org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:546)
         at 
org.apache.hadoop.filecache.DistributedCache.getFileStatus(DistributedCache.java:185)
         at 
org.apache.hadoop.filecache.TrackerDistributedCacheManager.determineTimestamps(TrackerDistributedCacheManager.java:804)
         at 
org.apache.hadoop.mapred.JobClient.copyAndConfigureFiles(JobClient.java:746)
         at 
org.apache.hadoop.mapred.JobClient.copyAndConfigureFiles(JobClient.java:637)
         at 
org.apache.hadoop.mapred.JobClient.access$300(JobClient.java:170)
         at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:848)
         at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:833)
         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:1115)
         at 
org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:833)
         at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:807)
         at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1242)
         at 
edu.umd.cloud9.collection.wikipedia.DumpWikipediaToPlainText.run(DumpWikipediaToPlainText.java:140)
         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
         at 
edu.umd.cloud9.collection.wikipedia.DumpWikipediaToPlainText.main(DumpWikipediaToPlainText.java:148)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.hadoop.util.RunJar.main(RunJar.java:186)


Could someone please help me solve this problem? I am using the cloudera 
distribution of Hadoop-0.20.2.

Thanks,
Virajith


Mime
View raw message