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

cdap-cli script fails if its under a path which has spaces in it

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.5.0
    • Fix Version/s: 3.5.0
    • Component/s: CLI
    • Labels:
    • Rank:
      1|hzzj7z:

      Description

      If cdap-cli.sh script is under somepath which has whitespaces in it it fails to launch cli

      Error: Could not find or load main class 2.cdap-sdk-3.5.0-SNAPSHOT.bin....libexec.co.cask.cdap.cdap-cli-3.5.0-SNAPSHOT.jar:.Users.rsinha.Downloads.SomeDir
      

      Here SomeDir had space in it and was SomeDir 2

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nitin Nitin Motgi
                Reporter:
                rsinha Rohit Sinha
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: