Currently the app master doesn't run user code and the footprint is pretty small

Sent from my iPhone

On Apr 30, 2013, at 7:26 PM, Nitin Motgi <notifications@github.com> wrote:

> In src/main/java/com/continuuity/weave/internal/yarn/YarnWeavePreparer.java:
> 
> > +        "java", "-cp", "appMaster.jar", ApplicationMasterMain.class.getName(),
> > +        "1>/tmp/out", "2>/tmp/err"
> > +      ));
> > +
> > +      containerLaunchContext.setEnvironment(ImmutableMap.<String, String>builder()
> > +                                              .put(EnvKeys.WEAVE_CONTAINER_ZK, zkConnectStr)
> > +                                              .put(EnvKeys.WEAVE_SPEC_PATH, "weaveSpec.json")
> > +                                              .put(EnvKeys.WEAVE_CONTAINER_JAR_PATH, "container.jar")
> > +                                              .put(EnvKeys.WEAVE_LOGBACK_PATH, "logback-template.xml")
> > +                                              .put(EnvKeys.WEAVE_APPLICATION_ARGS, encodeArguments(arguments))
> > +                                              .put(EnvKeys.WEAVE_RUNNABLE_ARGS, encodeRunnableArguments(runnableArgs))
> > +                                              .put(EnvKeys.WEAVE_RUN_ID, runId.getId())
> > +                                              .build()
> > +      );
> > +      Resource capability = Records.newRecord(Resource.class);
> > +      capability.setMemory(256);
> Should this be fixed to 256 ?
> 
> —
> Reply to this email directly or view it on GitHub.