Skip to content

add a checking about yarn appIds'state using historyserver,when 'yarn.resourcemanager.max-completed-applications' too small #2625

@itbasketplayer

Description

@itbasketplayer

Is your feature request related to a problem? Please describe.
SHELL,SPARK,MR,HIVE tasks happend because they creates yarn applications!
when 'yarn.resourcemanager.max-completed-applications' is too small,for example 1000.
DS can't get the yarn appIds's state successfully

Describe the solution you'd like
add a checking about yarn appIds'state using historyserver,when 'yarn.resourcemanager.max-completed-applications' too small

Describe alternatives you've considered
HadoopUtils#getApplicationStatus add a query using historyserver restapi when the code not 200 using resourcemanager restapi

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions