@InterfaceAudience.Private public class MetaUtils extends Object
shutdown()
when done with this class so it closes
resources opened during meta processing (ROOT, META, etc.). Be careful
how you use this class. If used during migrations, be careful when using
this class to check whether migration is needed.Constructor and Description |
---|
MetaUtils()
Default constructor
|
MetaUtils(org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
WAL |
getLog(HRegionInfo info) |
HRegion |
getMetaRegion() |
void |
shutdown()
Closes catalog regions if open.
|
public MetaUtils() throws IOException
IOException
- epublic MetaUtils(org.apache.hadoop.conf.Configuration conf) throws IOException
conf
- ConfigurationIOException
- epublic WAL getLog(HRegionInfo info) throws IOException
IOException
- epublic HRegion getMetaRegion() throws IOException
IOException
- epublic void shutdown()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.