FerFlovi commented on code in PR #2666:
URL: https://github.com/apache/accumulo/pull/2666#discussion_r862414940


##########
server/monitor/src/main/java/org/apache/accumulo/monitor/rest/replication/ReplicationResource.java:
##########
@@ -149,6 +149,12 @@ public List<ReplicationInformation> 
getReplicationInformation()
       });
     }
 
+    //Ensure replication table is online before attempting to create 
BatchScanner
+    if (!ReplicationTable.isOnline(client)) {
+        log.error("Replication table is offline");

Review Comment:
   ```suggestion
       //Ensure replication table is online before attempting to create 
BatchScanner
       if (!ReplicationTable.isOnline(client)) {
           log.error("Replication table is offline");
   ```



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to