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 "Íñigo Goiri (Jira)" <ji...@apache.org> on 2022/07/29 15:26:00 UTC

[jira] [Commented] (YARN-11180) Refactor some code of getNewApplication, submitApplication, forceKillApplication, getApplicationReport

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

Íñigo Goiri commented on YARN-11180:
------------------------------------

Thanks [~slfan1989] for the PR.
Merged PR 4618 to trunk.

> Refactor some code of getNewApplication, submitApplication, forceKillApplication, getApplicationReport
> ------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-11180
>                 URL: https://issues.apache.org/jira/browse/YARN-11180
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: federation
>            Reporter: fanshilun
>            Assignee: fanshilun
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 3.4.0
>
>          Time Spent: 5.5h
>  Remaining Estimate: 0h
>
> *1) FederationClientInterceptor#getNewApplication*
> 1.Increase request is empty check
> 2.Use RouterServerUtil.logAndThrowException instead of throw YarnRuntime Exception.
> *2) FederationClientInterceptor#submitApplication/forceKillApplication/getApplicationReport/getApplications*
> 1.Use RouterServerUtil.logAndThrowException instead of throw YarnRuntime Exception.
> 2.Use string.format instead of +
> 3.Fix Code Style.
> *3) FederationClientInterceptor#getClusterMetrics*
> 1.Increase request is empty check
> *4) FederationClientInterceptor#getClusterNodes/getQueueUserAcls/listReservations/getNodeToLabels/getLabelsToNodes/getClusterNodeLabels*
> 1.Use RouterServerUtil.logAndThrowException instead of throw YarnRuntime Exception.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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