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 >> 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
+
Thiruvel Thirumoolan 2012-12-04, 15:09
+
abhishek 2012-12-04, 15:22
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