Hello @Varun Singh ,
Welcome to the MS Q&A platform.
As per this blog, this error occurs when there is no initialized Metastore database for the Hive.
Do you have any external Metastore setup? if yes, could you please provide more details on it?
Is this intermittent or happening every time?
Can you please try restarting the cluster and see if it fixes the issue?