@Test public void constructorCantAccessMetaStore() { expectedException.expect(RuntimeException.class); expectedException.expectMessage("Failed connecting to Hive MetaStore service: which way to albuquerque"); when(hiveClientWrapper.initHiveClient(context, configuration)).thenThrow(new RuntimeException("Failed connecting to Hive MetaStore service: which way to albuquerque")); HiveDataFragmenter fragmenter = new HiveDataFragmenter(configurationFactory, hiveClientWrapper); fragmenter.initialize(context); }
@Override public void initialize(RequestContext context) { super.initialize(context); client = hiveClientWrapper.initHiveClient(this.context, configuration); }
HiveDataFragmenter extends HdfsDataFragmenter { @Override public void initialize(RequestContext context) { super.initialize(context); client = hiveClientWrapper.initHiveClient(this.context, configuration); } }
HiveDataFragmenter extends HdfsDataFragmenter { @Override public void initialize(RequestContext context) { super.initialize(context); client = hiveClientWrapper.initHiveClient(this.context, configuration); } HiveDataFragmenter();   HiveDataFragmenter(ConfigurationFactory configurationFactory, HiveClientWrapper hiveClientWrapper); }
HiveDataFragmenter extends HdfsDataFragmenter { @Override public void initialize(RequestContext context) { super.initialize(context); client = hiveClientWrapper.initHiveClient(this.context, configuration); } HiveDataFragmenter();   HiveDataFragmenter(ConfigurationFactory configurationFactory, HiveClientWrapper hiveClientWrapper); @Override void initialize(RequestContext context); @Override List<Fragment> getFragments(); static InputFormat<?, ?> makeInputFormat(String inputFormatName,
                                                    JobConf jobConf); @Override FragmentStats getFragmentStats(); }
HiveDataFragmenter extends HdfsDataFragmenter { @Override public void initialize(RequestContext context) { super.initialize(context); client = hiveClientWrapper.initHiveClient(this.context, configuration); } HiveDataFragmenter();   HiveDataFragmenter(ConfigurationFactory configurationFactory, HiveClientWrapper hiveClientWrapper); @Override void initialize(RequestContext context); @Override List<Fragment> getFragments(); static InputFormat<?, ?> makeInputFormat(String inputFormatName,
                                                    JobConf jobConf); @Override FragmentStats getFragmentStats(); static final String HIVE_1_PART_DELIM; static final String HIVE_PARTITIONS_DELIM; static final String HIVE_NO_PART_TBL; }