@sudhir reddy
Can you try switching to "hive" user and then run the hive command?
# su - hive
# hive
.
Or please make sure to have the "/user/root" directory created in your HDFS.
# su - hdfs -c "hdfs dfs -mkdir /user/root"
# su - hdfs -c "hdfs dfs -chown root:hadoop /user/root"
.