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 81437200D4F for ; Wed, 6 Dec 2017 14:46:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 8019B160C08; Wed, 6 Dec 2017 13:46:05 +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 C5CE5160BFD for ; Wed, 6 Dec 2017 14:46:04 +0100 (CET) Received: (qmail 83855 invoked by uid 500); 6 Dec 2017 13:46:04 -0000 Mailing-List: contact issues-help@carbondata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@carbondata.apache.org Delivered-To: mailing list issues@carbondata.apache.org Received: (qmail 83846 invoked by uid 99); 6 Dec 2017 13:46:04 -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; Wed, 06 Dec 2017 13:46:04 +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 24D1518078F for ; Wed, 6 Dec 2017 13:46:03 +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-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id QsYg3dErhXO8 for ; Wed, 6 Dec 2017 13:46:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 8D08D5F3CC for ; Wed, 6 Dec 2017 13:46:01 +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 EB617E257B for ; Wed, 6 Dec 2017 13:46:00 +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 4A743255CE for ; Wed, 6 Dec 2017 13:46:00 +0000 (UTC) Date: Wed, 6 Dec 2017 13:46:00 +0000 (UTC) From: "dhatchayani (JIRA)" To: issues@carbondata.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (CARBONDATA-1869) Null pointer exception thrown when concurrent load and select queries executed for table with dictionary exclude or NO_INVERTED_INDEX MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 06 Dec 2017 13:46:05 -0000 [ https://issues.apache.org/jira/browse/CARBONDATA-1869?page=3Dcom.atl= assian.jira.plugin.system.issuetabpanels:all-tabpanel ] dhatchayani reassigned CARBONDATA-1869: --------------------------------------- Assignee: dhatchayani > Null pointer exception thrown when concurrent load and select queries exe= cuted for table with dictionary exclude or NO_INVERTED_INDEX > -------------------------------------------------------------------------= ------------------------------------------------------------ > > Key: CARBONDATA-1869 > URL: https://issues.apache.org/jira/browse/CARBONDATA-186= 9 > Project: CarbonData > Issue Type: Bug > Components: data-load > Affects Versions: 1.3.0 > Environment: 3 node ant cluster > Reporter: Chetan Bhat > Assignee: dhatchayani > Labels: DFX > Time Spent: 10m > Remaining Estimate: 0h > > Steps - > From beeline terminal a table is created with with table properties havin= g dictionary exclude or NO_INVERTED_INDEX-=20 > create table test(a1 int) STORED BY 'org.apache.carbondata.format' TBLPRO= PERTIES ('DICTIONARY_EXCLUDE'=3D'a1'); or=20 > create table test(a1 int) STORED BY 'org.apache.carbondata.format' TBLPRO= PERTIES ('NO_INVERTED_INDEX'=3D'a1'); > From 3 concurrent beeline terminals the below sequence of insert into s= elect and select queries are executed 120 times. > insert into test select 2147483647; > select * from test; > select count(*) from test; > select a1 from test; > select round(a1),bround(a1),floor(a1),ceil(a1),rand(),exp(a1),ln(a1),lo= g10(a1),log2(1),log(a1),pow(a1,a1),sqrt(a1),bin(a1),pmod(a1,a1),sin(a1),asi= n(a1),cos(a1),tan(a1),atan(a1),degrees(a1),radians(a1),positive(a1),negativ= e(a1),sign(a1),factorial(a1),cbrt(a1) from test; > =E3=80=90Expected Output=E3=80=91=EF=BC=9AThe insert into select query sh= ould be successful and the null pointer exception should not be thrown when= concurrent load and select queries executed for table with dictionary excl= ude or NO_INVERTED_INDEX. > =E3=80=90Actual Output=E3=80=91=EF=BC=9ANull pointer exception thrown whe= n concurrent load and select queries executed with table properties having = dictionary exclude or NO_INVERTED_INDEX > 0: jdbc:hive2://10.18.98.136:23040> insert into test select 2147483647; > Error: java.lang.NullPointerException (state=3D,code=3D0) -- This message was sent by Atlassian JIRA (v6.4.14#64029)