hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hitesh Shah (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1768) yarn kill non-existent application is too verbose
Date Thu, 27 Feb 2014 22:31:24 GMT

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

Hitesh Shah commented on YARN-1768:
-----------------------------------

hadoop-yarn-2.2.0/bin/yarn application -kill application_1393537192691_0006
WARNING: org.apache.hadoop.metrics.jvm.EventCounter is deprecated. Please use org.apache.hadoop.log.metrics.EventCounter
in all the log4j.properties files.
14/02/27 14:29:32:822 WARN util.NativeCodeLoader: Unable to load native-hadoop library for
your platform... using builtin-java classes where applicable
14/02/27 14:29:33:281 INFO client.RMProxy: Connecting to ResourceManager at localhost/127.0.0.1:8020
Exception in thread "main" org.apache.hadoop.yarn.exceptions.ApplicationNotFoundException:
Application with id 'application_1393537192691_0006' doesn't exist in RM.
	at org.apache.hadoop.yarn.server.resourcemanager.ClientRMService.getApplicationReport(ClientRMService.java:247)
	at org.apache.hadoop.yarn.api.impl.pb.service.ApplicationClientProtocolPBServiceImpl.getApplicationReport(ApplicationClientProtocolPBServiceImpl.java:120)
	at org.apache.hadoop.yarn.proto.ApplicationClientProtocol$ApplicationClientProtocolService$2.callBlockingMethod(ApplicationClientProtocol.java:241)
	at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:585)
	at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:928)
	at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2048)
	at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2044)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:394)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1491)
	at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2042)


> yarn kill non-existent application is too verbose
> -------------------------------------------------
>
>                 Key: YARN-1768
>                 URL: https://issues.apache.org/jira/browse/YARN-1768
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Hitesh Shah
>
> Instead of catching ApplicationNotFound and logging a simple app not found message, the
whole stack trace is logged.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message