[ 
https://issues.apache.org/jira/browse/DRILL-5045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christian Hotz-Behofsits updated DRILL-5045:
--------------------------------------------
    Description: 
I connected normally to drill using drill-localhost, but I lost internet 
connectivity and the ssh tunnel broke. Drill was still running (and I am able 
to open the web ui), but after reconnecting per ssh I was not able to login 
again (even a drillbit.sh restart does not solve the problem).

{quote}
drill@db-imsm:~/apache-drill-1.8.0/log$ drill-localhost -u drill -p 
<mypassword> --verbose=true
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=512M; support was 
removed in 8.0
issuing: !connect drill '' OurDataIsJustFancy! org.apache.drill.jdbc.Driver
Connecting to drill
No known driver to handle "drill". Searching for known drivers...
java.lang.NullPointerException
        at sqlline.DatabaseConnection.connect(DatabaseConnection.java:167)
        at sqlline.DatabaseConnection.getConnection(DatabaseConnection.java:213)
        at sqlline.Commands.connect(Commands.java:1083)
        at sqlline.Commands.connect(Commands.java:1015)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
sqlline.ReflectiveCommandHandler.execute(ReflectiveCommandHandler.java:36)
        at sqlline.SqlLine.dispatch(SqlLine.java:742)
        at sqlline.SqlLine.initArgs(SqlLine.java:528)
        at sqlline.SqlLine.begin(SqlLine.java:596)
        at sqlline.SqlLine.start(SqlLine.java:375)
        at sqlline.SqlLine.main(SqlLine.java:268)
apache drill 1.8.0 
"json ain't no thang"
0: drill> !quit
No known driver to handle "drill". Searching for known drivers...
java.lang.NullPointerException
        at sqlline.DatabaseConnection.connect(DatabaseConnection.java:167)
        at sqlline.DatabaseConnection.getConnection(DatabaseConnection.java:213)
        at sqlline.Commands.close(Commands.java:925)
        at sqlline.Commands.quit(Commands.java:889)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
sqlline.ReflectiveCommandHandler.execute(ReflectiveCommandHandler.java:36)
        at sqlline.SqlLine.dispatch(SqlLine.java:742)
        at sqlline.SqlLine.begin(SqlLine.java:621)
        at sqlline.SqlLine.start(SqlLine.java:375)
        at sqlline.SqlLine.main(SqlLine.java:268)
No known driver to handle "drill". Searching for known drivers...
java.lang.NullPointerException
        at sqlline.DatabaseConnection.connect(DatabaseConnection.java:167)
        at sqlline.DatabaseConnection.getConnection(DatabaseConnection.java:213)
        at sqlline.Commands.close(Commands.java:925)
        at sqlline.Commands.closeall(Commands.java:899)
        at sqlline.SqlLine.begin(SqlLine.java:649)
        at sqlline.SqlLine.start(SqlLine.java:375)
        at sqlline.SqlLine.main(SqlLine.java:268)
{quote}

  was:
I connected normally to drill using drill-localhost, but I lost internet 
connectivity and the ssh tunnel broke. The server was still running and after 
reconnecting per ssh I was not able to login again (even a drillbit.sh restart 
does not solve the problem).

{quote}
drill@db-imsm:~/apache-drill-1.8.0/log$ drill-localhost -u drill -p 
<mypassword> --verbose=true
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=512M; support was 
removed in 8.0
issuing: !connect drill '' OurDataIsJustFancy! org.apache.drill.jdbc.Driver
Connecting to drill
No known driver to handle "drill". Searching for known drivers...
java.lang.NullPointerException
        at sqlline.DatabaseConnection.connect(DatabaseConnection.java:167)
        at sqlline.DatabaseConnection.getConnection(DatabaseConnection.java:213)
        at sqlline.Commands.connect(Commands.java:1083)
        at sqlline.Commands.connect(Commands.java:1015)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
sqlline.ReflectiveCommandHandler.execute(ReflectiveCommandHandler.java:36)
        at sqlline.SqlLine.dispatch(SqlLine.java:742)
        at sqlline.SqlLine.initArgs(SqlLine.java:528)
        at sqlline.SqlLine.begin(SqlLine.java:596)
        at sqlline.SqlLine.start(SqlLine.java:375)
        at sqlline.SqlLine.main(SqlLine.java:268)
apache drill 1.8.0 
"json ain't no thang"
0: drill> !quit
No known driver to handle "drill". Searching for known drivers...
java.lang.NullPointerException
        at sqlline.DatabaseConnection.connect(DatabaseConnection.java:167)
        at sqlline.DatabaseConnection.getConnection(DatabaseConnection.java:213)
        at sqlline.Commands.close(Commands.java:925)
        at sqlline.Commands.quit(Commands.java:889)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
sqlline.ReflectiveCommandHandler.execute(ReflectiveCommandHandler.java:36)
        at sqlline.SqlLine.dispatch(SqlLine.java:742)
        at sqlline.SqlLine.begin(SqlLine.java:621)
        at sqlline.SqlLine.start(SqlLine.java:375)
        at sqlline.SqlLine.main(SqlLine.java:268)
No known driver to handle "drill". Searching for known drivers...
java.lang.NullPointerException
        at sqlline.DatabaseConnection.connect(DatabaseConnection.java:167)
        at sqlline.DatabaseConnection.getConnection(DatabaseConnection.java:213)
        at sqlline.Commands.close(Commands.java:925)
        at sqlline.Commands.closeall(Commands.java:899)
        at sqlline.SqlLine.begin(SqlLine.java:649)
        at sqlline.SqlLine.start(SqlLine.java:375)
        at sqlline.SqlLine.main(SqlLine.java:268)
{quote}


> drill-localhost throws NullPointerException
> -------------------------------------------
>
>                 Key: DRILL-5045
>                 URL: https://issues.apache.org/jira/browse/DRILL-5045
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Client - CLI
>    Affects Versions: 1.8.0
>         Environment: Linux db-imsm 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 
> 19:39:52 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
>            Reporter: Christian Hotz-Behofsits
>              Labels: newbie
>
> I connected normally to drill using drill-localhost, but I lost internet 
> connectivity and the ssh tunnel broke. Drill was still running (and I am able 
> to open the web ui), but after reconnecting per ssh I was not able to login 
> again (even a drillbit.sh restart does not solve the problem).
> {quote}
> drill@db-imsm:~/apache-drill-1.8.0/log$ drill-localhost -u drill -p 
> <mypassword> --verbose=true
> OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=512M; support 
> was removed in 8.0
> issuing: !connect drill '' OurDataIsJustFancy! org.apache.drill.jdbc.Driver
> Connecting to drill
> No known driver to handle "drill". Searching for known drivers...
> java.lang.NullPointerException
>       at sqlline.DatabaseConnection.connect(DatabaseConnection.java:167)
>       at sqlline.DatabaseConnection.getConnection(DatabaseConnection.java:213)
>       at sqlline.Commands.connect(Commands.java:1083)
>       at sqlline.Commands.connect(Commands.java:1015)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:498)
>       at 
> sqlline.ReflectiveCommandHandler.execute(ReflectiveCommandHandler.java:36)
>       at sqlline.SqlLine.dispatch(SqlLine.java:742)
>       at sqlline.SqlLine.initArgs(SqlLine.java:528)
>       at sqlline.SqlLine.begin(SqlLine.java:596)
>       at sqlline.SqlLine.start(SqlLine.java:375)
>       at sqlline.SqlLine.main(SqlLine.java:268)
> apache drill 1.8.0 
> "json ain't no thang"
> 0: drill> !quit
> No known driver to handle "drill". Searching for known drivers...
> java.lang.NullPointerException
>       at sqlline.DatabaseConnection.connect(DatabaseConnection.java:167)
>       at sqlline.DatabaseConnection.getConnection(DatabaseConnection.java:213)
>       at sqlline.Commands.close(Commands.java:925)
>       at sqlline.Commands.quit(Commands.java:889)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:498)
>       at 
> sqlline.ReflectiveCommandHandler.execute(ReflectiveCommandHandler.java:36)
>       at sqlline.SqlLine.dispatch(SqlLine.java:742)
>       at sqlline.SqlLine.begin(SqlLine.java:621)
>       at sqlline.SqlLine.start(SqlLine.java:375)
>       at sqlline.SqlLine.main(SqlLine.java:268)
> No known driver to handle "drill". Searching for known drivers...
> java.lang.NullPointerException
>       at sqlline.DatabaseConnection.connect(DatabaseConnection.java:167)
>       at sqlline.DatabaseConnection.getConnection(DatabaseConnection.java:213)
>       at sqlline.Commands.close(Commands.java:925)
>       at sqlline.Commands.closeall(Commands.java:899)
>       at sqlline.SqlLine.begin(SqlLine.java:649)
>       at sqlline.SqlLine.start(SqlLine.java:375)
>       at sqlline.SqlLine.main(SqlLine.java:268)
> {quote}



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

Reply via email to