You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Yan Fang (JIRA)" <ji...@apache.org> on 2014/07/06 20:55:33 UTC

[jira] [Updated] (SAMZA-293) Running install command of bin/grid alone will not succeed

     [ https://issues.apache.org/jira/browse/SAMZA-293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yan Fang updated SAMZA-293:
---------------------------

    Attachment: SAMZA-293.patch

Quick fix by adding the "mkdir -p" to make the installation available even when there is not deploy directory. Thank you.

> Running install command of bin/grid alone will not succeed
> ----------------------------------------------------------
>
>                 Key: SAMZA-293
>                 URL: https://issues.apache.org/jira/browse/SAMZA-293
>             Project: Samza
>          Issue Type: Bug
>          Components: hello-samza
>            Reporter: Yan Fang
>            Priority: Minor
>              Labels: newbie
>         Attachments: SAMZA-293.patch
>
>
> If we directly run 
> {code}
> bin/grid install [yarn/kafka/zookeeper]
> {code}
> in hello-samza, it will not succeed because it can not find the $BASE_DIR/deploy folder, which is only created in the bootstrap method.
> So we should add 
> {code}
> mkdir -p "$DEPLOY_ROOT_DIR"
> {code}
> in each install method.
> It is helpful because sometimes the users already have some of the applications, such as zookeeper, kafka, running, they only want to install the missing parts, such as yarn. 



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