Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-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 66701C9AF for ; Wed, 3 Jul 2013 04:58:06 +0000 (UTC) Received: (qmail 51198 invoked by uid 500); 3 Jul 2013 04:58:03 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 50749 invoked by uid 500); 3 Jul 2013 04:58:02 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 50739 invoked by uid 99); 3 Jul 2013 04:57:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jul 2013 04:57:59 +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 yuzhihong@gmail.com designates 209.85.215.47 as permitted sender) Received: from [209.85.215.47] (HELO mail-la0-f47.google.com) (209.85.215.47) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jul 2013 04:57:54 +0000 Received: by mail-la0-f47.google.com with SMTP id fe20so6327478lab.34 for ; Tue, 02 Jul 2013 21:57:32 -0700 (PDT) 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=iFbnq5VaG+N4tJqlEFqMX26FtJxjYEBEw5nqtyjqU9Q=; b=Vnyek7XdtJos5RYh5hnxZnMRNjOXVum94J5Btq45yjQwOHGphkF7Mas29GkITEzBAJ q9Df7oi//0+IhYvxbNoJZkg8BMkvbP2ATevox/HvmtdzDhwAbTFYVyqsZisfBJZWA+Rs RSPviOThEE2gVH/mVv9ului/i9tuBiLJR5v6Bc3kbn3uIu+eG4Z68RRD8s9aQxVTdFZQ 0Oe8OcWv4puVouAxOVweS2AiF46nz6RPxrCFEn06OBr/SRTwLIclNENKtG0RMtA9+tDr sv8RrfvWWfFE3dDLpBWEEeWQIhEDIpKeo8+V+uyVQ0bbrbjWOTBiO1092zgp/wK4/V9s PHZQ== MIME-Version: 1.0 X-Received: by 10.152.120.228 with SMTP id lf4mr15966166lab.65.1372827452778; Tue, 02 Jul 2013 21:57:32 -0700 (PDT) Received: by 10.112.141.5 with HTTP; Tue, 2 Jul 2013 21:57:32 -0700 (PDT) In-Reply-To: <1372826091.75664.YahooMailNeo@web120903.mail.ne1.yahoo.com> References: <1372826091.75664.YahooMailNeo@web120903.mail.ne1.yahoo.com> Date: Tue, 2 Jul 2013 21:57:32 -0700 Message-ID: Subject: Re: MapReduce job with mixed data sources: HBase table and HDFS files From: Ted Yu To: user@hbase.apache.org, "S. Zhou" Content-Type: multipart/alternative; boundary=089e01176915a92e2804e0944ca5 X-Virus-Checked: Checked by ClamAV on apache.org --089e01176915a92e2804e0944ca5 Content-Type: text/plain; charset=ISO-8859-1 Can you share a bit more detail about your use case ? e.g. do the HDFS files share same schema as your HBase table ? Cheers On Tue, Jul 2, 2013 at 9:34 PM, S. Zhou wrote: > Hi there, > > I know how to create MapReduce job with HBase data source only or HDFS > file as data source. Now I need to create a MapReduce job with mixed data > sources, that is, this MR job need to read data from both HBase and HDFS > files. Is it possible? If yes, could u share some sample code? > > Thanks! > Senqiang > --089e01176915a92e2804e0944ca5--