hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charan Hebri (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-8372) ApplicationAttemptNotFoundException should be handled correctly by Distributed Shell App Master
Date Mon, 28 May 2018 14:40:00 GMT

     [ https://issues.apache.org/jira/browse/YARN-8372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Charan Hebri updated YARN-8372:
-------------------------------
    Description: 
{noformat}
try {
  response = client.allocate(progress);
} catch (ApplicationAttemptNotFoundException e) {
handler.onShutdownRequest();
LOG.info("Shutdown requested. Stopping callback.");
return;{noformat}
is a code snippet from AMRMClientAsyncImpl. The corresponding onShutdownRequest call for
the Distributed Shell App master is,
{noformat}
@Override
public void onShutdownRequest() {
  done = true;
}{noformat}
Due to this, the current behavior is that whenever an application attempt fails due to a NM
restart (where the DS AM is running), an 

  was:
{noformat}
try {
  response = client.allocate(progress);
} catch (ApplicationAttemptNotFoundException e) {
  handler.onShutdownRequest();
  LOG.info("Shutdown requested. Stopping callback.");
  return;{noformat}


> ApplicationAttemptNotFoundException should be handled correctly by Distributed Shell
App Master
> -----------------------------------------------------------------------------------------------
>
>                 Key: YARN-8372
>                 URL: https://issues.apache.org/jira/browse/YARN-8372
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: distributed-shell
>            Reporter: Charan Hebri
>            Priority: Major
>
> {noformat}
> try {
>   response = client.allocate(progress);
> } catch (ApplicationAttemptNotFoundException e) {
> handler.onShutdownRequest();
> LOG.info("Shutdown requested. Stopping callback.");
> return;{noformat}
> is a code snippet from AMRMClientAsyncImpl. The corresponding onShutdownRequest call
for the Distributed Shell App master is,
> {noformat}
> @Override
> public void onShutdownRequest() {
>   done = true;
> }{noformat}
> Due to this, the current behavior is that whenever an application attempt fails due to
a NM restart (where the DS AM is running), an 



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

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