Class<?> stripeStoreClass = null;
stripeStoreClass = conf.getClass(RAID_STRIPE_STORE_CLASS_KEY, null);
if (stripeStoreClass == null) {
return null;
}
StripeStore stripeStore = (StripeStore) ReflectionUtils.newInstance(
stripeStoreClass, conf);
try {
stripeStore.initialize(conf, createStore, fs);
} catch (IOException ioe) {
LOG.error("Fail to initialize stripe store", ioe);
stripeStore = null;
}
return stripeStore;