"/META-INF/spring/hive-context.xml", HiveApp.class);
log.info("Hive Application Running");
context.registerShutdownHook();
HiveTemplate template = context.getBean(HiveTemplate.class);
template.query("show tables;");
PasswordRepository repository = context.getBean(HiveTemplatePasswordRepository.class);
repository.processPasswordFile("/etc/passwd");
log.info("Count of password entries = " + repository.count());
context.close();