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

Billie Rinaldi edited comment on YARN-7941 at 4/9/18 5:35 PM:
--------------------------------------------------------------

I think I see the problem. The dependency readiness evaluation is checking 
whether the number of ready containers is less than the number of desired 
containers. But the number of desired containers is not being set until a flex 
event is issued for the component, so we are checking that the number of ready 
containers is not less than 0. I think we can fix this by initializing the 
number of desired containers in the Component constructor.


was (Author: billie.rinaldi):
I think I see the problem. The dependency readiness evaluation is checking 
whether the number of ready containers equals the number of desired containers. 
But the number of desired containers is not being set until a flex event is 
issued for the component, so we are checking that the number of ready 
containers is not less than 0. I think we can fix this by initializing the 
number of desired containers in the Component constructor.

> Transitive dependencies for component are not resolved 
> -------------------------------------------------------
>
>                 Key: YARN-7941
>                 URL: https://issues.apache.org/jira/browse/YARN-7941
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Rohith Sharma K S
>            Priority: Major
>
> It is observed that transitive dependencies are not resolved as a result one 
> of the component is started earlier. 
> Ex : In HBase app, 
> master is independent component, 
> regionserver is depends on master.  
> hbaseclient depends on regionserver, 
> but I always see that HBaseClient is launched before regionserver.



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

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

Reply via email to