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.
Expects one of [nosasl, none, ldap, kerberos, pam, custom].
Here you can specify the value as