protected void initNodeLabelStore(Configuration conf) throws Exception { this.store = ReflectionUtils .newInstance( conf.getClass(YarnConfiguration.FS_NODE_LABELS_STORE_IMPL_CLASS, FileSystemNodeLabelsStore.class, NodeLabelsStore.class), conf); this.store.init(conf, this); this.store.recover(); }
protected void initNodeLabelStore(Configuration conf) throws Exception { this.store = new FileSystemNodeLabelsStore(this); this.store.init(conf); this.store.recover(); }
protected void initNodeLabelStore(Configuration conf) throws Exception { this.store = new FileSystemNodeLabelsStore(this); this.store.init(conf); this.store.recover(); }