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 8072D182D8 for ; Wed, 9 Mar 2016 17:54:47 +0000 (UTC) Received: (qmail 95413 invoked by uid 500); 9 Mar 2016 17:54:41 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 95340 invoked by uid 500); 9 Mar 2016 17:54:41 -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 94888 invoked by uid 99); 9 Mar 2016 17:54:41 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Mar 2016 17:54:41 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id F26572C1F6F for ; Wed, 9 Mar 2016 17:54:40 +0000 (UTC) Date: Wed, 9 Mar 2016 17:54:40 +0000 (UTC) From: "Jonathan Hsieh (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-14801) Enhance the Spark-HBase connector catalog with json format 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-14801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15187518#comment-15187518 ] Jonathan Hsieh commented on HBASE-14801: ---------------------------------------- >From Zhan in the code review. {code} The existing code already has around 40 such warnings. I think they are false positive. For exmaple, one new warning as Class org.apache.hadoop.hbase.spark.HBaseRelation$$anonfun$14 defines non-transient non-serializable instance field config$1 hbaseContext is serializable, but config is not serializable as a member of HBaseRelation$$anonfun$14. However, here config has been defined as @transient in HBaseContext. //create or get latest HBaseContext val hbaseContext:HBaseContext = if (useHBaseContext) { LatestHBaseContextCache.latest } else { val config = HBaseConfiguration.create() configResources.split(",").foreach( r => config.addResource(r)) new HBaseContext(sqlContext.sparkContext, config) } {code} > Enhance the Spark-HBase connector catalog with json format > ---------------------------------------------------------- > > Key: HBASE-14801 > URL: https://issues.apache.org/jira/browse/HBASE-14801 > Project: HBase > Issue Type: Sub-task > Reporter: Zhan Zhang > Assignee: Zhan Zhang > Attachments: HBASE-14801-1.patch, HBASE-14801-2.patch, HBASE-14801-3.patch, HBASE-14801-4.patch, HBASE-14801-5.patch, HBASE-14801-6.patch, HBASE-14801-7.patch, HBASE-14801-8.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)