Great! Thank you, Phong

On 15 December 2017 at 16:47, VI, Tran Tan Phong <tpvit...@prosodie.com>
wrote:

> Hi Noelia,
>
>
>
> Yes of course, simply by using another port, for example 8001.
>
>
>
> Phong
>
>
>
> *De :* Noelia Osés Fernández [mailto:no...@vicomtech.org]
> *Envoyé :* jeudi 14 décembre 2017 16:16
> *À :* user@predictionio.apache.org
> *Cc :* u...@predictionio.incubator.apache.org
> *Objet :* Re: Error: "unable to undeploy"
>
>
>
> Just one more question :)
>
> Is it possible to deploy more than one app in a single PIO? If so, how can
> I do it?
>
> Thanks!
>
>
>
> On 14 December 2017 at 15:57, Александр Лактионов <lokotoc...@gmail.com>
> wrote:
>
> Hi Noelia,
>
> you dont have to redeploy your app after train. It will be hot-swapped and
> the previous procces (ran by pio deploy) will change recommendations
> automatically
>
> 14 дек. 2017 г., в 17:56, Noelia Osés Fernández <no...@vicomtech.org>
> написал(а):
>
>
>
> Hi,
>
> The first time after reboot that I train and deploy my PIO app everything
> works well. However, if I then retrain and deploy again, I get the
> following error:
>
>
> [INFO] [MasterActor] Undeploying any existing engine instance at
> http://0.0.0.0:8000
> [ERROR] [MasterActor] Another process might be occupying 0.0.0.0:8000.
> Unable to undeploy.
> [ERROR] [TcpListener] Bind failed for TCP channel on endpoint [/
> 0.0.0.0:8000]
> [WARN] [HttpListener] Bind to /0.0.0.0:8000 failed
> [ERROR] [MasterActor] Bind failed. Retrying... (2 more trial(s))
> [WARN] [HttpListener] Bind to /0.0.0.0:8000 failed
> [ERROR] [TcpListener] Bind failed for TCP channel on endpoint [/
> 0.0.0.0:8000]
> [ERROR] [MasterActor] Bind failed. Retrying... (1 more trial(s))
> [ERROR] [TcpListener] Bind failed for TCP channel on endpoint [/
> 0.0.0.0:8000]
> [WARN] [HttpListener] Bind to /0.0.0.0:8000 failed
> [ERROR] [MasterActor] Bind failed. Retrying... (0 more trial(s))
> [ERROR] [TcpListener] Bind failed for TCP channel on endpoint [/
> 0.0.0.0:8000]
> [WARN] [HttpListener] Bind to /0.0.0.0:8000 failed
> [ERROR] [MasterActor] Bind failed. Shutting down.
>
>
>
> I thought it was possible to retrain an app that was running and then
> deploy again.
>
> Is this not possible?
>
>
>
> How can I kill the running instance?
>
> I've tried the trick in handmade's integration test but it doesn't work:
>
>
>
> deploy_pid=`jps -lm | grep "onsole deploy" | cut -f 1 -d ' '`
> echo "Killing the deployed test PredictionServer"
> kill "$deploy_pid"
>
>
>
> I still get the same error after doing this.
>
>
>
> Any help is much appreciated.
>
> Best regards,
>
> Noelia
>
>
>
>
>
>
> --
>
> <http://www.vicomtech.org>
>
>
> *Noelia Osés Fernández, PhD*
> Senior Researcher |
> Investigadora Senior
>
>
> no...@vicomtech.org
> +[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>*
>
>
> This message contains information that may be privileged or confidential
> and is the property of the Capgemini Group. It is intended only for the
> person to whom it is addressed. If you are not the intended recipient, you
> are not authorized to read, print, retain, copy, disseminate, distribute,
> or use this message or any part thereof. If you receive this message in
> error, please notify the sender immediately and delete all copies of this
> message.
>



-- 
<http://www.vicomtech.org>

Noelia Osés Fernández, PhD
Senior Researcher |
Investigadora Senior

no...@vicomtech.org
+[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>

Reply via email to