Hi Pat, I've followed your suggestion to check all services but I get an error with hdfs:
$ hdfs dfs -ls No command 'hdfs' found, did you mean: Command 'hdfls' from package 'hdf4-tools' (universe) Command 'hfs' from package 'hfsutils-tcltk' (universe) hdfs: command not found Which one is the one I need to use? Thanks for your help! On 21 November 2017 at 21:14, Pat Ferrel <[email protected]> wrote: > 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 <[email protected]> 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. > > Regards, > Donald > > On Mon, Nov 13, 2017 at 7:51 AM, Noelia Osés Fernández < > [email protected]> 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 <[email protected]> >> 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-13T >>> 15%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 >> >> [email protected] >> +[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> >> > > > -- <http://www.vicomtech.org> Noelia Osés Fernández, PhD Senior Researcher | Investigadora Senior [email protected] +[34] 943 30 92 30 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>
