hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arun Suresh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5090) Add End-to-End test-cases for DistributedScheduling using MiniYarnCluster
Date Tue, 17 May 2016 18:56:12 GMT

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

Arun Suresh commented on YARN-5090:
-----------------------------------

Thanks for the review [~leftnoteasy]

bq. instead of putting e2e tests to yarn-client project, could we put the tests to TestDistributedSchedulingService
Actually, the reason I did that was : *TestDistributedSchedulingService* was written to just
test the "Service" that runs in RM (the RPC stuff mostly.. like whether it can intercept ApplicationMasterProtocol
messages as well as DistributedSchedulingProtocol messages)... and *TestDistributedScheduling*
is more from the perspective of a end-user yarn client.. also, it extends *TestAMRMProxy*
since it reuses some of the basic framework, so it made sense to keep it in the same package..

I can change it if you really feel strongly about it... But I would prefer to keep it as it
is.

bq. the only one may need to be more careful is: TestMiniYarnClusterNodeUtilization. 
Yup... ive tested that multiple times locally.. I have never seen it fail :)

I will attach the output of mvn test I ran locally with the failed testcases..

> Add End-to-End test-cases for DistributedScheduling using MiniYarnCluster 
> --------------------------------------------------------------------------
>
>                 Key: YARN-5090
>                 URL: https://issues.apache.org/jira/browse/YARN-5090
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Arun Suresh
>            Assignee: Arun Suresh
>         Attachments: YARN-5090.001.patch, YARN-5090.002.patch, YARN-5090.002.patch, mvn_test.txt
>
>
> Validates End2End Distributed Scheduling flow which includes
> # the AM specifying *OPPORTUNISTIC* containers in its resource requests (YARN-2882, YARN-4335)
> # the Request intercepted by the {{AMRMProxyService}} running on the NM and handled by
the {{LocalScheduler}} RequestInterceptor (YARN-2884, YARN-2885)
> # use of the {{DistributedSchedulingProtocol}} to talk to the {{DistributedSchedulingService}}
running on the RM to obtain list of lightly loaded Nodes (YARN-2885, YARN-4412)
> # use of the {{OpportunisticContainerAllocator}} to create Container tokens which are
returned to the AM (YARN-2885)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message