You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Bikas Saha (JIRA)" <ji...@apache.org> on 2014/07/25 23:28:40 UTC

[jira] [Comment Edited] (TEZ-1058) Replace user land interfaces with abstract classes

    [ https://issues.apache.org/jira/browse/TEZ-1058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14065849#comment-14065849 ] 

Bikas Saha edited comment on TEZ-1058 at 7/25/14 9:28 PM:
----------------------------------------------------------

Here are the ones we need to fix with intended fix

tez-api/src/main/java/org/apache/tez/runtime/api/MemoryUpdateCallback.java:public interface MemoryUpdateCallback { - make abstract class
tez-api/src/main/java/org/apache/tez/runtime/api/InputReadyCallback.java:public interface InputReadyCallback { -  remove via TEZ-866
tez-api/src/main/java/org/apache/tez/runtime/api/TezRootInputInitializer.java:public interface TezRootInputInitializer { - make abstract class
tez-api/src/main/java/org/apache/tez/runtime/common/resources/InitialMemoryAllocator.java:public interface InitialMemoryAllocator extends Configurable { - move out of api
tez-api/src/main/java/org/apache/tez/runtime/common/objectregistry/ObjectRegistry.java:public interface ObjectRegistry { - make static class



was (Author: bikassaha):
Here are the ones we need to fix with intended fix

tez-api/src/main/java/org/apache/tez/runtime/api/MemoryUpdateCallback.java:public interface MemoryUpdateCallback { - remove via TEZ-866
tez-api/src/main/java/org/apache/tez/runtime/api/InputReadyCallback.java:public interface InputReadyCallback { - make abstract class
tez-api/src/main/java/org/apache/tez/runtime/api/TezRootInputInitializer.java:public interface TezRootInputInitializer { - make abstract class
tez-api/src/main/java/org/apache/tez/runtime/common/resources/InitialMemoryAllocator.java:public interface InitialMemoryAllocator extends Configurable { - move out of api
tez-api/src/main/java/org/apache/tez/runtime/common/objectregistry/ObjectRegistry.java:public interface ObjectRegistry { - make static class


> Replace user land interfaces with abstract classes
> --------------------------------------------------
>
>                 Key: TEZ-1058
>                 URL: https://issues.apache.org/jira/browse/TEZ-1058
>             Project: Apache Tez
>          Issue Type: Sub-task
>            Reporter: Bikas Saha
>            Assignee: Bikas Saha
>            Priority: Blocker
>
> Similar to Input/Processor/Output, there are other interfaces that users may implement. These should move to abstract classes for better compatibility management and sharing common basic functionality in the base abstract class.



--
This message was sent by Atlassian JIRA
(v6.2#6252)