You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Kristine Hahn (JIRA)" <ji...@apache.org> on 2015/05/16 21:59:59 UTC

[jira] [Comment Edited] (DRILL-3120) Windows startup throws NPE

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

Kristine Hahn edited comment on DRILL-3120 at 5/16/15 7:59 PM:
---------------------------------------------------------------

A secondary issue is how to start Drill on Windows. I thought the user didn't have to enter the connection string, but the output indicates you need the jdbc:drill:zk=local:
{code}
sqlline> !connect
Usage: connect <url> <username> <password> [driver]

sqlline> !connect localhost
scan complete in 1081ms
TRACER: SETUP: Proxy driver class org.apache.drill.jdbc.proxy.TracingProxyDriver
 initializing.
TRACER: SETUP: Abbreviating (unique) class names in packages java.lang, java.sql
, java.util, javax.sql, javax.sql.rowset, javax.sql.rowset.serial, javax.sql.row
set.spi.
TRACER: SETUP: Proxy driver registering with DriverManager.
scan complete in 1745ms
TRACER: SETUP: Proxy's acceptsURL(...) called with "localhost".
TRACER: SETUP: Proxy's acceptsURL( "localhost" ) returning false.
No known driver to handle "localhost"
sqlline> !connect jdbc:drill:zk=local
Enter username for jdbc:drill:zk=local: admin
Enter password for jdbc:drill:zk=local: *****
May 16, 2015 12:47:52 PM org.glassfish.jersey.server.ApplicationHandler initiali
ze
INFO: Initiating Jersey application, version Jersey: 2.8 2014-04-29 01:25:26...
0: jdbc:drill:zk=local>
{code} 


was (Author: krishahn):
A secondary issue is how to start Drill on Windows. I thought the user didn't have to enter the connection string, but the output indicates you need the jdbc:drill:zk=local:
{code}

Usage: connect <url> <username> <password> [driver]

sqlline> !connect localhost
scan complete in 1081ms
TRACER: SETUP: Proxy driver class org.apache.drill.jdbc.proxy.TracingProxyDriver
 initializing.
TRACER: SETUP: Abbreviating (unique) class names in packages java.lang, java.sql
, java.util, javax.sql, javax.sql.rowset, javax.sql.rowset.serial, javax.sql.row
set.spi.
TRACER: SETUP: Proxy driver registering with DriverManager.
scan complete in 1745ms
TRACER: SETUP: Proxy's acceptsURL(...) called with "localhost".
TRACER: SETUP: Proxy's acceptsURL( "localhost" ) returning false.
No known driver to handle "localhost"
sqlline> !connect jdbc:drill:zk=local
Enter username for jdbc:drill:zk=local: admin
Enter password for jdbc:drill:zk=local: *****
May 16, 2015 12:47:52 PM org.glassfish.jersey.server.ApplicationHandler initiali
ze
INFO: Initiating Jersey application, version Jersey: 2.8 2014-04-29 01:25:26...
0: jdbc:drill:zk=local>
{code} 

> Windows startup throws NPE
> --------------------------
>
>                 Key: DRILL-3120
>                 URL: https://issues.apache.org/jira/browse/DRILL-3120
>             Project: Apache Drill
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>         Environment: Windows 8 VM
>            Reporter: Kristine Hahn
>
> Install drill snapshot dated 5/15. 
> Double click sqlline.bat.
> Output is:
> DRILL_ARGS - ""
> HADOOP_HOME not detected...
> HBASE_HOME not detected...
> Calculating Drill classpath...
> Error setting configuration: isolation: java.lang.NullPointerException
> apache drill 1.0.0
> "a drill is a terrible thing to waste"



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