dlmarion commented on code in PR #4497:
URL: https://github.com/apache/accumulo/pull/4497#discussion_r1583245524
##########
server/manager/src/main/java/org/apache/accumulo/manager/TabletGroupWatcher.java:
##########
@@ -344,12 +344,18 @@ public void run() {
TServerConnection client =
manager.tserverSet.getConnection(location.getServerInstance());
if (client != null) {
- Manager.log.trace("[{}] Requesting TabletServer {} unload {}
{}", store.name(),
- location.getServerInstance(), tls.extent,
goal.howUnload());
- client.unloadTablet(manager.managerLock, tls.extent,
goal.howUnload(),
- manager.getSteadyTime());
- unloaded++;
- totalUnloaded++;
+ try {
+ Manager.log.trace("[{}] Requesting TabletServer {} unload
{} {}", store.name(),
+ location.getServerInstance(), tls.extent,
goal.howUnload());
+ client.unloadTablet(manager.managerLock, tls.extent,
goal.howUnload(),
+ manager.getSteadyTime());
+ unloaded++;
+ totalUnloaded++;
+ } catch (TException tException) {
+ Manager.log.warn("[{}] Failed to request tablet unload {}
{} {} {}",
+ store.name(), location.getServerInstance(),
tls.extent, goal.howUnload(),
Review Comment:
I think you have one too many braces in the message, or you are missing a
variable.
--
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]