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

Henry Saputra updated FLINK-1704:
---------------------------------
    Description: 
The org.apache.flink.runtime.yarn.AbstractFlinkYarnClient and 
org.apache.flink.client.AbstractFlinkYarnCluster are abstract but has not 
default implementation of the methods.

The classes are also used as variable type in Clifrontend which is kind of 
anti-pattern of an abstract class usages.

I would like to promote them to interface instead.

  was:
The org.apache.flink.runtime.yarn.AbstractFlinkYarnClient is abstract but has 
not default implementation of the methods.

It also used as variable type in Clifrontend#getClient which is kind of 
anti-patter of an abstract class usages.

I would like to promote this to an interface to make it clear that it is type.


> Change AbstractFlinkYarnClient and AbstractFlinkYarnCluster from abstract to 
> interface
> --------------------------------------------------------------------------------------
>
>                 Key: FLINK-1704
>                 URL: https://issues.apache.org/jira/browse/FLINK-1704
>             Project: Flink
>          Issue Type: Improvement
>            Reporter: Henry Saputra
>            Assignee: Henry Saputra
>            Priority: Minor
>
> The org.apache.flink.runtime.yarn.AbstractFlinkYarnClient and 
> org.apache.flink.client.AbstractFlinkYarnCluster are abstract but has not 
> default implementation of the methods.
> The classes are also used as variable type in Clifrontend which is kind of 
> anti-pattern of an abstract class usages.
> I would like to promote them to interface instead.



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

Reply via email to