@Override public void verifySchema() throws MetaException { rawStore.verifySchema(); }
public static RawStore getMSForConf(Configuration conf) throws MetaException { RawStore ms = threadLocalMS.get(); if (ms == null) { ms = newRawStoreForConf(conf); try { ms.verifySchema(); } catch (MetaException e) { ms.shutdown(); throw e; } threadLocalMS.set(ms); ms = threadLocalMS.get(); LOG.info("Created RawStore: " + ms + " from thread id: " + Thread.currentThread().getId()); } return ms; }
@Override public void verifySchema() throws MetaException { rawStore.verifySchema(); }
@Override public RawStore getMS() throws MetaException { RawStore ms = threadLocalMS.get(); if (ms == null) { ms = newRawStore(); ms.verifySchema(); threadLocalMS.set(ms); ms = threadLocalMS.get(); } return ms; }
@Override public RawStore getMS() throws MetaException { RawStore ms = threadLocalMS.get(); if (ms == null) { ms = newRawStore(); ms.verifySchema(); threadLocalMS.set(ms); ms = threadLocalMS.get(); } return ms; }
public static RawStore getMSForConf(Configuration conf) throws MetaException { RawStore ms = threadLocalMS.get(); if (ms == null) { ms = newRawStoreForConf(conf); ms.verifySchema(); threadLocalMS.set(ms); ms = threadLocalMS.get(); } return ms; }
/** * Get a cached RawStore. * * @return the cached RawStore * @throws MetaException */ @InterfaceAudience.LimitedPrivate({"HCATALOG"}) @InterfaceStability.Evolving public RawStore getMS() throws MetaException { RawStore ms = threadLocalMS.get(); if (ms == null) { ms = newRawStore(); ms.verifySchema(); threadLocalMS.set(ms); ms = threadLocalMS.get(); } return ms; }
/** * Get a cached RawStore. * * @return the cached RawStore * @throws MetaException */ @InterfaceAudience.LimitedPrivate({"HCATALOG"}) @InterfaceStability.Evolving public RawStore getMS() throws MetaException { RawStore ms = threadLocalMS.get(); if (ms == null) { ms = newRawStore(); ms.verifySchema(); threadLocalMS.set(ms); ms = threadLocalMS.get(); } return ms; }