diff --git a/server/manager/src/main/java/org/apache/accumulo/manager/TabletGroupWatcher.java b/server/manager/src/main/java/org/apache/accumulo/manager/TabletGroupWatcher.java index 4528abc33e4..da6d4a4f9ee 100644 --- a/server/manager/src/main/java/org/apache/accumulo/manager/TabletGroupWatcher.java +++ b/server/manager/src/main/java/org/apache/accumulo/manager/TabletGroupWatcher.java @@ -297,16 +297,16 @@ private TableMgmtStats manageTablets(Iterator iter, throws BadLocationStateException, TException, DistributedStoreException, WalMarkerException, IOException { + TableMgmtStats tableMgmtStats = new TableMgmtStats(); final boolean shuttingDownAllTabletServers = manager.serversToShutdown.equals(currentTServers.keySet()); if (shuttingDownAllTabletServers && !isFullScan) { // If we are shutting down all of the TabletServers, then don't process any events // from the EventCoordinator. LOG.debug("Partial scan requested, but aborted due to shutdown of all TabletServers"); - return null; + return tableMgmtStats; } - TableMgmtStats tableMgmtStats = new TableMgmtStats(); int unloaded = 0; Map currentMerges = new HashMap<>();