Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-12018

beeline --help doesn't return to original prompt

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.2.0
    • 2.0.0
    • Beeline
    • None

    Description

      "beeline --help" displays the help message and returns to beeline prompt. The common pattern is to return to the unix prompt. The intention of any command help is to relaunch the same command with correct parameters.
      One such output is :

      $ beeline --help
      Usage: java org.apache.hive.cli.beeline.BeeLine
      -u <database url> the JDBC URL to connect to
      -n <username> the username to connect as
      -p <password> the password to connect as
      .....

      Beeline version .. by Apache Hive
      beeline>

      The expected return prompt should be "$" (the unix prompt).

      Attachments

        1. HIVE-12018.2.patch
          2 kB
          Mohammad Islam
        2. HIVE-12018.1.patch
          2 kB
          Mohammad Islam

        Activity

          People

            kamrul Mohammad Islam
            kamrul Mohammad Islam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: