The problem is with your hive authentication. You need to configure your hive authentication. Go to hive-site.xml file in the conf directory present in hive home.
There you have to add hive.server2.authentication property with the value as NONE.
<property>
<name>hive.server2.authentication</name>
<value>NONE</value>
<description>
Expects one of [nosasl, none, ldap, kerberos, pam, custom].
</description>
</property>
Here you can specify the value as
- NONE
- LDAP
- KERBEROS
- CUSTOM
- PAM
- NOSASL