Nutch 2.1无法在Mac中设置

时间:2012-10-17 05:57:19

标签: nutch

尝试在本地环境中设置新的Nutch 2.1。随着新的下载,然后“蚂蚁建立”。然而,根据wiki http://wiki.apache.org/nutch/Nutch2Tutorial的文档,似乎没有运气

我收到了以下错误:

java[1815:1903] Unable to load realm info from SCDynamicStore
InjectorJob: org.apache.gora.util.GoraException: org.apache.hadoop.hbase.MasterNotRunningException
    at org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.java:167)
    at org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.java:135)
    at org.apache.nutch.storage.StorageUtils.createWebStore(StorageUtils.java:75)
    at org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:214)
    at org.apache.nutch.crawl.InjectorJob.inject(InjectorJob.java:228)
    at org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:248)
    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
    at org.apache.nutch.crawl.InjectorJob.main(InjectorJob.java:258)
Caused by: org.apache.hadoop.hbase.MasterNotRunningException
    at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getMaster(HConnectionManager.java:394)
    at org.apache.hadoop.hbase.client.HBaseAdmin.(HBaseAdmin.java:94)
    at org.apache.gora.hbase.store.HBaseStore.initialize(HBaseStore.java:108)
    at org.apache.gora.store.DataStoreFactory.initializeDataStore(DataStoreFactory.java:102)
    at org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.java:161)
    ... 7 more

非常感谢您的帮助。感谢

1 个答案:

答案 0 :(得分:2)

Caused by: org.apache.hadoop.hbase.MasterNotRunningException

这表示clsuter设置未正确完成。 nutch教程页面提到了这一点:

  

安装并配置HBase。你可以在这里得到它(N.B. Gora 0.2使用   HBase 0.90.4,但已知设置可以使用更新的   版本的HBase 0.90.x分支)

您是否正确执行了此步骤?