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

CDAP CLI should not connect successfully if given a wrong IP and port

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Component/s: CLI
    • Labels:
      None
    • Release Notes:
      Don't connect to CDAP successfully in CLI when the hostname and port are incorrect.
    • Rank:
      1|hzz3hz:

      Description

      Noticed this in a customer installation. Connecting cdap cli to host and port where UI runs connects successfully. Any subsequent commands will fail after this.

      bin/cdap-cli.sh -u localhost:9999
      Successfully connected to CDAP instance at http://localhost:9999/default
      cdap (http://localhost:9999/default)> 
      

        Attachments

          Activity

            People

            • Assignee:
              alvin Alvin Wang
              Reporter:
              sree Sreevatsan Raman
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: