Esempio n. 1
0
  @Before
  public void setUp() throws Exception {
    HiveConf conf = new HiveConf();
    conf.setVar(
        HiveConf.ConfVars.METASTORE_EXPRESSION_PROXY_CLASS,
        MockPartitionExpressionProxy.class.getName());

    objectStore = new ObjectStore();
    objectStore.setConf(conf);
    dropAllStoreObjects(objectStore);
  }
 @Override
 public void setConf(Configuration conf) {
   objectStore.setConf(conf);
 }