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

Jian He commented on YARN-6903:
-------------------------------

Upload a patch with some initial offline reviews from [~billie.rinaldi]. thanks 
[~billie.rinaldi] !

All the new code are put into a new package called 
"org.apache.hadoop.yarn.service",  below are the main classes:
1. *ServiceMaster* -  The usual AppMaster to start all the services
2. *ServiceClient* - The client to interact with ServiceMaster
3. *ServiceCLI*- the CLI for interacting with yarn-native-services.
4. *ServiceScheduler* - A CompositeService that mostly implements the 
AMRMClient and NMClient listener  
5. *Component*- manages a component’s lifecycle
6. *ComponentInstance* - manages a component instances’s lifecycle
7. *ClientAMService* - serves client requests such as flex components and get 
status
8. *ServiceMonitor* - Does readiness checks and dependency start order 
triggering. 
9.*ContainerFailureTracker* - tracks the node failures and does blacklist 
accordingly
10. *TestYarnNativeServices* - a fully end-to-end UT using MiniYarnCluster and 
an in-jvm ZK


> Yarn-native-service framework core rewrite
> ------------------------------------------
>
>                 Key: YARN-6903
>                 URL: https://issues.apache.org/jira/browse/YARN-6903
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Jian He
>            Assignee: Jian He
>         Attachments: YARN-6903.yarn-native-service.01.patch
>
>
> There are some new features like rich placement scheduling, container auto 
> restart, container upgrade in YARN core that can be taken advantage by the 
> native-service framework. Besides, there are quite a lot legacy code which 
> are no longer required. 
> So we decide to rewrite the core part to have a leaner codebase and make use 
> of various advanced features in YARN. 
> And the new code design will be in align with what we have designed for the 
> service API YARN-4793



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
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