Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 41F58200D43 for ; Tue, 21 Nov 2017 20:44:29 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 4075D160BE3; Tue, 21 Nov 2017 19:44:29 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3D1E8160BFC for ; Tue, 21 Nov 2017 20:44:28 +0100 (CET) Received: (qmail 85139 invoked by uid 500); 21 Nov 2017 19:44:27 -0000 Mailing-List: contact user-help@predictionio.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@predictionio.apache.org Delivered-To: mailing list user@predictionio.apache.org Received: (qmail 85130 invoked by uid 99); 21 Nov 2017 19:44:27 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Nov 2017 19:44:27 +0000 Received: from mail-yb0-f182.google.com (mail-yb0-f182.google.com [209.85.213.182]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 077F81A00C7 for ; Tue, 21 Nov 2017 19:44:27 +0000 (UTC) Received: by mail-yb0-f182.google.com with SMTP id b124so4954131ybc.5 for ; Tue, 21 Nov 2017 11:44:26 -0800 (PST) X-Gm-Message-State: AJaThX50jaejFB+P+KrXOH5Ax6XU6QlqyDxCAy/pp+bMf/9S3I2csYJ5 5V+d12gJE9Nf9B7iliz4oMTWLdHSFI6OKt0KtKQ= X-Google-Smtp-Source: AGs4zMZk53Ols4tyVbMP8VEDAcap2RQWgD3W/ZUSnY+a84poOXddAksmYVq7JxeScwQBcj1up9pXtJgsMR9jdncREYw= X-Received: by 10.37.252.36 with SMTP id v36mr12208453ybd.236.1511293466054; Tue, 21 Nov 2017 11:44:26 -0800 (PST) MIME-Version: 1.0 Received: by 10.129.94.87 with HTTP; Tue, 21 Nov 2017 11:44:05 -0800 (PST) In-Reply-To: References: From: Donald Szeto Date: Tue, 21 Nov 2017 11:44:05 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: "pio app delete" breaks my PIO installation To: user@predictionio.apache.org Content-Type: multipart/alternative; boundary="f403045d91f83219ca055e836e62" archived-at: Tue, 21 Nov 2017 19:44:29 -0000 --f403045d91f83219ca055e836e62 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=C3=A9s Fern=C3=A1ndez 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=C3=A9s Fern=C3=A1ndez > 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 >> import_events(client, args.file) >> File "data/import_eventserver.py", line 33, in import_events >> properties=3D { "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.p= y", >> line 111, in get_response >> self._response =3D 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=3DXQewLhG4RfqP1zAMH9y3E5c4wd0_vFYRYgQIMX3gxl= uzNlTI6N_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=3DXQewLhG4RfqP1zAMH9y3E5c4wd0_vFYRYgQIM >> X3gxluzNlTI6N_M16z_CjjV9zAY?event=3Drate&eventTime=3D2017-11- >> 13T15%3A32%3A24.506%2B0000&entityType=3Duser&targetEntityId >> =3D31&properties=3D%7B%27rating%27%3A+2.5%7D&entityId=3D1&targetEntityTy= pe=3Ditem >> >> >> 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 * >> >> the terminal just hangs there, it doesn't print any output nor error >> messages. >> >> Any help is much appreciated, >> Noelia >> >> >> >> >> >> >> >> > > > -- > > > Noelia Os=C3=A9s Fern=C3=A1ndez, 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=C3=ADa y Procesos > Industriales > > > > > > member of: > > Legal Notice - Privacy policy > > --f403045d91f83219ca055e836e62 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hey Noelia,

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

Regar= ds,
Donald

On Mon, Nov 13, 2017 at 7:51 AM, Noelia Os=C3=A9s Fern=C3= =A1ndez <noses@vicomtech.org> wrote:
I forgot to mention that pio status<= /b> reports my system is all ready to go :(

but it isn't t= rue. I can't import the data.
=

On 13 November 2017 at 16:= 47, Noelia Os=C3=A9s Fern=C3=A1ndez <noses@vicomtech.org> = wrote:
Hi,

It has happened several times already th= at 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):
=C2=A0 File &= quot;data/import_eventserver.py", line 63, in <module>
=C2=A0= =C2=A0=C2=A0 import_events(client, args.file)
=C2=A0 File "data/imp= ort_eventserver.py", line 33, in import_events
=C2=A0=C2=A0=C2=A0 p= roperties=3D { "rating" : float(data[2]) }
=C2=A0 File "/= usr/local/lib/python2.7/dist-packages/predictionio/__init__.py&qu= ot;, line 247, in create_event
=C2=A0=C2=A0=C2=A0 event_time).get_respon= se()
=C2=A0 File "/usr/local/lib/python2.7/dist-packages/predi= ctionio/connection.py", line 111, in get_response
=C2=A0=C2=A0= =C2=A0 self._response =3D self.rfunc(tmp_response)
=C2=A0 File "/us= r/local/lib/python2.7/dist-packages/predictionio/__init__.py"= ;, line 118, in _acreate_resp
=C2=A0=C2=A0=C2=A0 (response.error, respon= se.request))
predictionio.NotCreatedError: Exception happened: timed out= for request POST /events.json?accessKey=3DXQewLhG4RfqP1zAMH9y3E5c4wd0= _vFYRYgQIMX3gxluzNlTI6N_M16z_CjjV9zAY {'event': 'rate'= , 'eventTime': '2017-11-13T15:32:24.506+0000', 'en= tityType': 'user', 'targetEntityId': '31', '= ;properties': {'rating': 2.5}, 'entityId': '1',= 'targetEntityType': 'item'} /events.json?accessKey=3DXQewL= hG4RfqP1zAMH9y3E5c4wd0_vFYRYgQIMX3gxluzNlTI6N_M16z_CjjV9zAY?= event=3Drate&eventTime=3D2017-11-13T15%3A32%3A24.506%2B0000&entityType=3Duser&targetEntityId=3D31&properties=3D%7B%27ra= ting%27%3A+2.5%7D&entityId=3D1&targetEntityType=3Ditem

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
the terminal just hangs there, it do= esn't print any output nor error messages.

Any help is muc= h appreciated,
Noelia
<= div class=3D"m_5737247921866065482m_-1452335867909292793gmail_signature"><= /tr>


--


<= br>




=

Noeli= a Os=C3=A9s Fern=C3=A1ndez, PhD
Senior Researcher |
Investigadora S= enior


noses@vicomtech.org
+[3= 4]=C2=A0943=C2=A030=C2=A092=C2=A030
Data Intelligenc= e for Energy and
Industrial Processes | Inteligencia
de Datos para En= erg=C3=ADa y Procesos
Industriales


=C2=A0=C2=A0

member of:=C2= =A0=C2=A0=C2=A0=C2=A0=C2= =A0

<= a href=3D"http://www.vicomtech.org/en/proteccion-datos" style=3D"color:blac= k" target=3D"_blank">Legal Notice - Privacy policy

--f403045d91f83219ca055e836e62--