[
https://issues.apache.org/jira/browse/SAMZA-139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13895279#comment-13895279
]
Garry Turkington commented on SAMZA-139:
----------------------------------------
To add more info the problem is that the deploy directory is specified with an
absolute path. So the script does still work if run from the hello-samza root
directory as bin/grid <arguments> but running from within the bin directory as
./grid <arguments> gives the error.
As suggested replacing any absolute paths with the variables would avoid this.
> Grid Script Fails on Kafka Installation Due to Missing Script Variables
> -----------------------------------------------------------------------
>
> Key: SAMZA-139
> URL: https://issues.apache.org/jira/browse/SAMZA-139
> Project: Samza
> Issue Type: Bug
> Components: build, kafka
> Reporter: Michael Kramer
> Assignee: Martin Kleppmann
> Priority: Minor
> Labels: newbie
>
> I've been using the grid script to bootstrap my system. When it gets to the
> kafka installation, I get the following error:
> sed: can't read deploy/kafka/bin/kafka-server-stop.sh: No such file or
> directory
> This is due to $DEPLOY_ROOT_DIR/$SYSTEM missing from the sed command. After
> adding both variables in, the script completes.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)