hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mahadev konar (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAPREDUCE-3225) Killing an unkown job throws NPE.
Date Thu, 20 Oct 2011 05:02:10 GMT

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

Mahadev konar updated MAPREDUCE-3225:
-------------------------------------

         Priority: Minor  (was: Major)
    Fix Version/s:     (was: 0.23.0)
         Assignee:     (was: Mahadev konar)

This happens when the job history is not setup. He is the trace:

{code}

2011-10-19 21:52:30,556 WARN  mapred.ClientServiceDelegate (ClientServiceDelegate.java:checkAndGetHSProxy(234))
- Job History Server is not configured.
Exception in thread "main" RemoteTrace: 
java.lang.NullPointerException
        at org.apache.hadoop.yarn.server.resourcemanager.ClientRMService.forceKillApplication(ClientRMService.java:253)
        at org.apache.hadoop.yarn.api.impl.pb.service.ClientRMProtocolPBServiceImpl.forceKillApplication(ClientRMProtocolPBServiceImpl.java:86)
        at org.apache.hadoop.yarn.proto.ClientRMProtocol$ClientRMProtocolService$2.callBlockingMethod(ClientRMProtocol.java:167)
        at org.apache.hadoop.yarn.ipc.ProtoOverHadoopRpcEngine$Server.call(ProtoOverHadoopRpcEngine.java:343)
        at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1486)
        at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1482)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:396)
        at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1152)
        at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1480)
 at Local Trace: 
        org.apache.hadoop.yarn.exceptions.impl.pb.YarnRemoteExceptionPBImpl: 
        at org.apache.hadoop.yarn.ipc.ProtoOverHadoopRpcEngine$Invoker.invoke(ProtoOverHadoopRpcEngine.java:151)
        at $Proxy6.forceKillApplication(Unknown Source)
        at org.apache.hadoop.yarn.api.impl.pb.client.ClientRMProtocolPBClientImpl.forceKillApplication(ClientRMProtocolPBClientImpl.java:94)
        at org.apache.hadoop.mapred.ResourceMgrDelegate.killApplication(ResourceMgrDelegate.java:309)
        at org.apache.hadoop.mapred.YARNRunner.killJob(YARNRunner.java:449)
        at org.apache.hadoop.mapreduce.Job.killJob(Job.java:591)
        at org.apache.hadoop.mapreduce.tools.CLI.run(CLI.java:259)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:69)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:83)
{code}

                
> Killing an unkown job throws NPE.
> ---------------------------------
>
>                 Key: MAPREDUCE-3225
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3225
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.0
>            Reporter: Mahadev konar
>            Priority: Minor
>
> On a job -kill of an unkown job, the code currently throws a NPE. Stack trace on the
next comment.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message