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

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

Log workAgile BoardRank to TopRank to BottomAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              petersla Peter Slawski Assign to me
              Reporter:
              petersla Peter Slawski

              Dates

              • Created:
                Updated:

                Issue deployment