Created
December 23, 2011 11:28
-
-
Save butlermh/1513932 to your computer and use it in GitHub Desktop.
Snippet from Spring config file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<bean id="resourceStore" scope="singleton" | |
class="my.hbase.using.Webapp"> | |
<constructor-arg> | |
<bean scope="singleton" | |
class="org.apache.hadoop.hbase.HBaseConfigurationSpringWrapper"> | |
<constructor-arg> | |
<bean scope="singleton" class="org.apache.hadoop.conf.Configuration" /> | |
</constructor-arg> | |
<constructor-arg> | |
<map> | |
<entry key="hbase.zookeeper.quorum" value="my.zookeeper.server.address" /> | |
</map> | |
</constructor-arg> | |
</bean> | |
</constructor-arg> | |
</bean> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment