[ 
https://issues.apache.org/jira/browse/SAMZA-257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13985710#comment-13985710
 ] 

David Chen commented on SAMZA-257:
----------------------------------

Awesome. Thanks, Chris!

> hello-samza bin/grid script exits when running bootstrap the first time
> -----------------------------------------------------------------------
>
>                 Key: SAMZA-257
>                 URL: https://issues.apache.org/jira/browse/SAMZA-257
>             Project: Samza
>          Issue Type: Bug
>          Components: hello-samza
>            Reporter: David Chen
>            Assignee: David Chen
>             Fix For: 0.7.0
>
>         Attachments: 
> 0001-SAMZA-257-Check-whether-YARN-is-installed-in-stop_ya.patch
>
>
> The first time I tried running hello-samza's bin/grid script, the script 
> exited with a "no such file or directory" when trying to invoke the 
> yarn-daemon.sh scripts in {{stop_yarn()}} because {{$DEPLOY_ROOT_DIR/yarn}} 
> does not exist since the script tries to stop the service before installing 
> them.
> The fix is trivial: surround the two invocations with a check to see whether 
> they exist, similar to the other {{stop_*}} functions.
> If this is not because I am running the script incorrectly, I can go ahead 
> and post the patch that fixes this.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to