predictionio-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pat Ferrel <>
Subject Re: "pio app delete" breaks my PIO installation
Date Tue, 21 Nov 2017 20:14:24 GMT
I’ve seen this happen on my dev machine (a mac laptop) when I use `pio-start-all` which I
never use in production.

My test for everything running includes 
pio status: this only tests the metadata service and the main store (Elasticsearch and HBase
in my case) It by no means examines all services needed.
hdfs dfs -ls: this tests that the hdfs service is working
curl -i -X GET http://localhost:7070; This tests if the pio EventServer is listening on the
right port 

Often the curl command hangs so I restart the EventServer but doing pio-stop-all, pio-start-all.
This actually causes the UR integration test to hang if the EventServer is not listening correctly.

Not sure if this is what Donald is talking about because your storage is working if pio status
works. But restarting the EventService does the trick usually for me.

On Nov 21, 2017, at 11:44 AM, Donald Szeto <> wrote:

Hey Noelia,

What event storage backend are you using? Is the backend storage stuck? This could happen
very often with a local, single-node HBase installation.


On Mon, Nov 13, 2017 at 7:51 AM, Noelia Osés Fernández < <>>
I forgot to mention that pio status reports my system is all ready to go :(

but it isn't true. I can't import the data.

On 13 November 2017 at 16:47, Noelia Osés Fernández < <>>

It has happened several times already that after I execute:

pio app delete appname

my PIO installation breaks. Does anybody else have this problem?

Particularly, this time I get the following error during data import:

Traceback (most recent call last):
  File "data/", line 63, in <module>
    import_events(client, args.file)
  File "data/", line 33, in import_events
    properties= { "rating" : float(data[2]) }
  File "/usr/local/lib/python2.7/dist-packages/predictionio/", line 247, in create_event
  File "/usr/local/lib/python2.7/dist-packages/predictionio/", line 111, in get_response
    self._response = self.rfunc(tmp_response)
  File "/usr/local/lib/python2.7/dist-packages/predictionio/", line 118, in _acreate_resp
    (response.error, response.request))
predictionio.NotCreatedError: Exception happened: timed out for request POST /events.json?accessKey=XQewLhG4RfqP1zAMH9y3E5c4wd0_vFYRYgQIMX3gxluzNlTI6N_M16z_CjjV9zAY
{'event': 'rate', 'eventTime': '2017-11-13T15:32:24.506+0000', 'entityType': 'user', 'targetEntityId':
'31', 'properties': {'rating': 2.5}, 'entityId': '1', 'targetEntityType': 'item'} /events.json?accessKey=XQewLhG4RfqP1zAMH9y3E5c4wd0_vFYRYgQIMX3gxluzNlTI6N_M16z_CjjV9zAY?event=rate&eventTime=2017-11-13T15%3A32%3A24.506%2B0000&entityType=user&targetEntityId=31&properties=%7B%27rating%27%3A+2.5%7D&entityId=1&targetEntityType=item

This app was working this morning. I deleted it, then created it again and now I have this
error and can't make it work.

Furthermore, when I execute
curl -i -X GET http://localhost:7070 <http://localhost:7070/>
the terminal just hangs there, it doesn't print any output nor error messages.

Any help is much appreciated,


Noelia Osés Fernández, PhD
Senior Researcher |
Investigadora Senior <>
+[34] 943 30 92 30 <tel:+34%20943%2030%2092%2030>
Data Intelligence for Energy and
Industrial Processes | Inteligencia
de Datos para Energía y Procesos

 <>  <>

member of:  <>     <>

Legal Notice - Privacy policy <>

View raw message