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

Suppress 'which: no hbase' error message outputted from hive cli

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.1.0
    • Fix Version/s: None
    • Component/s: CLI
    • Labels:
      None
    • Target Version/s:

      Description

      There is an error message that is always outputted from the Hive CLI when HBase is not install. This was introduced in HIVE-12058 which had the intention of removing suppression of such error messages for HBase related logic as it made it harder to debug. However, if HBase is not being used or intentionally not installed, then always printing the same error message does not make sense.

      $ hive
      which: no hbase in (/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin)
      

      To compromise, we could add a --verbose parameter to the Hive CLI to allow such information to be printed out for debugging purposes. But, by default, this error message would be suppressed.

        Attachments

        1. HIVE-14288.1.patch
          2 kB
          Peter Slawski

          Issue Links

            Activity

              People

              • Assignee:
                petersla Peter Slawski
                Reporter:
                petersla Peter Slawski
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: