spring-attic/spring-hadoop-samples

hiveAppWithApacheLogs demo hangs on: Returning cached instance of singleton bean 'hiveRunner'

Opened this issue · 0 comments

Hello.
I'm trying to run Hive demo on Hortonworks Sandbox 2.1.
I'm connecting to Hive from host (outside of VM).
When running hiveAppWithApacheLogs, logs looks like this:

21:10:51,481 DEBUG ctory.support.DefaultListableBeanFactory: 477 - Finished creating instance of bean 'hadoopConfiguration'
21:10:51,482 DEBUG ctory.support.DefaultListableBeanFactory: 220 - Creating shared instance of singleton bean 'hiveClientFactory'
21:10:51,482 DEBUG ctory.support.DefaultListableBeanFactory: 449 - Creating instance of bean 'hiveClientFactory'
21:10:51,486 DEBUG ctory.support.DefaultListableBeanFactory: 523 - Eagerly caching bean 'hiveClientFactory' to allow for resolving potential circular references
21:10:51,492 DEBUG ctory.support.DefaultListableBeanFactory: 477 - Finished creating instance of bean 'hiveClientFactory'
21:10:51,492 DEBUG ctory.support.DefaultListableBeanFactory: 220 - Creating shared instance of singleton bean 'hiveRunner'
21:10:51,492 DEBUG ctory.support.DefaultListableBeanFactory: 449 - Creating instance of bean 'hiveRunner'
21:10:51,493 DEBUG ctory.support.DefaultListableBeanFactory: 523 - Eagerly caching bean 'hiveRunner' to allow for resolving potential circular references
21:10:51,493 DEBUG ctory.support.DefaultListableBeanFactory: 249 - Returning cached instance of singleton bean 'hiveClientFactory'
21:10:51,497 DEBUG ctory.support.DefaultListableBeanFactory: 449 - Creating instance of bean '(inner bean)#198ddef7'
21:10:51,500 DEBUG ctory.support.DefaultListableBeanFactory: 449 - Creating instance of bean '(inner bean)#ab14733'
21:10:51,511 DEBUG ctory.support.DefaultListableBeanFactory: 477 - Finished creating instance of bean '(inner bean)#ab14733'
21:10:51,515 DEBUG ctory.support.DefaultListableBeanFactory: 477 - Finished creating instance of bean '(inner bean)#198ddef7'
21:10:51,517 DEBUG ctory.support.DefaultListableBeanFactory:1595 - Invoking afterPropertiesSet() on bean with name 'hiveRunner'
21:10:51,518 DEBUG ctory.support.DefaultListableBeanFactory: 477 - Finished creating instance of bean 'hiveRunner'
21:10:51,519 DEBUG t.support.ClassPathXmlApplicationContext: 700 - Unable to locate LifecycleProcessor with name 'lifecycleProcessor': using default [org.springframework.context.support.DefaultLifecycleProcessor@39a3014f]
21:10:51,519 DEBUG ctory.support.DefaultListableBeanFactory: 249 - Returning cached instance of singleton bean 'lifecycleProcessor'
21:10:51,521 DEBUG core.env.PropertySourcesPropertyResolver:  81 - Searching for key 'spring.liveBeansView.mbeanDomain' in [systemProperties]
21:10:51,521 DEBUG core.env.PropertySourcesPropertyResolver:  81 - Searching for key 'spring.liveBeansView.mbeanDomain' in [systemEnvironment]
21:10:51,521 DEBUG core.env.PropertySourcesPropertyResolver: 103 - Could not find key 'spring.liveBeansView.mbeanDomain' in any property source. Returning [null]
21:10:51,521  INFO amples.hadoop.hive.HiveAppWithApacheLogs:  31 - Hive Application Running
21:10:51,522 DEBUG ctory.support.DefaultListableBeanFactory: 249 - Returning cached instance of singleton bean 'hiveRunner'

On my own app based on existing Hive existing server approach there is also problem.
My logs:

21:15:54,121  INFO  org.apache.hadoop.fs.TrashPolicyDefault:  92 - Namenode trash configuration: Deletion interval = 0 minutes, Emptier interval = 0 minutes.
21:15:54,121 DEBUG ctory.support.DefaultListableBeanFactory: 477 - Finished creating instance of bean 'setupScript'
21:15:54,121 DEBUG ctory.support.DefaultListableBeanFactory: 220 - Creating shared instance of singleton bean 'hiveClientFactory'
21:15:54,121 DEBUG ctory.support.DefaultListableBeanFactory: 449 - Creating instance of bean 'hiveClientFactory'
21:15:54,121 DEBUG ctory.support.DefaultListableBeanFactory: 523 - Eagerly caching bean 'hiveClientFactory' to allow for resolving potential circular references
21:15:54,125 DEBUG ctory.support.DefaultListableBeanFactory: 477 - Finished creating instance of bean 'hiveClientFactory'
21:15:54,125 DEBUG ctory.support.DefaultListableBeanFactory: 220 - Creating shared instance of singleton bean 'hiveRunner'
21:15:54,125 DEBUG ctory.support.DefaultListableBeanFactory: 449 - Creating instance of bean 'hiveRunner'
21:15:54,126 DEBUG ctory.support.DefaultListableBeanFactory: 523 - Eagerly caching bean 'hiveRunner' to allow for resolving potential circular references
21:15:54,126 DEBUG ctory.support.DefaultListableBeanFactory: 247 - Returning cached instance of singleton bean 'hiveClientFactory'
21:15:54,130 DEBUG ctory.support.DefaultListableBeanFactory: 449 - Creating instance of bean '(inner bean)#672e34d8'
21:15:54,130 DEBUG ctory.support.DefaultListableBeanFactory: 449 - Creating instance of bean '(inner bean)#a8f85d4'
21:15:54,131 DEBUG ctory.support.DefaultListableBeanFactory: 477 - Finished creating instance of bean '(inner bean)#a8f85d4'
21:15:54,132 DEBUG ctory.support.DefaultListableBeanFactory: 477 - Finished creating instance of bean '(inner bean)#672e34d8'
21:15:54,134 DEBUG ctory.support.DefaultListableBeanFactory:1595 - Invoking afterPropertiesSet() on bean with name 'hiveRunner'