You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Peter Slawski (JIRA)" <ji...@apache.org> on 2016/07/19 21:31:20 UTC

[jira] [Created] (HIVE-14288) Suppress 'which: no hbase' error message outputted from hive cli

Peter Slawski created HIVE-14288:
------------------------------------

             Summary: Suppress 'which: no hbase' error message outputted from hive cli
                 Key: HIVE-14288
                 URL: https://issues.apache.org/jira/browse/HIVE-14288
             Project: Hive
          Issue Type: Bug
          Components: CLI
    Affects Versions: 2.1.0
            Reporter: Peter Slawski
            Assignee: Peter Slawski
            Priority: Minor


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.

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

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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)