Re: hadoop streaming using a java program as mapper

2012-05-02 Thread Robert Evans
Do you have the error message from running java? You can use myMapper.sh to help you debug what is happening and logging it. Stderr of myMapper.sh is logged and you can get to it. You can run shell commands link find, ls, and you can probably look at any error messages that java produced whil

Re: hadoop streaming using a java program as mapper

2012-05-01 Thread Boyu Zhang
Yes, I did, the myMapper.sh is executed, the problem is inside this myMapper.sh, it calls a java program named myJava, the myJava did not get executed on slaves, and I shipped myJava.class too. Thanks, Boyu On Wed, May 2, 2012 at 1:20 AM, 黄 山 wrote: > have you shipped myMapper.sh to each node?

Re: hadoop streaming using a java program as mapper

2012-05-01 Thread 黄 山
have you shipped myMapper.sh to each node? thuhuang...@gmail.com 在 2012-5-2,下午1:17, Boyu Zhang 写道: > Hi All, > > I am in a little bit strange situation, I am using Hadoop streaming to run > a bash shell program myMapper.sh, and in the myMapper.sh, it calls a java > program, then a R program,