Dear Sushanta,

We hope you are doing well.

Please use the below given command to create the directory for hive.

hdfs dfs -mkdir -p /user/hive/warehouse



Feel free to contact us in case you have any query.

Kindly share your feedback by clicking on either of the smiley's.