This is probably a very basic question so please pardon the ignorance.
I understand there are two metastores that hive will use in a out of the box (hive tar.bin extract) vanilla setup. In my case I have hive 0.14.
There is one in a derby database--with a default folder name called metastore_db
outside of hdfs.
And there is another in hdfs at /user/hive/warehouse.
What is the e difference between these two?