Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need Help in running Mapreduce code

 
J JasonJ
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have written a set of codes that are supposed to do map reduce Job. But when i run them i get some errors which am not able to resolve please do help me to run this program successfully.

Errors :

1. Exception in thread "main" org.apache.hadoop.mapred.FileAlreadyExistsException

2. The mapping part is running 100% but the reducer is not running.

Thanks in advance,
JasonJ.

l.png
[Thumbnail for l.png]
Error 1
L1.png
[Thumbnail for L1.png]
Error2
 
chris webster
Bartender
Posts: 2407
33
Linux Oracle Postgres Database Python Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you read the error message, it tells you that your output directory already exists.

Hadoop expects to create the output directory, so try removing the directory if it exists before running the job.
 
J JasonJ
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Chris,

I have deleted the directory folder, but still it throws the error.

Also now finding Error with TryParseInt()


Thanks,
JasonJ
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic