hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Navis (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HIVE-4737) Allow access to MapredContext
Date Mon, 25 Nov 2013 06:09:35 GMT

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

Navis resolved HIVE-4737.
-------------------------

       Resolution: Implemented
    Fix Version/s: 0.12.0

It's exposed from hive-0.12.0. So I closing this.

> Allow access to MapredContext
> -----------------------------
>
>                 Key: HIVE-4737
>                 URL: https://issues.apache.org/jira/browse/HIVE-4737
>             Project: Hive
>          Issue Type: Improvement
>    Affects Versions: 0.11.0
>            Reporter: Nicolas Lalevée
>             Fix For: 0.12.0
>
>
> In order to tackle HIVE-1016, I have been pointed to HIVE-3628. But MapredContext.get()
is package protected.
> Here is my current work around, a hack which I put in my code:
> {code:java}
> package org.apache.hadoop.hive.ql.exec;
> public class MapredContextAccessor {
>     public static MapredContext get() {
>         return MapredContext.get();
>     }
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message