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

CLI does not print an error if it can't connect to CDAP

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.1.0, 3.0.1
    • Component/s: CLI
    • Labels:
      None
    • Rank:
      1|hzytjj:

      Description

      If cdap is not running, CLI cannot work. But it silently does nothing.

      $ cdap.sh start
      Starting Standalone CDAP ......................
      Standalone CDAP started successfully.
      Connect to the Console at http://localhost:9999
      
      $ cdap-cli.sh deploy app target/contacts-3.0.0.jar 
      Successfully connected CDAP instance at http://Andreass-Pro.local:10000
      Successfully deployed application
      $ cdap.sh stop
      Stopping Standalone CDAP ..................
      Standalone CDAP stopped successfully.
      
      $ cdap-cli.sh deploy app target/contacts-3.0.0.jar 
      $
      

        Attachments

          Activity

            People

            • Assignee:
              alvin Alvin Wang
              Reporter:
              andreas Andreas Neumann
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: