private ResourcePatternResolver resourceResolver = new PathMatchingResourcePatternResolver(
new FileSystemResourceLoader());
public void init() {
hiveClientFactory = new HiveClientFactoryBean();
hiveClientFactory.setHost(host);
hiveClientFactory.setPort(port);
hiveClientFactory.setTimeout(timeout.intValue());