You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@drill.apache.org by "Leyne, Sean" <Se...@BroadViewSoftware.com> on 2019/02/05 17:30:53 UTC

Newbie: problem launching Drill 1.15.0 on Windows

All,

I am getting an error trying to open drill on Windows 10 (from an Admin instance of CMD.exe) using the instructions from the Drill in 10 Minutes tutorial.

      C:\Drill\apache-drill-1.15.0\bin>sqlline -u "jdbc:drill:zk=local"
      DRILL_ARGS - " -u jdbc:drill:zk=local"
      HADOOP_HOME not detected...
      HBASE_HOME not detected...
      Calculating Drill classpath...
      Exception in thread "main" java.lang.NumberFormatException: For input string: "select * from dfs.'d"
              at java.lang.NumberFormatException.forInputString(Unknown Source)
              at java.lang.Long.parseLong(Unknown Source)
              at java.lang.Long.parseLong(Unknown Source)
              at org.jline.reader.impl.history.DefaultHistory.addHistoryLine(DefaultHistory.java:108)
              at org.jline.reader.impl.history.DefaultHistory.lambda$load$0(DefaultHistory.java:86)
              at java.util.Iterator.forEachRemaining(Unknown Source)
              at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Unknown Source)
              at java.util.stream.ReferencePipeline$Head.forEach(Unknown Source)
              at org.jline.reader.impl.history.DefaultHistory.load(DefaultHistory.java:86)
              at org.jline.reader.impl.history.DefaultHistory.attach(DefaultHistory.java:69)
              at sqlline.SqlLine.getConsoleReader(SqlLine.java:614)
              at sqlline.SqlLine.begin(SqlLine.java:510)
              at sqlline.SqlLine.start(SqlLine.java:264)
              at sqlline.SqlLine.main(SqlLine.java:195)

Would appreciate all assistance.


Sean



RE: Newbie: problem launching Drill 1.15.0 on Windows

Posted by "Leyne, Sean" <Se...@BroadViewSoftware.com>.
Volodymyr

> Please remove *$HOME/sqlline/history* file and try starting Drill again.
> 
> Kind regards,
> Volodymyr Vysotskyi


Thanks for the prompt response!


Re: Newbie: problem launching Drill 1.15.0 on Windows

Posted by Vova Vysotskyi <vv...@gmail.com>.
Hi,

Please remove *$HOME/sqlline/history* file and try starting Drill again.

Kind regards,
Volodymyr Vysotskyi


On Tue, Feb 5, 2019 at 7:34 PM Leyne, Sean <Se...@broadviewsoftware.com>
wrote:

> All,
>
> I am getting an error trying to open drill on Windows 10 (from an Admin
> instance of CMD.exe) using the instructions from the Drill in 10 Minutes
> tutorial.
>
>       C:\Drill\apache-drill-1.15.0\bin>sqlline -u "jdbc:drill:zk=local"
>       DRILL_ARGS - " -u jdbc:drill:zk=local"
>       HADOOP_HOME not detected...
>       HBASE_HOME not detected...
>       Calculating Drill classpath...
>       Exception in thread "main" java.lang.NumberFormatException: For
> input string: "select * from dfs.'d"
>               at java.lang.NumberFormatException.forInputString(Unknown
> Source)
>               at java.lang.Long.parseLong(Unknown Source)
>               at java.lang.Long.parseLong(Unknown Source)
>               at
> org.jline.reader.impl.history.DefaultHistory.addHistoryLine(DefaultHistory.java:108)
>               at
> org.jline.reader.impl.history.DefaultHistory.lambda$load$0(DefaultHistory.java:86)
>               at java.util.Iterator.forEachRemaining(Unknown Source)
>               at
> java.util.Spliterators$IteratorSpliterator.forEachRemaining(Unknown Source)
>               at java.util.stream.ReferencePipeline$Head.forEach(Unknown
> Source)
>               at
> org.jline.reader.impl.history.DefaultHistory.load(DefaultHistory.java:86)
>               at
> org.jline.reader.impl.history.DefaultHistory.attach(DefaultHistory.java:69)
>               at sqlline.SqlLine.getConsoleReader(SqlLine.java:614)
>               at sqlline.SqlLine.begin(SqlLine.java:510)
>               at sqlline.SqlLine.start(SqlLine.java:264)
>               at sqlline.SqlLine.main(SqlLine.java:195)
>
> Would appreciate all assistance.
>
>
> Sean
>
>
>