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

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

     [ https://issues.apache.org/jira/browse/HIVE-14288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Slawski updated HIVE-14288:
---------------------------------
    Attachment: HIVE-14288.1.patch

> 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
>         Attachments: HIVE-14288.1.patch
>
>
> 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)