Reply
Highlighted
New Contributor
Posts: 4
Registered: ‎03-10-2017

Failed Map Attempt task executing on same host

[ Edited ]

Hi Everyone, 

 

1) One of the map attempt task of very critical MR job (which runs every day)  got failed four times -- out of 4 times first attempt got failed  on one host(host120.xxxx.xxxx.xxx) after 2hours 4 min.  but 2nd , 3rd and 4th attempt  were  failed on the same host(host203.xxxx.xxxx.xxx) . The execution time gap among of these 3 attempts like 3 sec.

 

host203.xxxx.xxxx.xxx having some build issues so 2nd time got failed but ideally 3rd  attempt should be triggered in a different host rather than on same host.

 

Logs (2nd attempt)

WARN [main] org.apache.hadoop.mapred.YarnChild: Exception running child : java.lang.RuntimeException: java.io.IOException: WritableName can't load class:

Caused by: java.io.IOException: WritableName can't load class: at org.apache.hadoop.io.WritableName.getClass(WritableName.java:77) at org.apache.hadoop.io.SequenceFile$Reader.getValueClass(SequenceFile.java:2029)

 

Please share your  suggestions to fix this issue as this is very critical job. 

 

2 ) Is there any way set the Map reducer configuration  properties from CMD level rather than config files in  Cloudera  or code level or while submitting job  .If so what is the command to set . Kindly share those details

New Contributor
Posts: 2
Registered: ‎10-02-2017

Re: Failed Map Attempt task executing on same host

  1. Hi. Can show me your code what are you trying to do so that I can try to help you out
  2. Yes, you can change YARN configuration from Cloudera,
    1. Follow this path: YARN -> CONFIGURATION -> search any property you want to change and make change

 

Announcements