public final class MasterUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
createMasters(MasterRegistry registry,
MasterContext context)
Creates all the masters and registers them to the master registry.
|
static BlockStore.Factory |
getBlockStoreFactory(java.lang.String baseDir) |
static InodeStore.Factory |
getInodeStoreFactory(java.lang.String baseDir) |
public static void createMasters(MasterRegistry registry, MasterContext context)
registry - the master registrycontext - master contextpublic static BlockStore.Factory getBlockStoreFactory(java.lang.String baseDir)
baseDir - the base directory in which to store on-disk metadatapublic static InodeStore.Factory getInodeStoreFactory(java.lang.String baseDir)
baseDir - the base directory in which to store on-disk metadataCopyright © 2019. All Rights Reserved.