1

При запуске PredictionIO на локальном одном узле Hadoop (Hortonworks) Я получаю следующее сообщение об ошибке:Узел/HBase не в Zookeeper

Storage Backend Connections 
    Verifying Meta Data Backend 
    Verifying Model Data Backend 
    Verifying Event Data Backend 
    ERROR client.HConnectionManager$HConnectionImplementation - The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master. 
    ERROR storage.Storage$ - Error initializing storage client for source HBASE 
    ERROR storage.Storage$ - org.apache.hadoop.hbase.MasterNotRunningException: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master. 
java.util.NoSuchElementException: None.get 
at scala.None$.get(Option.scala:313) 
at scala.None$.get(Option.scala:311) 
at io.prediction.data.storage.Storage$.sourcesToClientMeta(Storage.scala:90) 
at io.prediction.data.storage.Storage$.getDataObject(Storage.scala:193) 
at io.prediction.data.storage.Storage$.getDataObject(Storage.scala:178) 
at io.prediction.data.storage.Storage$.getLEvents(Storage.scala:274) 
at io.prediction.data.storage.Storage$.verifyAllDataObjects(Storage.scala:246) 
at io.prediction.tools.Console$.status(Console.scala:1259) 
at io.prediction.tools.Console$$anonfun$main$1.apply(Console.scala:646) 
at io.prediction.tools.Console$$anonfun$main$1.apply(Console.scala:601) 
at scala.Option.map(Option.scala:145) 
at io.prediction.tools.Console$.main(Console.scala:601) 
at io.prediction.tools.Console.main(Console.scala) 

Unable to connect to all storage backend(s) successfully. Please refer to error message(s) above. Aborting. 

Как я должен настроить Hbase + Zookeepr на локальной установке Hadoop?

+0

Вы начинаете Hbase-мастер перед Hbase-regionserver? Кажется, мастер не запущен или не имеет ошибок. – ALSimon

+0

Я начинаю * все * услуги с веб-интерфейса HortonWorks. Возможно ли, что он начинает их в неправильном порядке? – zork

ответ

1

В папке /conf/hbase-site.xml Hbase, конфигурации или добавить:

<property> 
    <name>hbase.zookeeper.property.dataDir</name> 
    <value>YOUR ZOOKEEPER FOLDER</value> 
</property> 

Например:

<property> 
    <name>hbase.zookeeper.property.dataDir</name> 
    <value>/home/myname/zookeeper-3.4.6</value> 
</property>