Did you rebuild the scheduler jar *after* editing the myriad-config-default.yml ? Currently the .yml file is embedded into the myriad scheduler jar. While you might have placed the modified .yml on the classpath, it's possible myriad is picking up the one embedded into the scheduler jar.
Please try rebuilding the scheduler jar with your modified .yml. Thanks, Santosh On Thu, Jun 11, 2015 at 1:04 PM, Bill Sparks <[email protected]> wrote: > I have a question about to to configure myriad executor to start the YARN > node manager as user "yarn". I though I'd put the correct value in > HADOOP_CONF_DIR/myriad-config-default.yml > > frameworkUser: yarn > > Also I updated both the myriad-executor-0.0.1.jar and myriad-0.0.1.jar to > contain the same configuration, just in case they didn't get the correct > file due to classpath issues. > > But when the executor runs node manager it is as hduser "Myriad User" and > not as yarn. > > E.g. > > 0 0 5714 1 20 0 4000252 50136 futex_ Ssl ? 45:07 > /usr/sbin/mesos-slave > --master=zk://newt-0001-n3:2181,newt-0002-n3:2181,newt-0003-n3:2181/mesos > --log_dir=/var/log/m > 0 0 5720 5714 20 0 100892 596 pipe_w S ? 0:00 \_ > logger -p user.info -t mesos-slave[5714] > 0 0 5721 5714 20 0 100892 708 pipe_w S ? 0:00 \_ > logger -p user.err -t mesos-slave[5714] > 4 40037 6659 5714 20 0 108200 1420 wait Ss ? 0:00 \_ > sh -c echo "export CAPSULE_CACHE_DIR=`pwd` ;echo $CAPSULE_CACHE_DIR; java > -Dcapsule.log=verbose -jar myriad-exec > 0 40037 6666 6659 20 0 20538068 140472 futex_ Sl ? 0:03 > \_ java -Dcapsule.log=verbose -jar myriad-executor-0.0.1.jar > 0 40037 6709 6666 20 0 24559132 431196 futex_ Sl ? 0:12 > \_ /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.9.x86_64/jre/bin/java > -Dcapsule.app=com.ebay.myriad.executor.Myria > 0 40037 42106 6709 20 0 1990188 352052 futex_ Sl ? 0:05 > \_ /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java > -Dproc_nodemanager -Xmx1024m -Dhdp.version=2.2.4.2-2 > > -bash-4.1# grep 40037 /etc/passwd > hduser:x:40037:30550:Myriad user:/var/lib/mesos:/bin/bash > > > > -- > Jonathan (Bill) Sparks > Software Architecture > Cray Inc. > >
