hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuefu Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-16693) beeline "source" command freezes if you have a comment in it?
Date Sat, 20 May 2017 00:42:04 GMT

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

Xuefu Zhang commented on HIVE-16693:
------------------------------------

+1

> beeline "source" command freezes if you have a comment in it?
> -------------------------------------------------------------
>
>                 Key: HIVE-16693
>                 URL: https://issues.apache.org/jira/browse/HIVE-16693
>             Project: Hive
>          Issue Type: Bug
>          Components: Beeline
>    Affects Versions: 3.0.0
>            Reporter: Carter Shanklin
>            Assignee: Ferdinand Xu
>         Attachments: HIVE-16693.patch
>
>
> As far as I'm observing in my environment, which is HDP 2.6.1, version identified as
2.1.0.2.6.1.0-69 rc65de77a7cab18faf09a1f8e54c5ad5c44af8957
> Call this file temp.sql:
> {code}
> -- comment
> select 1;
> {code}
> Then in beeline run:
> {code}
> source temp.sql;
> {code}
> When I do this beeline freezes and must be killed.
> The jstacks indicate a tight loop in org.apache.hive.beeline.Commands.sourceFileInternal:
>  main,org.apache.hive.beeline.Commands.sourceFileInternal(877)
>  main,org.apache.hive.beeline.Commands.sourceFile(860)
>  main,org.apache.hive.beeline.Commands.executeInternal(933)
>  main,org.apache.hive.beeline.Commands.execute(1161)
>  main,org.apache.hive.beeline.Commands.sql(1076)
>  main,org.apache.hive.beeline.BeeLine.dispatch(1145)
> There's never any other active thread.
> Looking at https://github.com/apache/hive/blob/455ffdd9125bdfe73b2c7f7ddebaeff138b77f53/beeline/src/java/org/apache/hive/beeline/Commands.java#L896
> Don't you need to read the next line before you continue?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message