Hi unmesha sreevani, *Create metastore in mysql and create the tables as per the below link.* https://github.com/apache/hive/blob/trunk/metastore/scripts/upCreate metastore in mysql and create the tables as per the below link.grade/mysql/hive-schema-0.14.0.mysql.sql <https://github.com/apache/hive/blob/trunk/metastore/scripts/upgrade/mysql/hive-schema-0.14.0.mysql.sql> .
*And add these properties in hive-site.xml.* <property> <name>hive.support.concurrency</name> <value>true</value> </property> <property> <name>hive.enforce.bucketing</name> <value>true</value> </property> <property> <name>hive.exec.dynamic.partition.mode</name> <value>nonstrict</value> </property> <property> <name>hive.txn.manager</name> <value>org.apache.hadoop.hive.ql.lockmgr.DbTxnManager</value> </property> <property> <name>hive.compactor.initiator.on</name> <value>true</value> </property> <property> <name>hive.compactor.worker.threads</name> <value>1</value> </property> *Make sure your table creation supports ACID ouput format.Create like following*. create table test(id int, name varchar(128)) clustered by (id) into 2 buckets stored as orc TBLPROPERTIES ('transactional'='true') Regards, Mahesh.S