You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Arina Ielchiieva (JIRA)" <ji...@apache.org> on 2018/11/24 15:08:00 UTC

[jira] [Updated] (DRILL-6866) Upgrade to SqlLine 1.6.0

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

Arina Ielchiieva updated DRILL-6866:
------------------------------------
    Description: 
Upgrade to SqlLine 1.6.0 once the release is out.

*Known issue*
Old history file should be deleted prior to using Drill with SqlLine 1.6:

{noformat}
./drill-embedded 

Exception in thread "main" java.lang.IllegalArgumentException: Bad history file syntax! The history file `/Users/arina/.sqlline/history` may be an older history: please remove it or use a different history file.
at org.jline.reader.impl.history.DefaultHistory.addHistoryLine(DefaultHistory.java:104)
at org.jline.reader.impl.history.DefaultHistory.lambda$load$0(DefaultHistory.java:86)
at java.util.Iterator.forEachRemaining(Iterator.java:116)
at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
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)
{noformat}

  was:Upgrade to SqlLine 1.6.0 once the release is out.


> Upgrade to SqlLine 1.6.0
> ------------------------
>
>                 Key: DRILL-6866
>                 URL: https://issues.apache.org/jira/browse/DRILL-6866
>             Project: Apache Drill
>          Issue Type: Task
>            Reporter: Arina Ielchiieva
>            Assignee: Arina Ielchiieva
>            Priority: Major
>
> Upgrade to SqlLine 1.6.0 once the release is out.
> *Known issue*
> Old history file should be deleted prior to using Drill with SqlLine 1.6:
> {noformat}
> ./drill-embedded 
> Exception in thread "main" java.lang.IllegalArgumentException: Bad history file syntax! The history file `/Users/arina/.sqlline/history` may be an older history: please remove it or use a different history file.
> at org.jline.reader.impl.history.DefaultHistory.addHistoryLine(DefaultHistory.java:104)
> at org.jline.reader.impl.history.DefaultHistory.lambda$load$0(DefaultHistory.java:86)
> at java.util.Iterator.forEachRemaining(Iterator.java:116)
> at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
> at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
> 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)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)