Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 6B8CBE51B for ; Fri, 28 Dec 2012 18:12:04 +0000 (UTC) Received: (qmail 88019 invoked by uid 500); 28 Dec 2012 18:11:59 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 87886 invoked by uid 500); 28 Dec 2012 18:11:59 -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 Delivered-To: moderator for user@hadoop.apache.org Received: (qmail 3997 invoked by uid 99); 28 Dec 2012 08:17:55 -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 kshivakps@gmail.com designates 209.85.215.44 as permitted sender) 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=7DMhgWfGZFfVHrlYMrT6Jn5VgdDti8Hzt7zfrDQLtOA=; b=Q+qPJ1wmIj6IGJ2wCg9x57M/Ceq4v5s/QKvDBxe/6/T2GAJqdmPdR9e7t4nge0l+Ds g8ulZSzWmGXGzgCvAzoWXqF8gM0EpB24ZbO9xYtjxZKBjzNv173v7+Dqcrk7PKsA3I+k n5vQIH/zkFmnw2c66DLyB0WkJBjf5hh898tDdbJ8JMg3YlwJ2VSnZTy++v7lajo1dgEi is/soPurqKPNerb3zvkGwirY3g0/leaSFh7DjPME2RaBWIE/2GVlL9+m5MwHucjnkvwD rNU5Ws/n1+di8iRzcTCBrrZqkOS+EEeRDSvUD5o3AHrYJDH578P4hfaPqhtRh8Usi1GJ rY4w== MIME-Version: 1.0 Date: Fri, 28 Dec 2012 13:47:26 +0530 Message-ID: Subject: What is the preferred way to pass a small number of configuration parameters to a mapper or reducer From: Kshiva Kps To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=e89a8f22bc293ffad104d1e54b41 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8f22bc293ffad104d1e54b41 Content-Type: text/plain; charset=ISO-8859-1 Which one is current .. What is the preferred way to pass a small number of configuration parameters to a mapper or reducer? *A. *As key-value pairs in the jobconf object. * * *B. *As a custom input key-value pair passed to each mapper or reducer. * * *C. *Using a plain text file via the Distributedcache, which each mapper or reducer reads. * * *D. *Through a static variable in the MapReduce driver class (i.e., the class that submits the MapReduce job). *Answer: B* --e89a8f22bc293ffad104d1e54b41 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable


Which one is current ..


What is the preferred way to pass a small number of configuration parameters to a mapper or reducer?

=A0

=A0

A.=A0 As key-value pairs= in the jobconf object.

=A0

B.=A0 As a custom input = key-value pair passed to each mapper or reducer.

=A0

C.=A0 Using a plain text= file via the Distributedcache, which each mapper or reducer reads.

=A0

= D.=A0 = Through a static variable in the MapReduce driver class (i.e., the class that submits the MapReduce job).

=A0

Answer: B

=A0

--e89a8f22bc293ffad104d1e54b41--