Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Hive >> mail # user >> Re: hive commands from a file


+
Sai Sai 2013-03-04, 10:24
+
Nitin Pawar 2013-03-04, 10:28
+
Sai Sai 2013-03-04, 10:46
Copy link to this message
-
Re: hive commands from a file
Hi Sai,

just use the "-f" arg together with the file name. For details see:
https://cwiki.apache.org/Hive/languagemanual-cli.html

Krishna

On 4 March 2013 10:24, Sai Sai <[EMAIL PROTECTED]> wrote:

> Just wondering if it is possible to run a bunch of  hive commands from a
> file rather than one a time.
> For ex:
> 1. Create external...
> 2. Load ...
> 3. Select * from ...
> 4....
>
> Thanks
> Sai
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB