hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Devaraj K (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-107) ClientRMService.forceKillApplication() should handle the non-RUNNING applications properly
Date Thu, 25 Jul 2013 07:09:49 GMT

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

Devaraj K commented on YARN-107:
--------------------------------

The patch is fine for absent applications in RM. But when we issue kill command for non-running
applications, it will simply give a message saying "Killing application <app-id>".

{code:xml}
host-10-18-40-24:/home/apache/install/hadoop-3.0.0-SNAPSHOT/bin # ./yarn application -list
Total Applications:1
                Application-Id      Application-Name        Application-Type          User
          Queue                   
		State             Final-State       Progress                         Tracking-URL
application_1374754213039_0001            word count               MAPREDUCE          root
              a                
	FINISHED               SUCCEEDED           100%  host-10-18-40-24:19888/jobhistory/job/job_1374754213039_0001
host-10-18-40-24:/home/apache/install/hadoop-3.0.0-SNAPSHOT/bin # ./yarn application -kill
application_1374754213039_0001
Killing application application_1374754213039_0001
host-10-18-40-24:/home/apache/install/hadoop-3.0.0-SNAPSHOT/bin #
{code}

I think as part of this JIRA, we need to handle the non-running(FINISHED/FAILED/KILLED) applications
kill also.
                
> ClientRMService.forceKillApplication() should handle the non-RUNNING applications properly
> ------------------------------------------------------------------------------------------
>
>                 Key: YARN-107
>                 URL: https://issues.apache.org/jira/browse/YARN-107
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 2.0.0-alpha
>            Reporter: Devaraj K
>            Assignee: Xuan Gong
>         Attachments: YARN-107.1.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message