private void registerWithMaster ( ) throws IOException { BlockStoreMeta storeMeta = mBlockWorker . getStoreMetaFull ( ) ; StorageTierAssoc storageTierAssoc = new WorkerStorageTierAssoc ( ) ; List < ConfigProperty > configList = ConfigurationUtils . getConfiguration ( ServerConfiguration . global ( ) , Scope . WORKER ) ; mMasterClient . register ( mWorkerId . get ( ) , storageTierAssoc . getOrderedStorageAliases ( ) , storeMeta . getCapacityBytesOnTiers ( ) , storeMeta . getUsedBytesOnTiers ( ) , storeMeta . getBlockList ( ) , storeMeta . getLostStorage ( ) , configList ) ; }
Registers with the Alluxio master . This should be called before the continuous heartbeat thread begins .