Return-Path: X-Original-To: apmail-hadoop-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2855310496 for ; Mon, 30 Dec 2013 05:59:37 +0000 (UTC) Received: (qmail 32521 invoked by uid 500); 30 Dec 2013 05:59:22 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 32430 invoked by uid 500); 30 Dec 2013 05:59:21 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 32423 invoked by uid 99); 30 Dec 2013 05:59:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Dec 2013 05:59:20 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of unmeshabiju@gmail.com designates 209.85.212.45 as permitted sender) Received: from [209.85.212.45] (HELO mail-vb0-f45.google.com) (209.85.212.45) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Dec 2013 05:59:16 +0000 Received: by mail-vb0-f45.google.com with SMTP id i12so5566077vbh.4 for ; Sun, 29 Dec 2013 21:58:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=nf4rxMX7jCkp5Ys1ykC/hh2jD7rIvimqcDOkY7DYsMQ=; b=nJbcSzAHdXkkG0d8COHD5hJidJk6uITDnoEwgNHC1qYqHBq5YyxVXLMVfcBrQlj6Js uGQos7qiCr6fFyFIFqsMapZoSzuakDS+hfnSq075RRknb0mNpxM4GFyRW6pBkDZJvF+6 VPX/Z7ASOLA+r6Z7rZvUcrahiluye+S0cts4bWz5t1POrHSwqs+mCN9kFAoGZMWRXhxh 4ecNjiHkWY2TUIBc05KycEfifzKfGDOLgoYlUhUcqKuNQ4WqbKNUpGA5NyCPBLfYFCdS DCGySX2PuJHHN1AModR3jRTisCzHp8tqXTEvjL28prFrqKhDl1r/iUNBPCKR1gX5pH78 3svQ== MIME-Version: 1.0 X-Received: by 10.58.44.72 with SMTP id c8mr803723vem.37.1388383135567; Sun, 29 Dec 2013 21:58:55 -0800 (PST) Received: by 10.59.8.2 with HTTP; Sun, 29 Dec 2013 21:58:55 -0800 (PST) In-Reply-To: References: Date: Mon, 30 Dec 2013 11:28:55 +0530 Message-ID: Subject: Re: conf.set() and conf.get() From: unmesha sreeveni To: User Hadoop Content-Type: multipart/alternative; boundary=089e013cc1fc9b94be04eeba2350 X-Virus-Checked: Checked by ClamAV on apache.org --089e013cc1fc9b94be04eeba2350 Content-Type: text/plain; charset=ISO-8859-1 but i need to convert it back to object of the same class. If i am converting it to string will it be possible? On Mon, Dec 30, 2013 at 11:16 AM, Harsh J wrote: > If you can store your object in a string format, you should be able to > use Configuration to do so, and I would advise using serialised files > via DistributedCache if it is larger in size, such as 5+ MB. > > On Mon, Dec 30, 2013 at 9:26 AM, unmesha sreeveni > wrote: > > I want to get an object value from Driver to mapper. > > Am i able to store an object value using conf.set. In order to access the > > same value from the driver? > > > > > > -- > > Thanks & Regards > > > > Unmesha Sreeveni U.B > > > > > > > > -- > Harsh J > -- *Thanks & Regards* Unmesha Sreeveni U.B *Junior Developer* http://www.unmeshasreeveni.blogspot.in/ --089e013cc1fc9b94be04eeba2350 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
but i need to convert it back to object of the same class.
If i= am converting it to string will it be possible?


On Mon,= Dec 30, 2013 at 11:16 AM, Harsh J <harsh@cloudera.com> wro= te:
If you can store your object in a string for= mat, you should be able to
use Configuration to do so, and I would advise using serialised files
via DistributedCache if it is larger in size, such as 5+ MB.

On Mon, Dec 30, 2013 at 9:26 AM, unmesha sreeveni <unmeshabiju@gmail.com> wrote:
> I want to get an object value from Driver to mapper.
> Am i able to store an object value using conf.set. In order to access = the
> same value from the driver?
>
>
> --
> Thanks & Regards
>
> Unmesha Sreeveni U.B
>
>



--
Harsh J



--
Thanks & Regards

Unmesha Sreeveni U.B
Junior Developer
http://= www.unmeshasreeveni.blogspot.in/

--089e013cc1fc9b94be04eeba2350--