• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Need Help in running Mapreduce code

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 2407
36
Scala Python Oracle Postgres Database Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic