HomeHive

Hive : Create database in different folder

Like Tweet Pin it Share Share Email

When database is created in Hive, its usually saved in default folder  /user/hive/warehouse/yourdabase.db

If alternate location is needed, then

create database <yourdatabase> location  ‘/db/path/yourdatabase.db’    [single quotes]

 

Comments (0)

Leave a Reply

Your email address will not be published. Required fields are marked *