From f3fcd704ef643836716d8166fa5de6c954faff31 Mon Sep 17 00:00:00 2001 From: sarvekshayr Date: Fri, 22 Mar 2024 16:04:18 +0530 Subject: [PATCH] Fixed checkstyle errors - 4 --- .../apache/hadoop/hdds/scm/server/SCMClientProtocolServer.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/SCMClientProtocolServer.java b/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/SCMClientProtocolServer.java index 8a6da3680c3..a901793abef 100644 --- a/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/SCMClientProtocolServer.java +++ b/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/SCMClientProtocolServer.java @@ -22,7 +22,6 @@ package org.apache.hadoop.hdds.scm.server; import com.google.common.annotations.VisibleForTesting; -import com.google.common.base.Preconditions; import com.google.common.base.Strings; import com.google.common.collect.Maps; import com.google.protobuf.BlockingService; @@ -1114,7 +1113,7 @@ public StartContainerBalancerResponseProto startContainerBalancer( long msls = maxSizeLeavingSource.get(); auditMap.put("maxSizeLeavingSource", String.valueOf(msls)); if (msls < 0) { - throw new SCMException("Max Size Leaving Source must be "+ + throw new SCMException("Max Size Leaving Source must be " + "greater than zero.", resultCodes); } cbc.setMaxSizeLeavingSource(msls * OzoneConsts.GB);