[
https://issues.apache.org/jira/browse/HIVE-21828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16885663#comment-16885663
]
Gopal V commented on HIVE-21828:
--------------------------------
One of those failures is due to an NPE from
{code}
@Override
public void configure(MapredContext context) {
if (context != null) {
if(context.getJobConf().get("hive.use.googleregex.engine").equals("true")){
this.useGoogleRegexEngine=true;
}
}
}
{code}
That needs to be replaced with
org.apache.hadoop.hive.conf.HiveConf.getBoolVar(Configuration, ConfVars)
instead of the String constant and Configuration.get()
> Tez: Use a pre-parsed TezConfiguration from DagUtils
> ----------------------------------------------------
>
> Key: HIVE-21828
> URL: https://issues.apache.org/jira/browse/HIVE-21828
> Project: Hive
> Issue Type: Bug
> Reporter: Gopal V
> Assignee: Attila Magyar
> Priority: Major
> Attachments: HIVE-21828.1.patch, HIVE-21828.2.patch,
> HIVE-21828.3.patch
>
>
> The HS2 tez-site.xml does not change dynamically - the XML parsed components
> of the config can be obtained statically and kept across sessions.
> This allows for the replacing of "new TezConfiguration()" with a HS2 local
> version instead.
> The configuration object however has to reference the right resource file
> (i.e location of tez-site.xml) without reparsing it for each query.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)