|
|
-
setMaxMapAttempts() isn't working
Keith Wiley 2010-11-05, 22:55
Has anyone else observed setMaxMapAttempts() not having any effect? I'm still seeing four attempts per mapper task.
________________________________________________________________________________ Keith Wiley [EMAIL PROTECTED] www.keithwiley.com
"It's a fine line between meticulous and obsessive-compulsive and a slippery rope between obsessive-compulsive and debilitatingly slow." -- Keith Wiley ________________________________________________________________________________
-
Re: setMaxMapAttempts() isn't working
Ted Yu 2010-11-05, 23:55
I checked cdh3b2. >From TaskInProgress: private void setMaxTaskAttempts() { if (isMapTask()) { this.maxTaskAttempts = conf.getMaxMapAttempts(); } else {
It should work. What hadoop version are you using ?
On Fri, Nov 5, 2010 at 3:55 PM, Keith Wiley <[EMAIL PROTECTED]> wrote:
> Has anyone else observed setMaxMapAttempts() not having any effect? I'm > still seeing four attempts per mapper task. > > > ________________________________________________________________________________ > Keith Wiley [EMAIL PROTECTED] > www.keithwiley.com > > "It's a fine line between meticulous and obsessive-compulsive and a > slippery > rope between obsessive-compulsive and debilitatingly slow." > -- Keith Wiley > > ________________________________________________________________________________ > >
-
Re: setMaxMapAttempts() isn't working
Keith Wiley 2010-12-02, 18:28
This still isn't working for me. My line is simply:
conf.setMaxMapAttempts(1);
I'm using 0.20.1+152 at the moment. Admittedly, I need to upgrade, but still, shouldn't this work?
On Nov 5, 2010, at 16:55 , Ted Yu wrote:
> I checked cdh3b2. > From TaskInProgress: > private void setMaxTaskAttempts() { > if (isMapTask()) { > this.maxTaskAttempts = conf.getMaxMapAttempts(); > } else { > > It should work. > What hadoop version are you using ? > > On Fri, Nov 5, 2010 at 3:55 PM, Keith Wiley <[EMAIL PROTECTED]> wrote: > >> Has anyone else observed setMaxMapAttempts() not having any effect? I'm >> still seeing four attempts per mapper task. ________________________________________________________________________________ Keith Wiley [EMAIL PROTECTED] www.keithwiley.com
"You can scratch an itch, but you can't itch a scratch. Furthermore, an itch can itch but a scratch can't scratch. Finally, a scratch can itch, but an itch can't scratch. All together this implies: He scratched the itch from the scratch that itched but would never itch the scratch from the itch that scratched." -- Keith Wiley ________________________________________________________________________________
|
|
All projects made searchable here are trademarks of the Apache Software Foundation.
Service operated by
Sematext