You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Till Rohrmann (JIRA)" <ji...@apache.org> on 2015/02/12 18:43:11 UTC
[jira] [Closed] (FLINK-1533) NullPointerException in
SlotSharingGroupAssignment.addSharedSlotAndAllocateSubSlot
[ https://issues.apache.org/jira/browse/FLINK-1533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Till Rohrmann closed FLINK-1533.
--------------------------------
Resolution: Fixed
Fixed in bc1432a2f605f97a27b0075c9f54b46c74e42d56
> NullPointerException in SlotSharingGroupAssignment.addSharedSlotAndAllocateSubSlot
> ----------------------------------------------------------------------------------
>
> Key: FLINK-1533
> URL: https://issues.apache.org/jira/browse/FLINK-1533
> Project: Flink
> Issue Type: Bug
> Reporter: Till Rohrmann
>
> The scheduler can fail with a NullPointerException if it is not possible to allocate a {{SharedSlot}} from an {{Instance}}. In the method {{Scheduler.getFreeSubSlotForTask}} the allocated {{SharedSlot}} is not checked that it is not null. This can cause a program to fail if there is a race condition in scheduling different tasks on the same instance.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)