hi--
hadoop 2.2.0 , Hbase 0.96 and Lily 2.4 are setup on a single node. Hadoopp processes and Hbase processes - HMaster, HQuorumPeer , HRegionSever processes are running , able to create Hbase tables , Hbase logs (hmaster, regionserver) are free from any error.
When I start lily using ./lily-server, it shows the following error:
[INFO ][14:17:34,460][main ] org.lilyproject.runtime.info - Starting module general - /home/ril/lily/lily-2.4/lib/org/lilyproject/lily-general-module/2.4/lily-general-module-2.4.jar
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
the hbase.xml in Lily has the following configuration:
<property>
<name>zookeeper.znode.parent</name>
<value>/hbase</value>
</property>
<property>
<name>hbase.zookeeper.quorum</name>
<value>loclahost</value>
</property>
<property>
<name>hbase.zookeeper.property.clientPort</name>
<value>2181</value>
</property>
<property>
<name>hbase.replication</name>
<value>true</value>
</property>
Is there anything missing ?
You received this message because you are subscribed to the Google Groups "lily-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lily-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Lily doesn't support HBase 0.96 yet, among other things the rpc
interface of HBase has quite changed in that version.
We recommend to use Cloudera, the latest version (except for the CDH5
beta) should work fine.
On 08-11-13 10:38, Viji S wrote:
> hi Paul, thanks for the reply. I just replaced the actual IP by
> localhost (with an unintended typo) while posting to the forum
> The problem still persists.
>
> On Thursday, November 7, 2013 8:14:13 PM UTC+5:30, Paul Focke wrote:
>
> I think there is typo right there
>
> <name>hbase.zookeeper.quorum</name>
> <value>loclahost</value>
>
>
> On Thu, Nov 7, 2013 at 10:20 AM, Viji S <viji.j...@gmail.com
> <javascript:>> wrote:
>
> hi
> hadoop 2.2.0 , Hbase 0.96 and Lily 2.4 are setup on a single
> node. Hadoopp processes and Hbase processes - HMaster,
> HQuorumPeer , HRegionSever processes are running , able to
> create Hbase tables , Hbase logs (hmaster, regionserver) are
> free from any error.
>
> When I start lily using ./lily-server, it shows the following error:
> [INFO ][14:17:34,460][main ] org.lilyproject.runtime.info
> <http://org.lilyproject.runtime.info> - Starting module general
--
Bruno Dumon