Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-257

hello-samza bin/grid script exits when running bootstrap the first time

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.7.0
    • hello-samza
    • None

    Description

      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.

      Attachments

        Activity

          People

            davidzchen David Chen
            davidzchen David Chen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: