hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-14678) Hive-on-MR deprecation warning is not diplayed when engine is set to capital letter 'MR'
Date Sat, 03 Sep 2016 00:04:21 GMT

    [ https://issues.apache.org/jira/browse/HIVE-14678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15459947#comment-15459947
] 

Ashutosh Chauhan commented on HIVE-14678:
-----------------------------------------

LGTM +1

> Hive-on-MR deprecation warning  is not diplayed when engine is set to capital letter
'MR'
> -----------------------------------------------------------------------------------------
>
>                 Key: HIVE-14678
>                 URL: https://issues.apache.org/jira/browse/HIVE-14678
>             Project: Hive
>          Issue Type: Bug
>          Components: Beeline, CLI, Configuration, Hive
>    Affects Versions: 2.1.0, 2.2.0
>            Reporter: Raja Mannem
>            Assignee: Sergey Shelukhin
>            Priority: Trivial
>         Attachments: HIVE-14678.patch
>
>
> hive> SET hive.execution.engine=mr;
> Hive-on-MR is deprecated in Hive 2 and may not be available in the future versions. Consider
using a different execution engine (i.e. tez, spark) or using Hive 1.X releases.
> hive> 
> hive> SET hive.execution.engine=MR;
> hive>
> This warning seems to be generated only with small letter 'mr' wand not with capital
letter "MR".
> generateMrDeprecationWarning() seem to be displaying this warning and is being called
in different classes. 
> Ex: https://github.com/apache/hive/blob/master/cli/src/java/org/apache/hadoop/hive/cli/CliDriver.java#L754
> https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/Driver.java#L1900



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

Mime
View raw message