The common reasons I have failures with streaming jobs are 1) the script exits with a non zero exit status, which is considered task failure by the task tracker 2) at least in 18 and 19, if the script writes to stdout before reading the first input record, the streaming code will NPE because all readers are not fully setup 3) an incorrect expectation on the way the input records are formatted 4) an issue with the run time environment
On Sun, Nov 15, 2009 at 1:18 PM, Siddu <[email protected]> wrote: > On Sun, Nov 15, 2009 at 1:03 AM, Mike Kendall <[email protected]> wrote: > > > for some reason i never tried lowering my number of map and reduce tasks > > until now. looks like i need to reconfigure my cluster since it runs > fine > > with only 3 map tasks and 3 reduce tasks. > > > > :X > > > > On Sat, Nov 14, 2009 at 11:22 AM, Mike Kendall <[email protected]> > wrote: > > > > > so if i run my task as: > > > > > > cat input | ./map.py | ./sum.py > output > > > > > > it works just fine. however, running it on my cluster as: > > > > > > hadoop jar /usr/local/hadoop/contrib/streaming/hadoop-*-streaming.jar > > -file > > > map.py -mapper map.py -file cat.py -reducer cat.py -input input -output > > > output > > > > > > it fails. i'm really confused as to why this script would fail while > my > > > > If fail is followed by any error . please paste it here ! > > > > > others that were written with the same methodology would work. > > > > > > is there a "common reasons map tasks fail" list somewhere? any ideas? > > > > > > > > > > -- > Regards, > ~Sid~ > I have never met a man so ignorant that i couldn't learn something from him > -- Pro Hadoop, a book to guide you from beginner to hadoop mastery, http://www.amazon.com/dp/1430219424?tag=jewlerymall www.prohadoopbook.com a community for Hadoop Professionals
