Package org.apache.accumulo.server.init
Class Initialize
- java.lang.Object
-
- org.apache.accumulo.server.init.Initialize
-
- All Implemented Interfaces:
KeywordExecutable
@AutoService(org.apache.accumulo.start.spi.KeywordExecutable.class) public class Initialize extends Object implements KeywordExecutable
This class is used to setup the directory structure and the root tablet to get an instance started
-
-
Constructor Summary
Constructors Constructor Description Initialize()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
doInit(org.apache.accumulo.server.init.Initialize.Opts opts, org.apache.hadoop.conf.Configuration conf, VolumeManager fs)
void
execute(String[] args)
static void
initSystemTablesConfig()
static boolean
isInitialized(VolumeManager fs)
String
keyword()
static void
main(String[] args)
-
-
-
Method Detail
-
doInit
public boolean doInit(org.apache.accumulo.server.init.Initialize.Opts opts, org.apache.hadoop.conf.Configuration conf, VolumeManager fs) throws IOException
- Throws:
IOException
-
initSystemTablesConfig
public static void initSystemTablesConfig() throws IOException
- Throws:
IOException
-
isInitialized
public static boolean isInitialized(VolumeManager fs) throws IOException
- Throws:
IOException
-
keyword
public String keyword()
- Specified by:
keyword
in interfaceKeywordExecutable
-
execute
public void execute(String[] args)
- Specified by:
execute
in interfaceKeywordExecutable
-
main
public static void main(String[] args)
-
-