Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 33165184F3 for ; Mon, 20 Jul 2015 23:09:06 +0000 (UTC) Received: (qmail 71664 invoked by uid 500); 20 Jul 2015 23:09:05 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 71603 invoked by uid 500); 20 Jul 2015 23:09:05 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 71449 invoked by uid 99); 20 Jul 2015 23:09:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jul 2015 23:09:05 +0000 Date: Mon, 20 Jul 2015 23:09:05 +0000 (UTC) From: "Ram Manohar Bheemana (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (MAPREDUCE-6423) MapOutput Sampler MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MAPREDUCE-6423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ram Manohar Bheemana updated MAPREDUCE-6423: -------------------------------------------- Status: Patch Available (was: In Progress) Please review the attached MapOutputSampler.java > MapOutput Sampler > ----------------- > > Key: MAPREDUCE-6423 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-6423 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Reporter: Ram Manohar Bheemana > Assignee: Ram Manohar Bheemana > Priority: Minor > Attachments: MapOutputSampler.java > > > Need a sampler based on the MapOutput Keys. Current InputSampler implementation has a major drawback which is input and output of a mapper should be same, generally this isn't the case. > approach: > 1. Create a Sampler which samples the data based on the input. > 2. Run a small map reduce in uber task mode using the original job mapper and identity reducer to generate required MapOutputSample keys > 3. Optionally, we can input the input file to be sample. For example inputs files A, B; we should be able to specify to use only file A for sampling. -- This message was sent by Atlassian JIRA (v6.3.4#6332)