AbstractApplicationContext context = new ClassPathXmlApplicationContext(
"/META-INF/spring/hive-apache-log-context.xml", HiveAppWithApacheLogs.class);
log.info("Hive Application Running");
context.registerShutdownHook();
HiveRunner runner = context.getBean(HiveRunner.class);
runner.call();
context.close();
log.info("Hive Application Completed");
}