jatsakthi commented on a change in pull request #225: HBASE-22377 Provide API
to check the existence of a namespace which does not require ADMIN permissions
URL: https://github.com/apache/hbase/pull/225#discussion_r282182371
##########
File path:
hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterCoprocessorHost.java
##########
@@ -297,6 +297,24 @@ public void call(MasterObserver observer) throws
IOException {
});
}
+ public void preListNamespaces(final List<String> namespaces) throws
IOException {
+ execOperation(coprocEnvironments.isEmpty() ? null : new
MasterObserverOperation() {
+ @Override
+ public void call(MasterObserver oserver) throws IOException {
+ oserver.preListNamespaces(this, namespaces);
Review comment:
```suggestion
observer.preListNamespaces(this, namespaces);
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services