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

sodonnell 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 59e0f86855 HDDS-9326. HBase HMaster unable to start due to 
IllegalArgumentException: NO_REPLICA_FOUND. (#5459)
59e0f86855 is described below

commit 59e0f8685587e060824448a6f53cd59583c7b0c3
Author: Wei-Chiu Chuang <[email protected]>
AuthorDate: Fri Oct 20 07:49:35 2023 -0700

    HDDS-9326. HBase HMaster unable to start due to IllegalArgumentException: 
NO_REPLICA_FOUND. (#5459)
---
 .../java/org/apache/hadoop/hdds/scm/storage/BlockInputStream.java | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git 
a/hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/storage/BlockInputStream.java
 
b/hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/storage/BlockInputStream.java
index 9a256ff991..c10e271f2e 100644
--- 
a/hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/storage/BlockInputStream.java
+++ 
b/hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/storage/BlockInputStream.java
@@ -235,7 +235,13 @@ public class BlockInputStream extends 
BlockExtendedInputStream {
                   .getLegacyFactor(pipeline.getReplicationConfig())))
           .build();
     }
-    acquireClient();
+    try {
+      acquireClient();
+    } catch (IOException ioe) {
+      LOG.warn("Failed to acquire client for pipeline {}, block {}",
+          pipeline, blockID);
+      throw ioe;
+    }
     try {
       if (LOG.isDebugEnabled()) {
         LOG.debug("Initializing BlockInputStream for get key to access {}",


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

Reply via email to