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

László Bodor edited comment on HIVE-25495 at 6/3/25 3:24 PM:
-------------------------------------------------------------

after opening the latest [PR|https://github.com/apache/hive/pull/5838] (and 
removing an earlier jline2 
[workaround|https://github.com/apache/hive/blob/ba1b83db1d8c90187d68661b819a1420dca778f5/beeline/src/java/org/apache/hive/beeline/BeeLine.java#L1415-L1425]),
 I just tried to use beeline locally, but unfortunately it seems like this 
needs so much work, as it's broken in so many ways, just 2 examples:

1. prompt is not visible:
{code}
>....
{code}
instead of:
{code}
0: jdbc:hive2://localhost:10000/default>
{code}

2. -f parameter doesn't work: instead of running the file given by the 
parameter, it remains in beeline shell in a totally broken way




was (Author: abstractdog):
after opening the latest PR (and removing an earlier jline2 
[workaround|https://github.com/apache/hive/blob/ba1b83db1d8c90187d68661b819a1420dca778f5/beeline/src/java/org/apache/hive/beeline/BeeLine.java#L1415-L1425]),
 I just tried to use beeline locally, but unfortunately it seems like this 
needs so much work, as it's broken in so many ways, just 2 examples:

1. prompt is not visible:
{code}
>....
{code}
instead of:
{code}
0: jdbc:hive2://localhost:10000/default>
{code}

2. -f parameter doesn't work: instead of running the file given by the 
parameter, it remains in beeline shell in a totally broken way



> Upgrade to JLine3
> -----------------
>
>                 Key: HIVE-25495
>                 URL: https://issues.apache.org/jira/browse/HIVE-25495
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: David Mollitor
>            Assignee: David Mollitor
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 4h
>  Remaining Estimate: 0h
>
> Jline 2 has been discontinued a long while ago.  Hadoop uses JLine3 so Hive 
> should match.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to