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 Threaded View
Hive >> mail # user >> CREATE DATABASE WITH LOCATION


Copy link to this message
-
CREATE DATABASE WITH LOCATION
hi all,

I am trying the below query

Create database xxxx
Location '/my/preferred/directory'

But getting the below error

FAILED: Parse Error : line 2:0 mismatched input 'LOCATION' excepting EOF near 'xxxx'

I am using hive 0.7

Regards
Abhi
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