hadoop-mapreduce-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] (MAPREDUCE-5867) Possible NPE in KillAMPreemptionPolicy related to ProportionalCapacityPreemptionPolicy
Date Wed, 30 Apr 2014 13:23:25 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-5867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13985482#comment-13985482

Devaraj K commented on MAPREDUCE-5867:

2. As of now, there are no test classes available for testing the different AM Preemption
 May be creating a set of test cases for that feature can be tracked with another Jira. Pls

Can you add a new test class for writing test cases as part of this Jira itself, may not be
needed to handle as part of another Jira.

> Possible NPE in KillAMPreemptionPolicy related to ProportionalCapacityPreemptionPolicy
> --------------------------------------------------------------------------------------
>                 Key: MAPREDUCE-5867
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5867
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 2.3.0
>            Reporter: Sunil G
>            Assignee: Sunil G
>         Attachments: MapReduce-5867.2.patch, Yarn-1980.1.patch
> I configured KillAMPreemptionPolicy for My Application Master and tried to check preemption
of queues.
> In one scenario I have seen below NPE in my AM
> 014-04-24 15:11:08,860 ERROR [RMCommunicator Allocator] org.apache.hadoop.mapreduce.v2.app.rm.RMContainerAllocator:
> java.lang.NullPointerException
> 	at org.apache.hadoop.mapreduce.v2.app.rm.preemption.KillAMPreemptionPolicy.preempt(KillAMPreemptionPolicy.java:57)
> 	at org.apache.hadoop.mapreduce.v2.app.rm.RMContainerAllocator.getResources(RMContainerAllocator.java:662)
> 	at org.apache.hadoop.mapreduce.v2.app.rm.RMContainerAllocator.heartbeat(RMContainerAllocator.java:246)
> 	at org.apache.hadoop.mapreduce.v2.app.rm.RMCommunicator$1.run(RMCommunicator.java:267)
> 	at java.lang.Thread.run(Thread.java:662)
> I was using 2.2.0 and merged MAPREDUCE-5189 to see how AM preemption works.

This message was sent by Atlassian JIRA

View raw message