diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/Coprocessor.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/Coprocessor.java index 422e06461ee..c0d9b603a8a 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/Coprocessor.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/Coprocessor.java @@ -96,7 +96,9 @@ public interface Coprocessor { default void stop(CoprocessorEnvironment env) throws IOException {} /** - * Coprocessor endpoints providing protobuf services should implement this interface. + * Coprocessor endpoints providing protobuf services should override this method. + * @return Iterable of {@link Service}s or empty collection. Implementations should never + * return null. */ default Iterable getServices() { return Collections.EMPTY_SET;