HBASE-10897 On master start, deadlock if refresh UI
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1584091 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b4daf55761
commit
a9440c57c9
|
@ -72,7 +72,7 @@ public class MasterStatusServlet extends HttpServlet {
|
|||
Set<ServerName> deadServers = null;
|
||||
|
||||
if(master.isActiveMaster()) {
|
||||
if (master.getServerManager() == null) {
|
||||
if (!master.isInitialized()) {
|
||||
response.sendError(503, "Master not ready");
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue