predictionio-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Szeto <don...@apache.org>
Subject Re: "pio app delete" breaks my PIO installation
Date Tue, 21 Nov 2017 19:44:05 GMT
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.

Regards,
Donald

On Mon, Nov 13, 2017 at 7:51 AM, Noelia Osés Fernández <noses@vicomtech.org>
wrote:

> 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 <noses@vicomtech.org>
> wrote:
>
>> Hi,
>>
>> 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/import_eventserver.py", line 63, in <module>
>>     import_events(client, args.file)
>>   File "data/import_eventserver.py", line 33, in import_events
>>     properties= { "rating" : float(data[2]) }
>>   File "/usr/local/lib/python2.7/dist-packages/predictionio/__init__.py",
>> line 247, in create_event
>>     event_time).get_response()
>>   File "/usr/local/lib/python2.7/dist-packages/predictionio/connection.py",
>> line 111, in get_response
>>     self._response = self.rfunc(tmp_response)
>>   File "/usr/local/lib/python2.7/dist-packages/predictionio/__init__.py",
>> 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_vFYRYgQIM
>> X3gxluzNlTI6N_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
>>
>>
>>
>>
>>
>>
>>
>>
>
>
> --
> <http://www.vicomtech.org>
>
> Noelia Osés Fernández, PhD
> Senior Researcher |
> Investigadora Senior
>
> noses@vicomtech.org
> +[34] 943 30 92 30 <+34%20943%2030%2092%2030>
> Data Intelligence for Energy and
> Industrial Processes | Inteligencia
> de Datos para Energía y Procesos
> Industriales
>
> <https://www.linkedin.com/company/vicomtech>
> <https://www.youtube.com/user/VICOMTech>
> <https://twitter.com/@Vicomtech_IK4>
>
> member of:  <http://www.graphicsmedia.net/>     <http://www.ik4.es>
>
> Legal Notice - Privacy policy
> <http://www.vicomtech.org/en/proteccion-datos>
>

Mime
View raw message