<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Query on Hive Commands / Beeline in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Query-on-Hive-Commands-Beeline/m-p/160177#M122562</link>
    <description>&lt;P&gt;Further to my earlier question (https://community.hortonworks.com/questions/64438/hive-beeline-e-in-shell-script.html#comment-64493)&lt;/P&gt;&lt;P&gt;Wondering how to use the commands beeline -e and beeline -f in shell scripts (bash shell). When I tried running beeline -e command directly on the bash, it says connection not available. So I presume we need to run beeline -u command or a combination of beeline;!connect commands together. But once we execute either of these commands, we will be in beeline shell rather than bash shell and hence beeline -e command is not needed anymore. So wondering what is the purpose of beeline -e command and how to use it without invoking beeline -u command earlier.&lt;/P&gt;&lt;P&gt;I am sure my understanding is wrong somewhere and hence would request to please correct me.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Nov 2016 07:36:06 GMT</pubDate>
    <dc:creator>bigdata_superno</dc:creator>
    <dc:date>2016-11-02T07:36:06Z</dc:date>
  </channel>
</rss>

