@InterfaceAudience.Private public class MasterFileSystem extends Object
Modifier and Type | Field and Description |
---|---|
static String |
HBASE_DIR_PERMS
Parameter name for HBase instance root directory permission
|
static String |
HBASE_WAL_DIR_PERMS
Parameter name for HBase WAL directory permission
|
Constructor and Description |
---|
MasterFileSystem(MasterServices services) |
Modifier and Type | Method and Description |
---|---|
void |
deleteFamilyFromFS(HRegionInfo region,
byte[] familyName) |
void |
deleteFamilyFromFS(org.apache.hadoop.fs.Path rootDir,
HRegionInfo region,
byte[] familyName) |
ClusterId |
getClusterId() |
org.apache.hadoop.conf.Configuration |
getConfiguration() |
org.apache.hadoop.fs.FileSystem |
getFileSystem() |
org.apache.hadoop.fs.Path |
getRootDir() |
org.apache.hadoop.fs.Path |
getTempDir() |
protected org.apache.hadoop.fs.FileSystem |
getWALFileSystem() |
org.apache.hadoop.fs.Path |
getWALRootDir() |
void |
logFileSystemState(org.apache.commons.logging.Log log) |
static TableDescriptor |
setInfoFamilyCachingForMeta(TableDescriptor metaDescriptor,
boolean b)
Enable in memory caching for hbase:meta
|
void |
stop() |
public static final String HBASE_DIR_PERMS
public static final String HBASE_WAL_DIR_PERMS
public MasterFileSystem(MasterServices services) throws IOException
IOException
public org.apache.hadoop.fs.FileSystem getFileSystem()
protected org.apache.hadoop.fs.FileSystem getWALFileSystem()
public org.apache.hadoop.conf.Configuration getConfiguration()
public org.apache.hadoop.fs.Path getRootDir()
public org.apache.hadoop.fs.Path getWALRootDir()
public org.apache.hadoop.fs.Path getTempDir()
public ClusterId getClusterId()
public static TableDescriptor setInfoFamilyCachingForMeta(TableDescriptor metaDescriptor, boolean b)
public void deleteFamilyFromFS(HRegionInfo region, byte[] familyName) throws IOException
IOException
public void deleteFamilyFromFS(org.apache.hadoop.fs.Path rootDir, HRegionInfo region, byte[] familyName) throws IOException
IOException
public void stop()
public void logFileSystemState(org.apache.commons.logging.Log log) throws IOException
IOException
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.