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

Beeline is asking for user/pass when invoked without -u

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.0.0, 3.1.0
    • Fix Version/s: None
    • Component/s: Beeline
    • Labels:
      None

      Description

      Since HIVE-18963 it's possible to define a default connection URL in beeline-site.xml to be able to use beeline without specifying the HS2 JDBC URL.

      When invoked with no arguments, beeline is asking for username/password on the command line. When running with -u and the exact same URL as in beeline-site.xml, it does not ask for username/password.

      I think these two should do exactly the same, given that the URL after -u is the same as in beeline-site.xml:

      beeline -u URL
      beeline
      

        Attachments

        1. HIVE-20586.patch
          3 kB
          Janos Gub
        2. HIVE-20586.2.patch
          3 kB
          Janos Gub
        3. HIVE-20586.1.patch
          3 kB
          Janos Gub
        4. HIVE-20586.1.patch
          3 kB
          Janos Gub
        5. HIVE-20586.1.patch
          3 kB
          Janos Gub
        6. HIVE-20586.1.patch
          3 kB
          Janos Gub

          Issue Links

            Activity

              People

              • Assignee:
                gubjanos Janos Gub
                Reporter:
                dvoros Daniel Voros
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: