You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Bibin A Chundatt (JIRA)" <ji...@apache.org> on 2018/08/17 05:59:00 UTC

[jira] [Commented] (YARN-8671) Container Launch failed stating "TaskAttempt killed because it ran on unusable node , Container released on a *lost* node"

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

Bibin A Chundatt commented on YARN-8671:
----------------------------------------


Currently {{OpportunisticContainerAllocator}} choose least loaded nodes and based on time stamp of node_update event .
To reduce Node lost scenarios, we could skip nodes which havnt received 2/3 heartbeat.

Async Capacity scheduler has similar implementation.YARN-7790

Thoughts ?



> Container Launch failed stating "TaskAttempt killed because it ran on unusable node , Container released on a *lost* node"
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-8671
>                 URL: https://issues.apache.org/jira/browse/YARN-8671
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: yarn
>    Affects Versions: 3.1.1
>            Reporter: Akshay Agarwal
>            Priority: Major
>
> Pre-requisites:
> {code:java}
> 1. Install HA cluster.
> 2.Set yarn.nodemanager.opportunistic-containers-max-queue-length=(positive integer value)[NodeManager->yarnsite.xml]
> 3. Set yarn.resourcemanager.opportunistic-container-allocation.enabled= true[ResourceManager->yarnsite.xml]
> {code}
>  
> Steps to reproduce:
> {code:java}
> 1.Keep All NodeManagers Up
> 2.Stop 2 Nodemanagers and immediately follow step 3.
> 3.Submit a job with -Dmapreduce.job.num-opportunistic-maps-percent="100" and run with 50 mappers  
> {code}
> Expected Result:
> {code:java}
> Job should be successfull {code}
> Actual Result:
> {code:java}
> Job is getting successfull but some containers are failing stating 
> TaskAttempt killed because it ran on unusable node , Container released on a *lost* node"
> {code}
>  
> Log Details:
> {code:java}
> TaskAttempt killed because it ran on unusable node Container released on a *lost* node Container launch failed for container_1534149133116_0019_01_000006 : java.net.ConnectException: Call From hostname/IP to hostname:portNumber failed on connection exception: java.net.ConnectException: 
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org