predictionio-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amal kumar <>
Subject PredictionIO Error | HBase as Event Server
Date Thu, 13 Oct 2016 16:45:11 GMT

I am trying to use Hbase as event server with predictionIO. Which is
working fine as expected.

But I am getting error while point Hbase installed on a separate machine
other than predictionIO.

As per the understanding, I have done the below steps:

1. Copied the hbase conf folder (from the machin on Hbase is running) that
contains hbase-site.xml to any folder on prediction io server on some path
i.e. "/home/ubuntu/hbasePrediction-io/PredictionIO-0.9.6/hbase/conf"

2. Updated HBASE_CONF_DIR in to point to the path of copied
folder i.e.




3. Updated the property "hbase.zookeeper.quorum" in hbase-site.xml on local
copied folder i.e. "/home/ubuntu/hbasePrediction-
io/PredictionIO-0.9.6/hbase/conf" i.e.


    <value><Master public DNS></value>



But I am getting the below error.

$ pio status

*[INFO] [Console$] Inspecting PredictionIO...*
*[INFO] [Console$] PredictionIO 0.9.6 is installed at
*[INFO] [Console$] Inspecting Apache Spark...*
*[INFO] [Console$] Apache Spark is installed at
*[INFO] [Console$] Apache Spark 1.6.2 detected (meets minimum requirement
of 1.3.0)*
*[INFO] [Console$] Inspecting storage backend connections...*
*[INFO] [Storage$] Verifying Meta Data Backend (Source: PGSQL)...*
*[INFO] [Storage$] Verifying Model Data Backend (Source: PGSQL)...*
*[INFO] [Storage$] Verifying Event Data Backend (Source: HBASE)...*
*[INFO] [Storage$] Test writing to Event Store (App Id 0)...*
*[ERROR] [Console$] Unable to connect to all storage backends successfully.
The following shows the error message from the storage backend.*
*[ERROR] [Console$] Failed after attempts=1, exceptions:*
*Thu Oct 13 09:36:53 UTC 2016,
<>.ConnectTimeoutException: 20000 millis
timeout while waiting for channel to be ready for connect. ch :
* (org.apache.hadoop.hbase.client.RetriesExhaustedException)*
*[ERROR] [Console$] Dumping configuration of initialized storage backend
sources. Please make sure they are correct.*
*[ERROR] [Console$] Source Name: PGSQL; Type: jdbc; Configuration: URL ->
jdbc:postgresql://localhost/pio, PASSWORD -> pio, TYPE -> jdbc, USERNAME ->
*[ERROR] [Console$] Source Name: HBASE; Type: hbase; Configuration: TYPE ->
hbase, HOSTS -> 0, HOME ->
/home/ubuntu/hbasePrediction-io/PredictionIO-0.9.6/hbase/conf, PORTS -> 0*

Can you please help?

Amal Kumar

View raw message