[ https://issues.apache.org/jira/browse/HIVE-6758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13948608#comment-13948608 ]
Xuefu Zhang commented on HIVE-6758: ----------------------------------- I'm not sure what query you're executing, but I tried the following, which worked: {code} xzhang@xzlt:~/apa/hive6$ ./packaging/target/apache-hive-0.14.0-SNAPSHOT-bin/apache-hive-0.14.0-SNAPSHOT-bin/bin/beeline -u jdbc:hive2:// -e "show databases" ... 14/03/26 16:02:38 INFO mapred.FileInputFormat: Total input paths to process : 1 +----------------+ | database_name | +----------------+ | default | +----------------+ 1 row selected (0.437 seconds) 14/03/26 16:02:38 INFO exec.ListSinkOperator: 0 finished. closing... ... {code} > Beeline only works in interactive mode > -------------------------------------- > > Key: HIVE-6758 > URL: https://issues.apache.org/jira/browse/HIVE-6758 > Project: Hive > Issue Type: Improvement > Components: CLI > Affects Versions: 0.11.0, 0.12.0 > Environment: CDH4.5 > Reporter: Johndee Burks > > In hive CLI you could easily integrate its use into a script and back ground > the process like this: > hive -e "some query" & > Beeline does not run when you do the same even with the -f switch. -- This message was sent by Atlassian JIRA (v6.2#6252)