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:
jxiang 2014-04-02 16:50:27 +00:00
parent b4daf55761
commit a9440c57c9
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}