Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4D640200CBA for ; Mon, 19 Jun 2017 06:29:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4AE40160BEE; Mon, 19 Jun 2017 04:29:15 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 91567160BE3 for ; Mon, 19 Jun 2017 06:29:14 +0200 (CEST) Received: (qmail 99029 invoked by uid 500); 19 Jun 2017 04:29:08 -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 99018 invoked by uid 99); 19 Jun 2017 04:29:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Jun 2017 04:29:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 3E405180415 for ; Mon, 19 Jun 2017 04:29:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id KwFqBU366b5c for ; Mon, 19 Jun 2017 04:29:07 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id ED6FC5FB84 for ; Mon, 19 Jun 2017 04:29:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 03B27E0BE0 for ; Mon, 19 Jun 2017 04:29:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id EAD7623FFF for ; Mon, 19 Jun 2017 04:29:01 +0000 (UTC) Date: Mon, 19 Jun 2017 04:29:01 +0000 (UTC) From: "Yi Liang (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (HBASE-18175) Add hbase-spark integration test into hbase-it MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 19 Jun 2017 04:29:15 -0000 [ https://issues.apache.org/jira/browse/HBASE-18175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16053466#comment-16053466 ] Yi Liang edited comment on HBASE-18175 at 6/19/17 4:28 AM: ----------------------------------------------------------- Hi Sean, In the new patch, I add a submodule called hbase-spark-it under hbase-spark module, the parent of hbase-spark-it is hbase-spark, not hbase, this can make hbase-spark module more independent. Now the hbase-spark looks like ---hbase-spark -----------src -----------pom -----------hbase-spark-it ---------------src ---------------pom And I also have some thoughts on HBase-16179, only solve that jira then we can push hbase-spark into hbase-2.0 And I saw your comments in that jira, there might be some requirement like, we need to consider spark-1.6, spark-2.0, and also scala 2.10, scala 2.11 I remember I try both the scala 2.10 and 2.11 for hbase-spark, it seems that there is no code change for scala version change; the code differences are only in different spark versions. I think we can have hbase-spark module structure as below - hbase-spark --------hbase-spark-1.6 ------------src (diff code for 1.6) ------------pom --------hbase-spark-2.0 --------hbase-spark-it ------------src ------------pom And user can change scala version on their own for both spark1.6 and spark2.0, What do you think of this idea? Thanks was (Author: easyliangjob): Hi Sean, In the new patch, I add a submodule called hbase-spark-it under hbase-spark module, the parent of hbase-spark-it is hbase-spark, not hbase, this can make hbase-spark module more independent. Now the hbase-spark looks like - hbase-spark -hbase-spark-it -src -pom -src -pom And I also have some thoughts on HBase-16179, only solve that jira then we can push hbase-spark into hbase-2.0 And I saw your comments in that jira, there might be some requirement like, we need to consider spark-1.6, spark-2.0, and also scala 2.10, scala 2.11 I remember I try both the scala 2.10 and 2.11 for hbase-spark, it seems that there is no code change for scala version change; the code differences are only in different spark versions. I think we can have hbase-spark module structure as below - hbase-spark -hbase-spark-1.6 -src (diff code for 1.6) -pom -hbase-spark-2.0 -hbase-spark-it -src -pom And user can change scala version on their own for both spark1.6 and spark2.0, What do you think of this idea? Thanks > Add hbase-spark integration test into hbase-it > ---------------------------------------------- > > Key: HBASE-18175 > URL: https://issues.apache.org/jira/browse/HBASE-18175 > Project: HBase > Issue Type: Test > Components: spark > Reporter: Yi Liang > Assignee: Yi Liang > Priority: Critical > Fix For: 2.0.0 > > Attachments: hbase-18175-v1.patch > > > After HBASE-17574, all test under hbase-spark are regarded as unit test, and this jira will add integration test of hbase-spark into hbase-it. This patch run same tests as mapreduce.IntegrationTestBulkLoad, just change mapreduce to spark. > test in Maven: > mvn verify -Dit.test=IntegrationTestSparkBulkLoad > test on cluster: > spark-submit --class org.apache.hadoop.hbase.spark.IntegrationTestSparkBulkLoad HBASE_HOME/lib/hbase-it-2.0.0-SNAPSHOT-tests.jar -Dhbase.spark.bulkload.chainlength=500000 -m slowDeterministic -- This message was sent by Atlassian JIRA (v6.4.14#64029)