Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 361B118CF9 for ; Mon, 3 Aug 2015 23:33:05 +0000 (UTC) Received: (qmail 94950 invoked by uid 500); 3 Aug 2015 23:33:05 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 94918 invoked by uid 500); 3 Aug 2015 23:33:05 -0000 Mailing-List: contact issues-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list issues@drill.apache.org Received: (qmail 94908 invoked by uid 99); 3 Aug 2015 23:33:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2015 23:33:05 +0000 Date: Mon, 3 Aug 2015 23:33:05 +0000 (UTC) From: "Rahul Challapalli (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-2482) JDBC : calling getObject when the actual column type is 'NVARCHAR' results in NoClassDefFoundError 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/DRILL-2482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rahul Challapalli updated DRILL-2482: ------------------------------------- Priority: Blocker (was: Major) > JDBC : calling getObject when the actual column type is 'NVARCHAR' results in NoClassDefFoundError > -------------------------------------------------------------------------------------------------- > > Key: DRILL-2482 > URL: https://issues.apache.org/jira/browse/DRILL-2482 > Project: Apache Drill > Issue Type: Bug > Components: Client - JDBC > Reporter: Rahul Challapalli > Assignee: Rahul Challapalli > Priority: Blocker > Fix For: 1.2.0 > > > git.commit.id.abbrev=7b4c887 > I tried to call getObject(i) on a column which is of type varchar, drill failed with the below error : > {code} > Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/io/Text > at org.apache.drill.exec.vector.VarCharVector$Accessor.getObject(VarCharVector.java:407) > at org.apache.drill.exec.vector.NullableVarCharVector$Accessor.getObject(NullableVarCharVector.java:386) > at org.apache.drill.exec.vector.accessor.NullableVarCharAccessor.getObject(NullableVarCharAccessor.java:98) > at org.apache.drill.exec.vector.accessor.BoundCheckingAccessor.getObject(BoundCheckingAccessor.java:137) > at org.apache.drill.jdbc.AvaticaDrillSqlAccessor.getObject(AvaticaDrillSqlAccessor.java:136) > at net.hydromatic.avatica.AvaticaResultSet.getObject(AvaticaResultSet.java:351) > at Dummy.testComplexQuery(Dummy.java:94) > at Dummy.main(Dummy.java:30) > Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.io.Text > at java.net.URLClassLoader$1.run(URLClassLoader.java:366) > at java.net.URLClassLoader$1.run(URLClassLoader.java:355) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:354) > at java.lang.ClassLoader.loadClass(ClassLoader.java:425) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) > at java.lang.ClassLoader.loadClass(ClassLoader.java:358) > ... 8 more > {code} > When the underlying type is a primitive, the getObject call succeeds -- This message was sent by Atlassian JIRA (v6.3.4#6332)