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

Till Rohrmann updated FLINK-22072:
----------------------------------
    Description: 
The ResourceManager currently can throw 2 different exceptions if not enough 
slots are available:
UnfulfillableSlotRequestException, if a slot could not be acquired, and no TM 
in the cluster could even theoretically provide it (due to the resource 
profiles not matching)
NoResourceAvailableException, if a slot could not be acquired, because none are 
free or a task executor, that could theoretically provide it, could not be 
allocated

Despite being fairly similar in terms of semantics, hierarchy wise these are 
completely separate.

{code}
UnfulfillableSlotRequestException < ResourceManagerException < FlinkException
NoResourceAvailableException < JobException
{code}



  was:
The ResourceManager currently can throw 2 different exceptions if not enough 
slots are available:
UnfulfillableSlotRequestException, if a slot could not be acquired, and no TM 
in the cluster could even theoretically provide it (due to the resource 
profiles not matching)
NoResourceAvailableException, if a slot could be acquired, because none are 
free or a task executor, that could theoretically provide it, could not be 
allocated

Despite being fairly similar in terms of semantics, hierarchy wise these are 
completely separate.

{code}
UnfulfillableSlotRequestException < ResourceManagerException < FlinkException
NoResourceAvailableException < JobException
{code}




> Rethink UnfulfillableSlotRequestException class hierarchy
> ---------------------------------------------------------
>
>                 Key: FLINK-22072
>                 URL: https://issues.apache.org/jira/browse/FLINK-22072
>             Project: Flink
>          Issue Type: Technical Debt
>          Components: Runtime / Coordination
>            Reporter: Chesnay Schepler
>            Priority: Minor
>              Labels: auto-deprioritized-major
>
> The ResourceManager currently can throw 2 different exceptions if not enough 
> slots are available:
> UnfulfillableSlotRequestException, if a slot could not be acquired, and no TM 
> in the cluster could even theoretically provide it (due to the resource 
> profiles not matching)
> NoResourceAvailableException, if a slot could not be acquired, because none 
> are free or a task executor, that could theoretically provide it, could not 
> be allocated
> Despite being fairly similar in terms of semantics, hierarchy wise these are 
> completely separate.
> {code}
> UnfulfillableSlotRequestException < ResourceManagerException < FlinkException
> NoResourceAvailableException < JobException
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to