Re: Myriad Vagrant Setup Issue
Glad to know it finally worked, Matt. You're always welcome to add anything that is missing from documentation, and anything useful that may help troubleshoot mesos/myriad issues for new users too. - Sarjeet Singh On Mon, Jan 18, 2016 at 10:31 PM, Matthew J. Loppatto < mloppa...@keywcorp.com> wrote: > I was looking through more of my mesos slave stderr logs and found a > message in one of them that said there was no class defined for > myriad_executor. Adding the following to my yarn-site.xml file resolved > this issue: > > > yarn.nodemanager.aux-services.myriad_executor.class > org.apache.myriad.executor.MyriadExecutorAuxService > > > Now my node manager is in a running state and appears to be staying there > :) > > I'm not sure if this is related to the stderr message below but all seems > to be working now. > > As a first time user of Myriad, I was planning on adding info to the setup > guide to clarify things that weren't immediately obvious to me while > setting it up. Let me know if there would be any interest in this. > > Thanks everyone for your help! > Matt > > > From: Matthew J. Loppatto [mloppa...@keywcorp.com] > Sent: Monday, January 18, 2016 7:53 AM > To: dev@myriad.incubator.apache.org > Subject: RE: Myriad Vagrant Setup Issue > > Hi all, > > My latest stdout logs are empty. My latest stderr logs in > /tmp/mesos/slaves/... show only the following: > > ABORT: > (/tmp/mesos-build/mesos-repo/3rdparty/libprocess/src/subprocess.cpp:177): > Failed to os::execvpe in childMain: Argument list too long*** Aborted at > 1452885649 (unix time) try "date -d @1452885649" if you are using GNU date > *** > PC: @ 0x7f670062fcc9 (unknown) > *** SIGABRT (@0x41a4) received by PID 16804 (TID 0x7f66f7119700) from PID > 16804; stack trace: *** > @ 0x7f67009ce340 (unknown) > @ 0x7f670062fcc9 (unknown) > @ 0x7f67006330d8 (unknown) > @ 0x40ac42 _Abort() > @ 0x40ac7c _Abort() > @ 0x7f670234a1ed process::childMain() > @ 0x7f670234c23d std::_Function_handler<>::_M_invoke() > @ 0x7f67006f347d (unknown) > > > ____________ > From: Swapnil Daingade [sdaing...@maprtech.com] > Sent: Friday, January 15, 2016 5:03 PM > To: dev@myriad.incubator.apache.org > Subject: Re: Myriad Vagrant Setup Issue > > Hi Matt, > > Looks like the Mesos slave now launches the NodeManager mesos task. > However, the NodeManager seems to be dying after a while. > > The log files for the NodeManager Mesos task (that Darin mentioned) below > should help figure out why the NodeManager died. > Could you please post those files as well. > > Regards > Swapnil > > > On Fri, Jan 15, 2016 at 11:42 AM, Darin Johnson <dbjohnson1...@gmail.com> > wrote: > > > Matt, if you can't access the UI, on the slave you should still be able > to > > access stderr and stdout going to: > > > > /tmp/mesos/slaves//frameworks/ representing > > frameworkID>/executors/myriad_executor/runs/latest/stderr > > > > /tmp/mesos/slaves//frameworks/ representing > > frameworkID>/executors/myriad_executor/runs/latest/stdout > > Replace /tmp/mesos/ with your workdir (likely /var/run/mesos/ or > > /tmp/mesos). The error messages here are usually informative. > > > > On Fri, Jan 15, 2016 at 11:13 AM, Matthew J. Loppatto < > > mloppa...@keywcorp.com> wrote: > > > > > Hey Darin, > > > > > > For some reason my Mesos UI hangs when loading the logs but I posted > the > > > contents of my mesos slave logs in /var/log/mesos to this public Gist: > > > https://gist.github.com/FearTheParrot/b00aa7eee9ae169498d3 > > > > > > Matt > > > > > > -Original Message- > > > From: Darin Johnson [mailto:dbjohnson1...@gmail.com] > > > Sent: Friday, January 15, 2016 10:55 AM > > > To: Dev > > > Subject: Re: Myriad Vagrant Setup Issue > > > > > > Hey Matt, if you look at the mesos ui is there any information in the > > > stderr or stdout of the Slave Host it's staging on? > > > > > > Darin > > > > > > On Fri, Jan 15, 2016 at 10:36 AM, Matthew J. Loppatto < > > > mloppa...@keywcorp.com> wrote: > > > > > > > I've gotten a little farther on this issue by increasing the mesos > > > > slave memory to 4 GB from 2GB. The node manager task get launched > and > > > > sits in the STAGING state for a minute and then the mesos-slave.INFO > > log > >
Re: Myriad Vagrant Setup Issue
Hey Matt, if you look at the mesos ui is there any information in the stderr or stdout of the Slave Host it's staging on? Darin On Fri, Jan 15, 2016 at 10:36 AM, Matthew J. Loppatto < mloppa...@keywcorp.com> wrote: > I've gotten a little farther on this issue by increasing the mesos slave > memory to 4 GB from 2GB. The node manager task get launched and sits in > the STAGING state for a minute and then the mesos-slave.INFO log shows: > > I0115 15:19:12.114537 30903 slave.cpp:3841] Terminating executor > myriad_executor20160115-145750-344821002-5050-30838-20160115-145750-344821002-5050-30838-O18020160115-145750-344821002-5050-30838-S0 > of framework 20160115-145750-344821002-5050-30838- because it did not > register within 1mins > > I then increased the mesos slave's executor_registration_timeout setting > from 1mins to 5mins to see if that would make a difference but still get > the following in the log: > > I0115 15:19:12.114537 30903 slave.cpp:3841] Terminating executor > myriad_executor20160115-145750-344821002-5050-30838-20160115-145750-344821002-5050-30838-O18020160115-145750-344821002-5050-30838-S0 > of framework 20160115-145750-344821002-5050-30838- because it did not > register within 5mins > > Is there any guidance on why the Myriad executor fails to register with > the Mesos slave? > > Thanks, > Matt > > -Original Message- > From: Matthew J. Loppatto > Sent: Thursday, January 14, 2016 2:25 PM > To: 'dev@myriad.incubator.apache.org' > Subject: RE: Myriad Vagrant Setup Issue > > Sarjeet, > > Thanks for the reply. I modified the medium profile in my > myriad-config-default.yml file to use 1 cpu and 1024 MB mem and am seeing a > similar issue in the YARN resource manager log: > > Offer not sufficient for task with, cpu: 1.4, memory: 2432.0, ports: 1001 > > If I try lowering the medium profile memory below 1024 I get the following > message in the log: > > NodeManager from vagrant-ubuntu-trusty-64 doesn’t satisfy minimum > allocations, Sending SHUTDOWN signal to NodeManager. > > Increasing the memory of the VM to 6 GB also didn't solve the issue. Are > there any other measures I can take to resolve the insufficient resource > messages? > > Thanks, > Matt > > -Original Message----- > From: sarjeet singh [mailto:sarje...@usc.edu] > Sent: Thursday, January 14, 2016 12:41 PM > To: dev@myriad.incubator.apache.org > Subject: Re: Myriad Vagrant Setup Issue > > Matthew, > > You can modify profile configurations for Nodemanagers in > myriad-config-default.yml and reduce medium (default) NM configuration to > match with your VM capacity so a default NM (medium profile) could launch > without any issue. > > - Sarjeet Singh > > On Thu, Jan 14, 2016 at 10:56 PM, Matthew J. Loppatto < > mloppa...@keywcorp.com> wrote: > > > Hi, > > > > I'm trying to setup Myriad for an R project at my company but I'm > > having some trouble even getting the Vagrant VM working properly. I > > followed the instructions here: > > > > https://github.com/apache/incubator-myriad/blob/master/docs/vagrant.md > > > > with some minor corrections but the Node Manager fails to start. It > > looks like a resource issue based on the log output. The Mesos UI > > shows a slave process with 2 cpu and 2 GB mem, but the log states the > > task requires 4 cpu and 5.5 GB mem. > > > > I've detailed my configuration and log output in this public Gist: > > > > https://gist.github.com/FearTheParrot/626259c23a854645fcbf > > > > Would it be possible to provision the Mesos slave with more resources > > while also reducing the profile size of the Node Manager? The Vagrant > > VM only has 4 GB ram and 2 cpu. > > > > Any help would be appreciated. > > > > Thanks! > > Matt > > >
RE: Myriad Vagrant Setup Issue
Hey Darin, For some reason my Mesos UI hangs when loading the logs but I posted the contents of my mesos slave logs in /var/log/mesos to this public Gist: https://gist.github.com/FearTheParrot/b00aa7eee9ae169498d3 Matt -Original Message- From: Darin Johnson [mailto:dbjohnson1...@gmail.com] Sent: Friday, January 15, 2016 10:55 AM To: Dev Subject: Re: Myriad Vagrant Setup Issue Hey Matt, if you look at the mesos ui is there any information in the stderr or stdout of the Slave Host it's staging on? Darin On Fri, Jan 15, 2016 at 10:36 AM, Matthew J. Loppatto < mloppa...@keywcorp.com> wrote: > I've gotten a little farther on this issue by increasing the mesos > slave memory to 4 GB from 2GB. The node manager task get launched and > sits in the STAGING state for a minute and then the mesos-slave.INFO log > shows: > > I0115 15:19:12.114537 30903 slave.cpp:3841] Terminating executor > myriad_executor20160115-145750-344821002-5050-30838-20160115-14575 > 0-344821002-5050-30838-O18020160115-145750-344821002-5050-30838-S0 > of framework 20160115-145750-344821002-5050-30838- because it did > not register within 1mins > > I then increased the mesos slave's executor_registration_timeout > setting from 1mins to 5mins to see if that would make a difference but > still get the following in the log: > > I0115 15:19:12.114537 30903 slave.cpp:3841] Terminating executor > myriad_executor20160115-145750-344821002-5050-30838-20160115-14575 > 0-344821002-5050-30838-O18020160115-145750-344821002-5050-30838-S0 > of framework 20160115-145750-344821002-5050-30838- because it did > not register within 5mins > > Is there any guidance on why the Myriad executor fails to register > with the Mesos slave? > > Thanks, > Matt > > -Original Message- > From: Matthew J. Loppatto > Sent: Thursday, January 14, 2016 2:25 PM > To: 'dev@myriad.incubator.apache.org' > Subject: RE: Myriad Vagrant Setup Issue > > Sarjeet, > > Thanks for the reply. I modified the medium profile in my > myriad-config-default.yml file to use 1 cpu and 1024 MB mem and am > seeing a similar issue in the YARN resource manager log: > > Offer not sufficient for task with, cpu: 1.4, memory: 2432.0, ports: > 1001 > > If I try lowering the medium profile memory below 1024 I get the > following message in the log: > > NodeManager from vagrant-ubuntu-trusty-64 doesn’t satisfy minimum > allocations, Sending SHUTDOWN signal to NodeManager. > > Increasing the memory of the VM to 6 GB also didn't solve the issue. > Are there any other measures I can take to resolve the insufficient > resource messages? > > Thanks, > Matt > > -Original Message----- > From: sarjeet singh [mailto:sarje...@usc.edu] > Sent: Thursday, January 14, 2016 12:41 PM > To: dev@myriad.incubator.apache.org > Subject: Re: Myriad Vagrant Setup Issue > > Matthew, > > You can modify profile configurations for Nodemanagers in > myriad-config-default.yml and reduce medium (default) NM configuration > to match with your VM capacity so a default NM (medium profile) could > launch without any issue. > > - Sarjeet Singh > > On Thu, Jan 14, 2016 at 10:56 PM, Matthew J. Loppatto < > mloppa...@keywcorp.com> wrote: > > > Hi, > > > > I'm trying to setup Myriad for an R project at my company but I'm > > having some trouble even getting the Vagrant VM working properly. I > > followed the instructions here: > > > > https://github.com/apache/incubator-myriad/blob/master/docs/vagrant. > > md > > > > with some minor corrections but the Node Manager fails to start. It > > looks like a resource issue based on the log output. The Mesos UI > > shows a slave process with 2 cpu and 2 GB mem, but the log states > > the task requires 4 cpu and 5.5 GB mem. > > > > I've detailed my configuration and log output in this public Gist: > > > > https://gist.github.com/FearTheParrot/626259c23a854645fcbf > > > > Would it be possible to provision the Mesos slave with more > > resources while also reducing the profile size of the Node Manager? > > The Vagrant VM only has 4 GB ram and 2 cpu. > > > > Any help would be appreciated. > > > > Thanks! > > Matt > > >
RE: Myriad Vagrant Setup Issue
Hi Swapnil, My yarn-site.xml was missing this aux-service. I added that value in and my configs now look like this: https://gist.github.com/FearTheParrot/626259c23a854645fcbf Upon starting the resource manager, I saw this repeat in the resource manager log file: 2016-01-15 19:08:13,999 INFO org.apache.myriad.scheduler.event.handlers.StatusUpdateEventHandler: Status Update for task: nm.medium.bba9f565-786b-4cad-9d6f-dc4eeb336838 | state: TASK_LOST 2016-01-15 19:08:14,950 INFO org.apache.myriad.scheduler.event.handlers.ResourceOffersEventHandler: Received offers 1 2016-01-15 19:08:14,955 INFO org.apache.myriad.scheduler.event.handlers.ResourceOffersEventHandler: Launching task: nm.medium.bba9f565-786b-4cad-9d6f-dc4eeb336838 using offer: value: "20160115-190459-344821002-5050-2456-O1" 2016-01-15 19:08:17,057 INFO org.apache.myriad.scheduler.event.handlers.StatusUpdateEventHandler: Status Update for task: nm.medium.bba9f565-786b-4cad-9d6f-dc4eeb336838 | state: TASK_LOST 2016-01-15 19:08:17,954 INFO org.apache.myriad.scheduler.event.handlers.ResourceOffersEventHandler: Received offers 1 2016-01-15 19:08:17,956 INFO org.apache.myriad.scheduler.event.handlers.ResourceOffersEventHandler: Launching task: nm.medium.bba9f565-786b-4cad-9d6f-dc4eeb336838 using offer: value: "20160115-190459-344821002-5050-2456-O2" 2016-01-15 19:08:19,987 INFO org.apache.myriad.scheduler.event.handlers.StatusUpdateEventHandler: Status Update for task: nm.medium.bba9f565-786b-4cad-9d6f-dc4eeb336838 | state: TASK_LOST 2016-01-15 19:08:20,957 INFO org.apache.myriad.scheduler.event.handlers.ResourceOffersEventHandler: Received offers 1 2016-01-15 19:08:20,959 INFO org.apache.myriad.scheduler.event.handlers.ResourceOffersEventHandler: Launching task: nm.medium.bba9f565-786b-4cad-9d6f-dc4eeb336838 using offer: value: "20160115-190459-344821002-5050-2456-O3" This output is different than what I was seeing before. Instead of failing, the task is now being lost. Is there anything else I'm missing in my yarn/myriad configs? Thanks! Matt From: Swapnil Daingade [sdaing...@maprtech.com] Sent: Friday, January 15, 2016 1:10 PM To: dev@myriad.incubator.apache.org Subject: Re: Myriad Vagrant Setup Issue Hi Matt, Can you please check your yarn-site.xml for the following property yarn.nodemanager.aux-services The value for the property should contain 'myriad _executor' in addition to other entries. The various aux service entries are comma separated and there is no space between entries. The myriad executor runs as a NodeManager auxillary service. If this entry is not present, the executor service will not be started and the Mesos task will eventually timeout. Regards Swapnil On Fri, Jan 15, 2016 at 8:13 AM, Matthew J. Loppatto <mloppa...@keywcorp.com > wrote: > Hey Darin, > > For some reason my Mesos UI hangs when loading the logs but I posted the > contents of my mesos slave logs in /var/log/mesos to this public Gist: > https://gist.github.com/FearTheParrot/b00aa7eee9ae169498d3 > > Matt > > -Original Message- > From: Darin Johnson [mailto:dbjohnson1...@gmail.com] > Sent: Friday, January 15, 2016 10:55 AM > To: Dev > Subject: Re: Myriad Vagrant Setup Issue > > Hey Matt, if you look at the mesos ui is there any information in the > stderr or stdout of the Slave Host it's staging on? > > Darin > > On Fri, Jan 15, 2016 at 10:36 AM, Matthew J. Loppatto < > mloppa...@keywcorp.com> wrote: > > > I've gotten a little farther on this issue by increasing the mesos > > slave memory to 4 GB from 2GB. The node manager task get launched and > > sits in the STAGING state for a minute and then the mesos-slave.INFO log > shows: > > > > I0115 15:19:12.114537 30903 slave.cpp:3841] Terminating executor > > myriad_executor20160115-145750-344821002-5050-30838-20160115-14575 > > 0-344821002-5050-30838-O18020160115-145750-344821002-5050-30838-S0 > > of framework 20160115-145750-344821002-5050-30838- because it did > > not register within 1mins > > > > I then increased the mesos slave's executor_registration_timeout > > setting from 1mins to 5mins to see if that would make a difference but > > still get the following in the log: > > > > I0115 15:19:12.114537 30903 slave.cpp:3841] Terminating executor > > myriad_executor20160115-145750-344821002-5050-30838-20160115-14575 > > 0-344821002-5050-30838-O18020160115-145750-344821002-5050-30838-S0 > > of framework 20160115-145750-344821002-5050-30838- because it did > > not register within 5mins > > > > Is there any guidance on why the Myriad executor fails to register > > with the Mesos slave? > > > > Thanks, > > Matt > > > > -Original Message- &
Re: Myriad Vagrant Setup Issue
Hi Matt, Can you please check your yarn-site.xml for the following property yarn.nodemanager.aux-services The value for the property should contain 'myriad _executor' in addition to other entries. The various aux service entries are comma separated and there is no space between entries. The myriad executor runs as a NodeManager auxillary service. If this entry is not present, the executor service will not be started and the Mesos task will eventually timeout. Regards Swapnil On Fri, Jan 15, 2016 at 8:13 AM, Matthew J. Loppatto <mloppa...@keywcorp.com > wrote: > Hey Darin, > > For some reason my Mesos UI hangs when loading the logs but I posted the > contents of my mesos slave logs in /var/log/mesos to this public Gist: > https://gist.github.com/FearTheParrot/b00aa7eee9ae169498d3 > > Matt > > -Original Message- > From: Darin Johnson [mailto:dbjohnson1...@gmail.com] > Sent: Friday, January 15, 2016 10:55 AM > To: Dev > Subject: Re: Myriad Vagrant Setup Issue > > Hey Matt, if you look at the mesos ui is there any information in the > stderr or stdout of the Slave Host it's staging on? > > Darin > > On Fri, Jan 15, 2016 at 10:36 AM, Matthew J. Loppatto < > mloppa...@keywcorp.com> wrote: > > > I've gotten a little farther on this issue by increasing the mesos > > slave memory to 4 GB from 2GB. The node manager task get launched and > > sits in the STAGING state for a minute and then the mesos-slave.INFO log > shows: > > > > I0115 15:19:12.114537 30903 slave.cpp:3841] Terminating executor > > myriad_executor20160115-145750-344821002-5050-30838-20160115-14575 > > 0-344821002-5050-30838-O18020160115-145750-344821002-5050-30838-S0 > > of framework 20160115-145750-344821002-5050-30838- because it did > > not register within 1mins > > > > I then increased the mesos slave's executor_registration_timeout > > setting from 1mins to 5mins to see if that would make a difference but > > still get the following in the log: > > > > I0115 15:19:12.114537 30903 slave.cpp:3841] Terminating executor > > myriad_executor20160115-145750-344821002-5050-30838-20160115-14575 > > 0-344821002-5050-30838-O18020160115-145750-344821002-5050-30838-S0 > > of framework 20160115-145750-344821002-5050-30838- because it did > > not register within 5mins > > > > Is there any guidance on why the Myriad executor fails to register > > with the Mesos slave? > > > > Thanks, > > Matt > > > > -Original Message- > > From: Matthew J. Loppatto > > Sent: Thursday, January 14, 2016 2:25 PM > > To: 'dev@myriad.incubator.apache.org' > > Subject: RE: Myriad Vagrant Setup Issue > > > > Sarjeet, > > > > Thanks for the reply. I modified the medium profile in my > > myriad-config-default.yml file to use 1 cpu and 1024 MB mem and am > > seeing a similar issue in the YARN resource manager log: > > > > Offer not sufficient for task with, cpu: 1.4, memory: 2432.0, ports: > > 1001 > > > > If I try lowering the medium profile memory below 1024 I get the > > following message in the log: > > > > NodeManager from vagrant-ubuntu-trusty-64 doesn’t satisfy minimum > > allocations, Sending SHUTDOWN signal to NodeManager. > > > > Increasing the memory of the VM to 6 GB also didn't solve the issue. > > Are there any other measures I can take to resolve the insufficient > > resource messages? > > > > Thanks, > > Matt > > > > -Original Message- > > From: sarjeet singh [mailto:sarje...@usc.edu] > > Sent: Thursday, January 14, 2016 12:41 PM > > To: dev@myriad.incubator.apache.org > > Subject: Re: Myriad Vagrant Setup Issue > > > > Matthew, > > > > You can modify profile configurations for Nodemanagers in > > myriad-config-default.yml and reduce medium (default) NM configuration > > to match with your VM capacity so a default NM (medium profile) could > > launch without any issue. > > > > - Sarjeet Singh > > > > On Thu, Jan 14, 2016 at 10:56 PM, Matthew J. Loppatto < > > mloppa...@keywcorp.com> wrote: > > > > > Hi, > > > > > > I'm trying to setup Myriad for an R project at my company but I'm > > > having some trouble even getting the Vagrant VM working properly. I > > > followed the instructions here: > > > > > > https://github.com/apache/incubator-myriad/blob/master/docs/vagrant. > > > md > > > > > > with some minor corrections but the Node Manager fails to start. It > > > looks like a resource issue based on the log output. The Mesos UI > > > shows a slave process with 2 cpu and 2 GB mem, but the log states > > > the task requires 4 cpu and 5.5 GB mem. > > > > > > I've detailed my configuration and log output in this public Gist: > > > > > > https://gist.github.com/FearTheParrot/626259c23a854645fcbf > > > > > > Would it be possible to provision the Mesos slave with more > > > resources while also reducing the profile size of the Node Manager? > > > The Vagrant VM only has 4 GB ram and 2 cpu. > > > > > > Any help would be appreciated. > > > > > > Thanks! > > > Matt > > > > > >
Re: Myriad Vagrant Setup Issue
Matt, if you can't access the UI, on the slave you should still be able to access stderr and stdout going to: /tmp/mesos/slaves//frameworks//executors/myriad_executor/runs/latest/stderr /tmp/mesos/slaves//frameworks//executors/myriad_executor/runs/latest/stdout Replace /tmp/mesos/ with your workdir (likely /var/run/mesos/ or /tmp/mesos). The error messages here are usually informative. On Fri, Jan 15, 2016 at 11:13 AM, Matthew J. Loppatto < mloppa...@keywcorp.com> wrote: > Hey Darin, > > For some reason my Mesos UI hangs when loading the logs but I posted the > contents of my mesos slave logs in /var/log/mesos to this public Gist: > https://gist.github.com/FearTheParrot/b00aa7eee9ae169498d3 > > Matt > > -Original Message- > From: Darin Johnson [mailto:dbjohnson1...@gmail.com] > Sent: Friday, January 15, 2016 10:55 AM > To: Dev > Subject: Re: Myriad Vagrant Setup Issue > > Hey Matt, if you look at the mesos ui is there any information in the > stderr or stdout of the Slave Host it's staging on? > > Darin > > On Fri, Jan 15, 2016 at 10:36 AM, Matthew J. Loppatto < > mloppa...@keywcorp.com> wrote: > > > I've gotten a little farther on this issue by increasing the mesos > > slave memory to 4 GB from 2GB. The node manager task get launched and > > sits in the STAGING state for a minute and then the mesos-slave.INFO log > shows: > > > > I0115 15:19:12.114537 30903 slave.cpp:3841] Terminating executor > > myriad_executor20160115-145750-344821002-5050-30838-20160115-14575 > > 0-344821002-5050-30838-O18020160115-145750-344821002-5050-30838-S0 > > of framework 20160115-145750-344821002-5050-30838- because it did > > not register within 1mins > > > > I then increased the mesos slave's executor_registration_timeout > > setting from 1mins to 5mins to see if that would make a difference but > > still get the following in the log: > > > > I0115 15:19:12.114537 30903 slave.cpp:3841] Terminating executor > > myriad_executor20160115-145750-344821002-5050-30838-20160115-14575 > > 0-344821002-5050-30838-O18020160115-145750-344821002-5050-30838-S0 > > of framework 20160115-145750-344821002-5050-30838- because it did > > not register within 5mins > > > > Is there any guidance on why the Myriad executor fails to register > > with the Mesos slave? > > > > Thanks, > > Matt > > > > -Original Message- > > From: Matthew J. Loppatto > > Sent: Thursday, January 14, 2016 2:25 PM > > To: 'dev@myriad.incubator.apache.org' > > Subject: RE: Myriad Vagrant Setup Issue > > > > Sarjeet, > > > > Thanks for the reply. I modified the medium profile in my > > myriad-config-default.yml file to use 1 cpu and 1024 MB mem and am > > seeing a similar issue in the YARN resource manager log: > > > > Offer not sufficient for task with, cpu: 1.4, memory: 2432.0, ports: > > 1001 > > > > If I try lowering the medium profile memory below 1024 I get the > > following message in the log: > > > > NodeManager from vagrant-ubuntu-trusty-64 doesn’t satisfy minimum > > allocations, Sending SHUTDOWN signal to NodeManager. > > > > Increasing the memory of the VM to 6 GB also didn't solve the issue. > > Are there any other measures I can take to resolve the insufficient > > resource messages? > > > > Thanks, > > Matt > > > > -Original Message- > > From: sarjeet singh [mailto:sarje...@usc.edu] > > Sent: Thursday, January 14, 2016 12:41 PM > > To: dev@myriad.incubator.apache.org > > Subject: Re: Myriad Vagrant Setup Issue > > > > Matthew, > > > > You can modify profile configurations for Nodemanagers in > > myriad-config-default.yml and reduce medium (default) NM configuration > > to match with your VM capacity so a default NM (medium profile) could > > launch without any issue. > > > > - Sarjeet Singh > > > > On Thu, Jan 14, 2016 at 10:56 PM, Matthew J. Loppatto < > > mloppa...@keywcorp.com> wrote: > > > > > Hi, > > > > > > I'm trying to setup Myriad for an R project at my company but I'm > > > having some trouble even getting the Vagrant VM working properly. I > > > followed the instructions here: > > > > > > https://github.com/apache/incubator-myriad/blob/master/docs/vagrant. > > > md > > > > > > with some minor corrections but the Node Manager fails to start. It > > > looks like a resource issue based on the log output. The Mesos UI > > > shows a slave process with 2 cpu and 2 GB mem, but the log states > > > the task requires 4 cpu and 5.5 GB mem. > > > > > > I've detailed my configuration and log output in this public Gist: > > > > > > https://gist.github.com/FearTheParrot/626259c23a854645fcbf > > > > > > Would it be possible to provision the Mesos slave with more > > > resources while also reducing the profile size of the Node Manager? > > > The Vagrant VM only has 4 GB ram and 2 cpu. > > > > > > Any help would be appreciated. > > > > > > Thanks! > > > Matt > > > > > >
Re: Myriad Vagrant Setup Issue
Hi Matt, Looks like the Mesos slave now launches the NodeManager mesos task. However, the NodeManager seems to be dying after a while. The log files for the NodeManager Mesos task (that Darin mentioned) below should help figure out why the NodeManager died. Could you please post those files as well. Regards Swapnil On Fri, Jan 15, 2016 at 11:42 AM, Darin Johnson <dbjohnson1...@gmail.com> wrote: > Matt, if you can't access the UI, on the slave you should still be able to > access stderr and stdout going to: > > /tmp/mesos/slaves//frameworks/ frameworkID>/executors/myriad_executor/runs/latest/stderr > > /tmp/mesos/slaves//frameworks/ frameworkID>/executors/myriad_executor/runs/latest/stdout > Replace /tmp/mesos/ with your workdir (likely /var/run/mesos/ or > /tmp/mesos). The error messages here are usually informative. > > On Fri, Jan 15, 2016 at 11:13 AM, Matthew J. Loppatto < > mloppa...@keywcorp.com> wrote: > > > Hey Darin, > > > > For some reason my Mesos UI hangs when loading the logs but I posted the > > contents of my mesos slave logs in /var/log/mesos to this public Gist: > > https://gist.github.com/FearTheParrot/b00aa7eee9ae169498d3 > > > > Matt > > > > -Original Message- > > From: Darin Johnson [mailto:dbjohnson1...@gmail.com] > > Sent: Friday, January 15, 2016 10:55 AM > > To: Dev > > Subject: Re: Myriad Vagrant Setup Issue > > > > Hey Matt, if you look at the mesos ui is there any information in the > > stderr or stdout of the Slave Host it's staging on? > > > > Darin > > > > On Fri, Jan 15, 2016 at 10:36 AM, Matthew J. Loppatto < > > mloppa...@keywcorp.com> wrote: > > > > > I've gotten a little farther on this issue by increasing the mesos > > > slave memory to 4 GB from 2GB. The node manager task get launched and > > > sits in the STAGING state for a minute and then the mesos-slave.INFO > log > > shows: > > > > > > I0115 15:19:12.114537 30903 slave.cpp:3841] Terminating executor > > > myriad_executor20160115-145750-344821002-5050-30838-20160115-14575 > > > 0-344821002-5050-30838-O18020160115-145750-344821002-5050-30838-S0 > > > of framework 20160115-145750-344821002-5050-30838- because it did > > > not register within 1mins > > > > > > I then increased the mesos slave's executor_registration_timeout > > > setting from 1mins to 5mins to see if that would make a difference but > > > still get the following in the log: > > > > > > I0115 15:19:12.114537 30903 slave.cpp:3841] Terminating executor > > > myriad_executor20160115-145750-344821002-5050-30838-20160115-14575 > > > 0-344821002-5050-30838-O18020160115-145750-344821002-5050-30838-S0 > > > of framework 20160115-145750-344821002-5050-30838- because it did > > > not register within 5mins > > > > > > Is there any guidance on why the Myriad executor fails to register > > > with the Mesos slave? > > > > > > Thanks, > > > Matt > > > > > > -Original Message- > > > From: Matthew J. Loppatto > > > Sent: Thursday, January 14, 2016 2:25 PM > > > To: 'dev@myriad.incubator.apache.org' > > > Subject: RE: Myriad Vagrant Setup Issue > > > > > > Sarjeet, > > > > > > Thanks for the reply. I modified the medium profile in my > > > myriad-config-default.yml file to use 1 cpu and 1024 MB mem and am > > > seeing a similar issue in the YARN resource manager log: > > > > > > Offer not sufficient for task with, cpu: 1.4, memory: 2432.0, ports: > > > 1001 > > > > > > If I try lowering the medium profile memory below 1024 I get the > > > following message in the log: > > > > > > NodeManager from vagrant-ubuntu-trusty-64 doesn’t satisfy minimum > > > allocations, Sending SHUTDOWN signal to NodeManager. > > > > > > Increasing the memory of the VM to 6 GB also didn't solve the issue. > > > Are there any other measures I can take to resolve the insufficient > > > resource messages? > > > > > > Thanks, > > > Matt > > > > > > -Original Message- > > > From: sarjeet singh [mailto:sarje...@usc.edu] > > > Sent: Thursday, January 14, 2016 12:41 PM > > > To: dev@myriad.incubator.apache.org > > > Subject: Re: Myriad Vagrant Setup Issue > > > > > > Matthew, > > > > > > You can modify profile configurations for Nodemanagers in > > > myriad-config-default.yml and reduce