hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuefu Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HIVE-6895) Beeline -f Requires A New Line
Date Tue, 15 Apr 2014 22:47:19 GMT

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

Xuefu Zhang resolved HIVE-6895.
-------------------------------

    Resolution: Cannot Reproduce

It looks like this is no long reproducible. Close it for now. Feel free to reopen if problem
remains.

> Beeline -f Requires A New Line
> ------------------------------
>
>                 Key: HIVE-6895
>                 URL: https://issues.apache.org/jira/browse/HIVE-6895
>             Project: Hive
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 0.10.0
>            Reporter: Jesse Anderson
>
> When a file is run through Beeline, the file must contain a newline at the end of the
file or the command will not run. The Beeline shell seems to disconnect without running the
command.
> Here is the command without a newline:
> {noformat}
> [training@dev solution]$ beeline -u jdbc:hive2://dev.loudacre.com -n training -p training
-f create-devicestatus-table.hql 
> scan complete in 7ms
> Connecting to jdbc:hive2://dev.loudacre.com
> Connected to: Hive (version 0.10.0)
> Driver: Hive (version 0.10.0-cdh4.5.0)
> Transaction isolation: TRANSACTION_REPEATABLE_READ
> Beeline version 0.10.0-cdh4.5.0 by Apache Hive
> 0: jdbc:hive2://dev.loudacre.com> DROP TABLE IF EXISTS devicestatus;Closing: org.apache.hive.jdbc.HiveConnection
> {noformat}
> Here is the same command with a newline:
> {noformat}
> [training@dev solution]$ beeline -u jdbc:hive2://dev.loudacre.com -n training -p training
-f create-devicestatus-table.hql 
> scan complete in 8ms
> Connecting to jdbc:hive2://dev.loudacre.com
> Connected to: Hive (version 0.10.0)
> Driver: Hive (version 0.10.0-cdh4.5.0)
> Transaction isolation: TRANSACTION_REPEATABLE_READ
> Beeline version 0.10.0-cdh4.5.0 by Apache Hive
> 0: jdbc:hive2://dev.loudacre.com> DROP TABLE IF EXISTS devicestatus;
> No rows affected (0.222 seconds)
> 0: jdbc:hive2://dev.loudacre.com> Closing: org.apache.hive.jdbc.HiveConnection
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message