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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 3.1.0, 3.0.0
    • None
    • Beeline
    • 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.2.patch
          3 kB
          Janos Gub
        2. HIVE-20586.1.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.patch
          3 kB
          Janos Gub

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: