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 8D6CB10E78 for ; Tue, 28 Jan 2014 00:46:59 +0000 (UTC) Received: (qmail 43061 invoked by uid 500); 28 Jan 2014 00:46:53 -0000 Delivered-To: apmail-hive-user-archive@hive.apache.org Received: (qmail 42987 invoked by uid 500); 28 Jan 2014 00:46:53 -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 42972 invoked by uid 99); 28 Jan 2014 00:46:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jan 2014 00:46:53 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of thejas@hortonworks.com designates 209.85.214.182 as permitted sender) Received: from [209.85.214.182] (HELO mail-ob0-f182.google.com) (209.85.214.182) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jan 2014 00:46:48 +0000 Received: by mail-ob0-f182.google.com with SMTP id wm4so7292434obc.41 for ; Mon, 27 Jan 2014 16:46:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=Szaf0dsHGjA1zk9rkOX5TFCJB9yexCuU7405wYPJyXw=; b=mqTuWFsltlND2+gFMNIIEyrXZD5OIOZyVvjlUtkh1W/vTjyJh2ug38FAqksR4yKW1z Dh+MYaBL799Fat8L7W7xM0UmTzGxrcj+9EJtROMtIs9kyZBth5NOq0uCXWAYqa3kr8Is apZtC3Wg91BPXJ+SJCNkfFc82Hh0iOZOHsnKseqwclyVpJPNVdGLOf6ARxcFrLEOfh3d WxGm1qPiHB5k8V9x9MTS9gAuNDXJWtIQXMxh0gY9GIZzO4NKjk1Hstdm9keGJkwqnqZ8 pwcJjnnRj5073bB1khAKrZ832Vyd8958jXgGxsg+7ZiM3bxiU0Eg0L3COojwSQF5a+IZ KuBA== X-Gm-Message-State: ALoCoQk+9RZGykNzoRc/TrMyGZUb0F6P1wuro3ETnNjTYBnazmggDjAiv+Od3jDqTqKKCSV099w+WV9Yi57eAJc13oGBlGv45x20Yof5WJwGScYgfTMeR/Q= MIME-Version: 1.0 X-Received: by 10.182.161.1 with SMTP id xo1mr5151940obb.19.1390869988186; Mon, 27 Jan 2014 16:46:28 -0800 (PST) Received: by 10.76.152.132 with HTTP; Mon, 27 Jan 2014 16:46:28 -0800 (PST) In-Reply-To: References: Date: Mon, 27 Jan 2014 16:46:28 -0800 Message-ID: Subject: Re: HIVE+MAPREDUCE From: Thejas Nair To: "" Cc: user@hadoop.apache.org Content-Type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org You can use hcatalog to write into hive tables from mapreduce. See https://cwiki.apache.org/confluence/display/Hive/HCatalog+InputOutput . Another example is in https://gist.github.com/thejasmn/7607406 On Tue, Jan 21, 2014 at 12:21 AM, Ranjini Rathinam wrote: > Hi, > > Need to load the data into hive table using mapreduce, using java. > > Please suggest the code related to hive +mapreduce. > > > > Thanks in advance > > Ranjini R > > -- CONFIDENTIALITY NOTICE NOTICE: This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential, privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any printing, copying, dissemination, distribution, disclosure or forwarding of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank You.