Return-Path: X-Original-To: apmail-hive-user-archive@www.apache.org Delivered-To: apmail-hive-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AEB1F1185D for ; Tue, 22 Jul 2014 07:52:27 +0000 (UTC) Received: (qmail 70419 invoked by uid 500); 22 Jul 2014 07:52:25 -0000 Delivered-To: apmail-hive-user-archive@hive.apache.org Received: (qmail 70350 invoked by uid 500); 22 Jul 2014 07:52:25 -0000 Mailing-List: contact user-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hive.apache.org Delivered-To: mailing list user@hive.apache.org Received: (qmail 70340 invoked by uid 99); 22 Jul 2014 07:52:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jul 2014 07:52:25 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mailinglists19@gmail.com designates 209.85.219.51 as permitted sender) Received: from [209.85.219.51] (HELO mail-oa0-f51.google.com) (209.85.219.51) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jul 2014 07:52:20 +0000 Received: by mail-oa0-f51.google.com with SMTP id o6so9233909oag.10 for ; Tue, 22 Jul 2014 00:51:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=tdu4CRQNbDMFY6FNW4G2Vyi2urZyDgYYruLVkNoedqY=; b=SqbmcYFRXiwyLXtoabMDEo5jPx3/rFTucuxegMHe2uG6J+wY65nuPo5JIulZTGjKWD fUn4nCNVJ9x8RBeu4pVYeb7/LVkgxAjnHTHkavbdmdp43eKP2TMfOntsw4Tg3yJmGw+p n7LjgpbOyJhdmkN8iDjagUnL5I/vwmuYffkKHNgn9soFWiud4DxwFP2Gi2iNBxG/3NvI psQawO8MqXzZNc/fyU3wItl9YplpjFwCPn0x5ysCbhB8w4PCFW3XgNivzp0Bp/rV1Ryz UTWWsIgTFDstRkbOYksvEw1pm7L0nZyzkjQ0k620wrFSHPjGOGX7/XcVJa5Q117p/YS3 AdHQ== MIME-Version: 1.0 X-Received: by 10.182.76.38 with SMTP id h6mr45824326obw.8.1406015519905; Tue, 22 Jul 2014 00:51:59 -0700 (PDT) Received: by 10.202.63.8 with HTTP; Tue, 22 Jul 2014 00:51:59 -0700 (PDT) Date: Tue, 22 Jul 2014 00:51:59 -0700 Message-ID: Subject: Get 'TBLPROPERTIES' of a Hive table in Java From: Something Something To: user@hive.apache.org Content-Type: multipart/alternative; boundary=047d7b4503ca9cdb5604fec37f55 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b4503ca9cdb5604fec37f55 Content-Type: text/plain; charset=UTF-8 I am writing a custom InputFormat class in which I need to get the 'TBLPROPETIES' of a Hive Table. This InputFormat will extend the HiveInputFormat. I thought the table properties will be available to me in the 'JobConf', but they are not there. What's the best way to get TBLPROPERTIES of a Hive table in a Java class such as InputFormat? Would greatly appreciate any help. Thanks. --047d7b4503ca9cdb5604fec37f55 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

I am writing a custom InputFormat class in which I need= to=20 get the 'TBLPROPETIES' of a Hive Table. This InputFormat will exte= nd=20 the HiveInputFormat.

I thought the table properties will be available to me in the 'JobCo= nf', but they are not there.

What's the best way to get TBLPROPERTIES of a Hive table in a Java c= lass such as InputFormat?


Would greatly appreciate any help.=C2=A0 Thanks.
--047d7b4503ca9cdb5604fec37f55--