Hi,
There is a possibility that because of the following reasons above error may occur:
1. While we use derby metastore, Then lock file would be there in case of the abnormal exit.
Hence, do remove the lock file with the help of below command:
rm metastore_db/*.lck
2. Moreover, Run hive in Debug mode with the help of this command below:
hive -hiveconf hive.root.logger=DEBUG,console