Lily 2.4 not running with hbase 0.96 and hadoop 2.2.0
83 views
Skip to first unread message
Rajiv Roy
unread,
Nov 6, 2013, 7:18:37 AM11/6/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to lily-d...@googlegroups.com
Hi,
I am trying to run lily-2.4 with the following configuration: hbase: 0.96 hadoop: 2.2.0
The output of the jps is: 8445 NodeManager 8335 DataNode 8394 ResourceManager 8500 JobHistoryServer 9066 HQuorumPeer 9216 HRegionServer 9125 HMaster 8283 NameNode 10831 Jps 10300 Main
I am getting the following error on running bin/lily-server : org.lilyproject.runtime.LilyRTException: Error constructing module defined at /home/ril/lily/lily-2.4/lib/org/lilyproject/lily-general-module/2.4/lily-general-module-2.4.jar at org.lilyproject.runtime.module.build.ModuleBuilder.buildInt(ModuleBuilder.java:115) at org.lilyproject.runtime.module.build.ModuleBuilder.build(ModuleBuilder.java:51) at org.lilyproject.runtime.LilyRuntime.start(LilyRuntime.java:223) at org.lilyproject.runtime.cli.LilyRuntimeCli.run(LilyRuntimeCli.java:293) at org.lilyproject.runtime.cli.LilyRuntimeCli.main(LilyRuntimeCli.java:67) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.lilyproject.runtime.launcher.LilyRuntimeCliLauncher.run(LilyRuntimeCliLauncher.java:80) at org.lilyproject.runtime.launcher.LilyRuntimeCliLauncher.launch(LilyRuntimeCliLauncher.java:59) at org.lilyproject.runtime.launcher.LilyRuntimeCliLauncher.main(LilyRuntimeCliLauncher.java:55) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hbaseConfiguration' defined in LILY-INF/spring/services.xml in /home/ril/lily/lily-2.4/lib/org/lilyproject/lily-general-module/2.4/lily-general-module-2.4.jar: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.lilyproject.server.modules.general.HadoopConfigurationFactoryImpl]: Constructor threw exception; nested exception is org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find region for after 10 tries. at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:288) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1049) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:953) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:490) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479) at org.lilyproject.runtime.module.build.ModuleBuilder.buildInt(ModuleBuilder.java:84) ... 11 more Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.lilyproject.server.modules.general.HadoopConfigurationFactoryImpl]: Constructor threw exception; nested exception is org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find region for after 10 tries. at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:121) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:280) ... 23 more Caused by: org.apache.hadoop.hbase.client.NoServerForRegionException: Unable to find region for after 10 tries. at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:953) at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:858) at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:819) at org.apache.hadoop.hbase.client.HTable.finishSetup(HTable.java:271) at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:211) at org.lilyproject.server.modules.general.HadoopConfigurationFactoryImpl.waitOnHBase(HadoopConfigurationFactoryImpl.java:67) at org.lilyproject.server.modules.general.HadoopConfigurationFactoryImpl.<init>(HadoopConfigurationFactoryImpl.java:53) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148) ... 25 more Startup failed. Will try to shutdown and exit.