hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Francke (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-8030) NullPointerException on getSchemas
Date Wed, 10 Sep 2014 12:40:28 GMT

    [ https://issues.apache.org/jira/browse/HIVE-8030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14128413#comment-14128413
] 

Lars Francke commented on HIVE-8030:
------------------------------------

I'm sorry but those numbers don't match up. See for yourself in the link above what's going
on in line 32 in release 0.13.1.

It instead matches up perfectly with what was available in version 0.7.1 and before: https://github.com/apache/hive/blob/release-0.7.1/jdbc/src/java/org/apache/hadoop/hive/jdbc/HiveMetaDataResultSet.java

The other line numbers don't match up either. Could you paste more information for example
about your classpath? I'm relatively certain that somehow you are not using a vanilla 0.13.1
release. Maybe Pentaho messes something up.

> NullPointerException on getSchemas
> ----------------------------------
>
>                 Key: HIVE-8030
>                 URL: https://issues.apache.org/jira/browse/HIVE-8030
>             Project: Hive
>          Issue Type: Bug
>          Components: Database/Schema, JDBC
>    Affects Versions: 0.13.1
>         Environment: Linux (Ubuntu 12.04)
>            Reporter: Shiv Prakash
>              Labels: hadoop
>             Fix For: 0.13.1
>
>
> java.lang.NullPointerException
> 	at java.util.ArrayList.<init>(ArrayList.java:164)
> 	at org.apache.hadoop.hive.jdbc.HiveMetaDataResultSet.<init>(HiveMetaDataResultSet.java:32)
> 	at org.apache.hadoop.hive.jdbc.HiveDatabaseMetaData$3.<init>(HiveDatabaseMetaData.java:482)
> 	at org.apache.hadoop.hive.jdbc.HiveDatabaseMetaData.getSchemas(HiveDatabaseMetaData.java:481)
> 	at org.apache.hadoop.hive.jdbc.HiveDatabaseMetaData.getSchemas(HiveDatabaseMetaData.java:476)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.pentaho.hadoop.shim.common.DriverProxyInvocationChain$DatabaseMetaDataInvocationHandler.invoke(DriverProxyInvocationChain.java:368)
> 	at com.sun.proxy.$Proxy20.getSchemas(Unknown Source)
> 	at org.pentaho.di.core.database.Database.getSchemas(Database.java:3857)
> 	at org.pentaho.di.ui.trans.steps.tableoutput.TableOutputDialog.getSchemaNames(TableOutputDialog.java:1036)
> 	at org.pentaho.di.ui.trans.steps.tableoutput.TableOutputDialog.access$2400(TableOutputDialog.java:94)
> 	at org.pentaho.di.ui.trans.steps.tableoutput.TableOutputDialog$24.widgetSelected(TableOutputDialog.java:863)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
> 	at org.pentaho.di.ui.trans.steps.tableoutput.TableOutputDialog.open(TableOutputDialog.java:884)
> 	at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:124)
> 	at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:8648)
> 	at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:3020)
> 	at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:737)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
> 	at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1297)
> 	at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7801)
> 	at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9130)
> 	at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:638)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.pentaho.commons.launcher.Launcher.main(Launcher.java:151)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message