private Map<String, Integer> getFragmentationInfo(HMaster master, Configuration conf) throws IOException { boolean showFragmentation = conf.getBoolean("hbase.master.ui.fragmentation.enabled", false); if (showFragmentation) { return FSUtils.getTableFragmentation(master); } else { return null; } }