diff --git a/hbase-server/src/main/resources/hbase-webapps/master/header.jsp b/hbase-server/src/main/resources/hbase-webapps/master/header.jsp index d187eb54f35..0df70998d11 100644 --- a/hbase-server/src/main/resources/hbase-webapps/master/header.jsp +++ b/hbase-server/src/main/resources/hbase-webapps/master/header.jsp @@ -18,7 +18,11 @@ */ --%> <%@ page contentType="text/html;charset=UTF-8" - import="org.apache.hadoop.hbase.HBaseConfiguration" + import="org.apache.hadoop.hbase.master.HMaster" + import="org.apache.hadoop.hbase.HBaseConfiguration" +%> +<% + HMaster master = (HMaster) getServletContext().getAttribute(HMaster.MASTER); %> @@ -52,7 +56,9 @@