[ 
https://issues.apache.org/jira/browse/MAPREDUCE-2489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13038008#comment-13038008
 ] 

[email protected] commented on MAPREDUCE-2489:
----------------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/776/
-----------------------------------------------------------

Review request for hadoop-mapreduce.


Summary
-------

We saw an issue where a custom InputSplit was returning invalid hostnames 
(non-repeating) for the splits that were then causing the JobTracker to attempt 
to excessively resolve host names. This caused a major slowdown for the 
JobTracker. We should prevent invalid InputSplit hostnames from affecting 
everyone else.

I propose we implement some verification for the hostnames to try to ensure 
that we only do DNS lookups on valid hostnames (and fail otherwise). We could 
also fail the job after a certain number of failures in the resolve.

NOTE: This requires the changes in HADOOP-7314


This addresses bug MAPREDUCE-2489.
    https://issues.apache.org/jira/browse/MAPREDUCE-2489


Diffs
-----

  trunk/ivy.xml 1125074 
  trunk/ivy/libraries.properties 1125074 
  
trunk/src/contrib/mumak/src/java/org/apache/hadoop/mapred/SimulatorJobTracker.java
 1125074 
  trunk/src/java/org/apache/hadoop/mapred/JobInProgress.java 1125074 
  trunk/src/java/org/apache/hadoop/mapred/JobTracker.java 1125074 

Diff: https://reviews.apache.org/r/776/diff


Testing
-------


Thanks,

Jeffrey



> Jobsplits with random hostnames can make the queue unusable
> -----------------------------------------------------------
>
>                 Key: MAPREDUCE-2489
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2489
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>            Reporter: Jeffrey Naisbitt
>            Assignee: Jeffrey Naisbitt
>         Attachments: MAPREDUCE-2489-mapred.patch
>
>
> We saw an issue where a custom InputSplit was returning invalid hostnames for 
> the splits that were then causing the JobTracker to attempt to excessively 
> resolve host names.  This caused a major slowdown for the JobTracker.  We 
> should prevent invalid InputSplit hostnames from affecting everyone else.
> I propose we implement some verification for the hostnames to try to ensure 
> that we only do DNS lookups on valid hostnames (and fail otherwise).  We 
> could also fail the job after a certain number of failures in the resolve.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to