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

CLI prompt should change to 'DISCONNECTED' after CDAP is stopped

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.0, 3.0.0
    • Fix Version/s: 3.1.0
    • Component/s: CLI
    • Labels:
      None
    • Rank:
      1|hzyttz:

      Description

      Currently, when you have an active shell open to the CLI, and CDAP is stopped, and you execute a command, you get the error 'Error: Connection refused'. However, the prompt still suggests that you're connected to CDAP. It should probably change to 'DISCONNECTED'

      cdap (http://[hostname]:10000/default)> stop adapter dqadapter
      Error: Connection refused
      
      cdap (http://[hostname]:10000/default)> stop adapter dqadapter
      Error: Connection refused
      
      cdap (http://[hostname]:10000/default)>
      

        Attachments

          Activity

            People

            • Assignee:
              jay Jay Jin
              Reporter:
              bhooshan Bhooshan Mogal
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: