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 9779F182FF for ; Fri, 2 Oct 2015 19:47:08 +0000 (UTC) Received: (qmail 3485 invoked by uid 500); 2 Oct 2015 19:47:07 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 3418 invoked by uid 500); 2 Oct 2015 19:47:07 -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 3406 invoked by uid 99); 2 Oct 2015 19:47:06 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2015 19:47:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 83B6DC0429 for ; Fri, 2 Oct 2015 19:47:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.88 X-Spam-Level: ** X-Spam-Status: No, score=2.88 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id aTkKw6phs4XI for ; Fri, 2 Oct 2015 19:47:00 +0000 (UTC) Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 9150F203BB for ; Fri, 2 Oct 2015 19:47:00 +0000 (UTC) Received: by wicfx3 with SMTP id fx3so47487937wic.1 for ; Fri, 02 Oct 2015 12:46:53 -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=1McE45dxq7ciMIHo0zeiIhdK1NAeRW4goaY/8XCSpII=; b=h2o2dFQM/T0c8hp6aokuFiuQ2k977ZpW3vngk7FLaWuccysqQzcZMURi0WXJmUcpG9 ilntrm5l22/uLi7F8fJMJyddNjSvduL7pF6xJbhEkcoglBc4lZEDdQnA6wfZspRO8CIO igmH2AcTJdHiVVAg8m85O8FGs5s2f0a5c4BE9hqdLbdKfSJzrlGd6/aLf2ISGSUw/mW5 e8w+mvEgo/UrDozofGNtQbgKozmopYUC1V4PKWtqQg2xeZdi47XBxTywh9U0Hm9W8e4h uInpmEXeSmMW64bfJHxfs8ZWauVUj4Uh4fscorPgavdWBrWu98StTebRa/cHS33RLm9P qQnw== MIME-Version: 1.0 X-Received: by 10.180.74.175 with SMTP id u15mr541330wiv.66.1443815213171; Fri, 02 Oct 2015 12:46:53 -0700 (PDT) Received: by 10.27.45.138 with HTTP; Fri, 2 Oct 2015 12:46:53 -0700 (PDT) In-Reply-To: References: Date: Fri, 2 Oct 2015 15:46:53 -0400 Message-ID: Subject: Re: Hadoop streaming with HBase as data sink From: Pei Zhao To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=f46d043bdfd2e70a9a0521246c14 --f46d043bdfd2e70a9a0521246c14 Content-Type: text/plain; charset=UTF-8 Hi Stack, In my case, I tried to use HBase Thrift API, but Thrift server sometimes crashes during my MapReduce job, due to out of heap memory. Do you have any suggestions on that please? Thanks On Fri, Oct 2, 2015 at 3:10 PM, Stack wrote: > You can't do hadoop streaming into hbase. Maybe explore hbase REST > interface and see if you can format puts that hbase REST can digest. > St.Ack > > On Fri, Oct 2, 2015 at 12:00 PM, Pei Zhao wrote: > > > Hi all, > > > > I am a graduate student do research in solar cell data management. My > > project is using Hadoop/HBase. Recently we switch MapReduce to Python > using > > Hadoop streaming. > > > > My question is can I use Hadoop streaming, which outputs to stdout with a > > specific format that HBase can pick it up and put them into tables? > > > > For instance, > > > > If I output lines of RowKey\t\Column\tValue , then HBase can know how to > > put this into tables. > > > > Regards > > Pei > -- *Pei (Asher) Zhao* *Electrical Engineering and Computer Science* *Case Western Reserve University* *Cleveland, Ohio 44106* *--The man who has made up his mind to win will never say impossible.* --f46d043bdfd2e70a9a0521246c14--