flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-1533) NullPointerException in SlotSharingGroupAssignment.addSharedSlotAndAllocateSubSlot
Date Thu, 12 Feb 2015 14:38:11 GMT

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

ASF GitHub Bot commented on FLINK-1533:

Github user StephanEwen commented on the pull request:

    Good catch.
    +1 to merge

> 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

View raw message