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

andor pushed a commit to branch HBASE-29081_rebased
in repository https://gitbox.apache.org/repos/asf/hbase.git

commit 182b3b3da4c0779390545a76ccc176c63fb0e17f
Author: Andor Molnar <[email protected]>
AuthorDate: Fri Mar 13 14:28:40 2026 -0500

    Spotless apply
---
 .../apache/hadoop/hbase/backup/impl/IncrementalBackupManager.java  | 2 +-
 .../hadoop/hbase/security/access/AbstractReadOnlyController.java   | 7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git 
a/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/impl/IncrementalBackupManager.java
 
b/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/impl/IncrementalBackupManager.java
index cad2a8c7abd..5f48bfc39ad 100644
--- 
a/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/impl/IncrementalBackupManager.java
+++ 
b/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/impl/IncrementalBackupManager.java
@@ -28,10 +28,10 @@ import org.apache.hadoop.fs.FileSystem;
 import org.apache.hadoop.fs.Path;
 import org.apache.hadoop.fs.PathFilter;
 import org.apache.hadoop.hbase.HConstants;
+import org.apache.hadoop.hbase.TableName;
 import org.apache.hadoop.hbase.backup.util.BackupUtils;
 import org.apache.hadoop.hbase.client.Connection;
 import org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore;
-import org.apache.hadoop.hbase.TableName;
 import org.apache.hadoop.hbase.util.CommonFSUtils;
 import org.apache.hadoop.hbase.wal.AbstractFSWALProvider;
 import org.apache.yetus.audience.InterfaceAudience;
diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AbstractReadOnlyController.java
 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AbstractReadOnlyController.java
index c8c1837b21b..adb8efd59ca 100644
--- 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AbstractReadOnlyController.java
+++ 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AbstractReadOnlyController.java
@@ -76,10 +76,10 @@ public abstract class AbstractReadOnlyController implements 
Coprocessor {
                 + "Actual data: {}, Expected data: {}",
               new String(actualClusterFileData), new 
String(expectedClusterFileData));
           }
-      } catch (FileNotFoundException e) {
+        } catch (FileNotFoundException e) {
           LOG.debug("Active cluster file does not exist at: {}. No need to 
delete.",
             activeClusterFile);
-      } catch (IOException e) {
+        } catch (IOException e) {
           LOG.error(
             "Failed to delete active cluster file: {}. "
               + "Read-only flag will be updated, but file system state is 
inconsistent.",
@@ -89,7 +89,8 @@ public abstract class AbstractReadOnlyController implements 
Coprocessor {
         // DISABLING READ-ONLY (true -> false), create the active cluster file 
id file
         int wait = 
mfs.getConfiguration().getInt(HConstants.THREAD_WAKE_FREQUENCY, 10 * 1000);
         if (!fs.exists(activeClusterFile)) {
-          FSUtils.setActiveClusterSuffix(fs, rootDir, 
mfs.computeAndSetSuffixFileDataToWrite(), wait);
+          FSUtils.setActiveClusterSuffix(fs, rootDir, 
mfs.computeAndSetSuffixFileDataToWrite(),
+            wait);
         } else {
           LOG.debug("Active cluster file already exists at: {}. No need to 
create it again.",
             activeClusterFile);

Reply via email to