Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-5717

Can't start CLI when path has a space

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4.0
    • Fix Version/s: 4.1.0
    • Component/s: CLI
    • Labels:
      None
    • Release Notes:
      Fixed an issue with starting the CDAP CLI and the CDAP Standalone when the on-disk path has a space in it.
    • Rank:
      1|hzzbif:

      Description

      I downloaded the sdk.zip and unzipped into a directory named "cdap-sdk-3.4.0-SNAPSHOT 2" (note the space). Starting CDAP using ./bin/cdap.sh start worked but created a new directory in the same folder named "cdap-sdk-3.4.0-SNAPSHOT%202" that only contains the data directory.

      Also, when trying to start ./bin/cdap-cli.sh i get the following error:

      [13] → ./bin/cdap-cli.sh
      Error: Could not find or load main class 2.bin....libexec.co.cask.cdap.cdap-cli-3.4.0-SNAPSHOT.jar:.Users.russellsavage.Downloads.cdap-sdk-3.4.0-SNAPSHOT
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chris Chris Gianelloni
                Reporter:
                russellsavage Russ Savage
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: