2013-08-23 19 views
0

我想运行nutch,需要gora,需要hbase需要zookeeper。 工作向后倒在HBase的教程,这里是我的HBase-site.xml中Zookeeper可以运行在dotcloud上

<configuration> 
    <property> 
    <name>hbase.rootdir</name> 
    <value>file:///home/dotcloud/data/hbase</value> 
    </property> 
    <property> 
    <name>hbase.zookeeper.property.dataDir</name> 
    <value>/home/dotcloud/data/zookeeper</value> 
    </property> 
</configuration> 

运行HBase的壳,我得到一个错误说...

hbase(main):001:0> 
hbase(main):002:0* create 'test', 'cf' 
13/08/23 14:04:46 ERROR zookeeper.RecoverableZooKeeper: ZooKeeper exists failed after 3 retries 
13/08/23 14:04:46 WARN zookeeper.ZKUtil: hconnection Unable to set watcher on znode (/hbase/hbaseid) 
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/hbaseid 

从什么I can find动物园管理员在独立模式不喜欢127.0.1.1上的环回设备,但dotcloud中没有sudo访问权限来更改/ etc/hosts

这是问题的根源还是我在其他地方犯了错误? Zookeeper + Hbase + Gora + Nutch可以在dotcloud上运行吗?

感谢

回答

1

它看起来像其他人已经提供了饲养员-ON-dotcloud配方。最近一次提交大约在6个月前,因此可能需要进行一些更新。

https://github.com/gabrielgrant/zookeeper-on-dotcloud

如果你使用这个配方或之后他们的方法建模,它解决一些您遇到的问题?