[jira] [Assigned] (MYRIAD-156) NullPointerException from "Error in handling event type NODE_RESOURCE_UPDATE to the scheduler"

2016-03-13 Thread DarinJ (JIRA)

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

DarinJ reassigned MYRIAD-156:
-

Assignee: DarinJ  (was: Swapnil Daingade)

> NullPointerException from "Error in handling event type NODE_RESOURCE_UPDATE 
> to the scheduler"
> --
>
> Key: MYRIAD-156
> URL: https://issues.apache.org/jira/browse/MYRIAD-156
> Project: Myriad
>  Issue Type: Bug
>Reporter: Sarjeet Singh
>Assignee: DarinJ
>
> The NPE happens where there is a node in cluster becomes unhealthy, and 
> scheduler removes them from internal data structure. However, when the node 
> heartbeats and scheduler tries to search for this node, and try to operate on 
> it, it gets nullPointerException there. Here is the code snippet where this 
> is causing NPE: 
> SchedulerNode node = getSchedulerNode(nm.getNodeID());
> the node object is Null causing the Null pointer exception.
> Here is the RM log for caused exception:
> 15/10/06 09:18:09 INFO handlers.ResourceOffersEventHandler: Offer not
> sufficient for task with, cpu: 4.4, memory: 5504.0, spindles: 4.0, ports: 996
> 15/10/06 09:18:11 FATAL resourcemanager.ResourceManager: Error in handling
> event type NODE_RESOURCE_UPDATE to the scheduler
> java.lang.NullPointerException
> at
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.AbstractYarnScheduler.updateNodeResource(AbstractYarnScheduler.java:548)
> at
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler.updateNodeResource(FairScheduler.java:1712)
> at
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler.handle(FairScheduler.java:1293)
> at
> com.ebay.myriad.scheduler.yarn.MyriadFairScheduler.handle(MyriadFairScheduler.java:64)
> at
> com.ebay.myriad.scheduler.yarn.MyriadFairScheduler.handle(MyriadFairScheduler.java:17)
> at
> org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$SchedulerEventDispatcher$EventProcessor.run(ResourceManager.java:693)
> at java.lang.Thread.run(Thread.java:745)
> 15/10/06 09:18:11 INFO resourcemanager.ResourceManager: Exiting, bbye..



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (MYRIAD-156) NullPointerException from "Error in handling event type NODE_RESOURCE_UPDATE to the scheduler"

2015-11-02 Thread Swapnil Daingade (JIRA)

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

Swapnil Daingade reassigned MYRIAD-156:
---

Assignee: Swapnil Daingade

> NullPointerException from "Error in handling event type NODE_RESOURCE_UPDATE 
> to the scheduler"
> --
>
> Key: MYRIAD-156
> URL: https://issues.apache.org/jira/browse/MYRIAD-156
> Project: Myriad
>  Issue Type: Bug
>Reporter: Sarjeet Singh
>Assignee: Swapnil Daingade
>
> The NPE happens where there is a node in cluster becomes unhealthy, and 
> scheduler removes them from internal data structure. However, when the node 
> heartbeats and scheduler tries to search for this node, and try to operate on 
> it, it gets nullPointerException there. Here is the code snippet where this 
> is causing NPE: 
> SchedulerNode node = getSchedulerNode(nm.getNodeID());
> the node object is Null causing the Null pointer exception.
> Here is the RM log for caused exception:
> 15/10/06 09:18:09 INFO handlers.ResourceOffersEventHandler: Offer not
> sufficient for task with, cpu: 4.4, memory: 5504.0, spindles: 4.0, ports: 996
> 15/10/06 09:18:11 FATAL resourcemanager.ResourceManager: Error in handling
> event type NODE_RESOURCE_UPDATE to the scheduler
> java.lang.NullPointerException
> at
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.AbstractYarnScheduler.updateNodeResource(AbstractYarnScheduler.java:548)
> at
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler.updateNodeResource(FairScheduler.java:1712)
> at
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler.handle(FairScheduler.java:1293)
> at
> com.ebay.myriad.scheduler.yarn.MyriadFairScheduler.handle(MyriadFairScheduler.java:64)
> at
> com.ebay.myriad.scheduler.yarn.MyriadFairScheduler.handle(MyriadFairScheduler.java:17)
> at
> org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$SchedulerEventDispatcher$EventProcessor.run(ResourceManager.java:693)
> at java.lang.Thread.run(Thread.java:745)
> 15/10/06 09:18:11 INFO resourcemanager.ResourceManager: Exiting, bbye..



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)