Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 55F02105B8 for ; Mon, 25 Nov 2013 06:09:39 +0000 (UTC) Received: (qmail 3611 invoked by uid 500); 25 Nov 2013 06:09:37 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 3553 invoked by uid 500); 25 Nov 2013 06:09:37 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 3544 invoked by uid 500); 25 Nov 2013 06:09:36 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 3541 invoked by uid 99); 25 Nov 2013 06:09:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Nov 2013 06:09:35 +0000 Date: Mon, 25 Nov 2013 06:09:35 +0000 (UTC) From: "Navis (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HIVE-4737) Allow access to MapredContext MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-4737?page=3Dcom.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=C3=A9e > Fix For: 0.12.0 > > > In order to tackle HIVE-1016, I have been pointed to HIVE-3628. But Mapre= dContext.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)