You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "chandrasekhar-188k (via GitHub)" <gi...@apache.org> on 2025/03/01 04:35:23 UTC

Re: [PR] HBASE-29140 Master UI is unavailable when there is an exception during Table Creation [hbase]

chandrasekhar-188k commented on code in PR #6714:
URL: https://github.com/apache/hbase/pull/6714#discussion_r1976290550


##########
hbase-server/src/main/jamon/org/apache/hadoop/hbase/tmpl/master/MasterStatusTmpl.jamon:
##########
@@ -652,7 +652,10 @@ AssignmentManager assignmentManager = master.getAssignmentManager();
     <%for TableDescriptor desc : tables%>
     <%java>
       TableName tableName = desc.getTableName();
-      TableState tableState = master.getTableStateManager().getTableState(tableName);
+      TableState tableState = master.getTableStateManager().getTableState(tableName, true);

Review Comment:
   Yes, we can just catch the exception here.. but I have added a separate method that can ignore throwing exception which could be used in other scenarios also where we want to ignore this exception. one such scenario is mentioned in below JIRA
   https://issues.apache.org/jira/browse/HBASE-28159
   



-- 
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: issues-unsubscribe@hbase.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org