Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F3DB318B34 for ; Sat, 26 Mar 2016 03:28:30 +0000 (UTC) Received: (qmail 73590 invoked by uid 500); 26 Mar 2016 03:28:25 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 73536 invoked by uid 500); 26 Mar 2016 03:28:25 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 73510 invoked by uid 99); 26 Mar 2016 03:28:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Mar 2016 03:28:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6E6682C14F8 for ; Sat, 26 Mar 2016 03:28:25 +0000 (UTC) Date: Sat, 26 Mar 2016 03:28:25 +0000 (UTC) From: "Sean Busbey (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-15516) Add flatMap to hbaseRDD 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/HBASE-15516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15212762#comment-15212762 ] Sean Busbey commented on HBASE-15516: ------------------------------------- {quote} Don't know why there were two hunks on the same source file in the patch. {quote} It's a format-patch patch that contains multiple commits. If folks find it easier to review, the [PR is #28|https://github.com/apache/hbase/pull/28]. [~mahmoud.hanafy], if keeping the PR and the patch attached here in sync becomes burdensome, please close the PR and just stick to here. > Add flatMap to hbaseRDD > ----------------------- > > Key: HBASE-15516 > URL: https://issues.apache.org/jira/browse/HBASE-15516 > Project: HBase > Issue Type: Improvement > Components: spark > Reporter: MahmoudHanafy > Assignee: MahmoudHanafy > Priority: Minor > Attachments: HBASE-15516.patch > > > HBaseContext supports reading RDDs using hbaseRDD method with map function, I think it will be good also to add flatMap to hbaseRDD. > Another improvement: > Currently reading RDDs is done by using method hbaseRDD with map function as the default method for loading RDDs. When trying to just load the RDD without mapping, you are also loading the RDD and map all elements to itself. So I think using hbaseRDD method without mapping function for loading RDDs would be better. > Also, I can contribute to hbase-spark module. If there any issues related to this module, Please tell me about them -- This message was sent by Atlassian JIRA (v6.3.4#6332)