This is an automated email from the ASF dual-hosted git repository.

adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/master by this push:
     new b8c93ccf46 HDDS-12376. (addendum: fix findbugs) Remove scmRatisEnabled 
from ScmInfo. (#7931)
b8c93ccf46 is described below

commit b8c93ccf46b00dab3f7fbc8e354c4e2dc76586be
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Tue Mar 4 10:09:35 2025 +0100

    HDDS-12376. (addendum: fix findbugs) Remove scmRatisEnabled from ScmInfo. 
(#7931)
---
 .../recon/spi/impl/StorageContainerServiceProviderImpl.java | 13 -------------
 1 file changed, 13 deletions(-)

diff --git 
a/hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/spi/impl/StorageContainerServiceProviderImpl.java
 
b/hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/spi/impl/StorageContainerServiceProviderImpl.java
index c685ba8d3e..3b6164447b 100644
--- 
a/hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/spi/impl/StorageContainerServiceProviderImpl.java
+++ 
b/hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/spi/impl/StorageContainerServiceProviderImpl.java
@@ -19,10 +19,6 @@
 
 import static 
org.apache.hadoop.hdds.utils.HddsServerUtil.getScmSecurityClientWithMaxRetry;
 import static 
org.apache.hadoop.ozone.recon.ReconConstants.RECON_SCM_SNAPSHOT_DB;
-import static 
org.apache.hadoop.ozone.recon.ReconServerConfigKeys.OZONE_RECON_SCM_CONNECTION_REQUEST_TIMEOUT;
-import static 
org.apache.hadoop.ozone.recon.ReconServerConfigKeys.OZONE_RECON_SCM_CONNECTION_REQUEST_TIMEOUT_DEFAULT;
-import static 
org.apache.hadoop.ozone.recon.ReconServerConfigKeys.OZONE_RECON_SCM_CONNECTION_TIMEOUT;
-import static 
org.apache.hadoop.ozone.recon.ReconServerConfigKeys.OZONE_RECON_SCM_CONNECTION_TIMEOUT_DEFAULT;
 import static org.apache.hadoop.security.UserGroupInformation.getCurrentUser;
 
 import java.io.File;
@@ -31,7 +27,6 @@
 import java.nio.file.Paths;
 import java.util.List;
 import java.util.concurrent.ExecutionException;
-import java.util.concurrent.TimeUnit;
 import java.util.concurrent.atomic.AtomicBoolean;
 import javax.inject.Inject;
 import javax.validation.constraints.NotNull;
@@ -83,14 +78,6 @@ public StorageContainerServiceProviderImpl(
       ReconStorageConfig reconStorage,
       ReconContext reconContext) {
 
-    int connectionTimeout = (int) configuration.getTimeDuration(
-        OZONE_RECON_SCM_CONNECTION_TIMEOUT,
-        OZONE_RECON_SCM_CONNECTION_TIMEOUT_DEFAULT, TimeUnit.MILLISECONDS);
-    int connectionRequestTimeout = (int) configuration.getTimeDuration(
-        OZONE_RECON_SCM_CONNECTION_REQUEST_TIMEOUT,
-        OZONE_RECON_SCM_CONNECTION_REQUEST_TIMEOUT_DEFAULT,
-        TimeUnit.MILLISECONDS);
-
     scmSnapshotDBParentDir = ReconUtils.getReconScmDbDir(configuration);
 
     this.reconUtils = reconUtils;


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to