To use non-secure HDFS, set the authentication mode to simple in kubernetes/conf/core-site.xml.

$ vi kubernetes/conf/core-site.xml

<property>
  <name>hadoop.security.authentication</name>
  <value>simple</value>
</property>

If the authenticaion mode should be set to kerberos (because of the use of Kerberos-based authentication for Metastore and HiveServer2), set the configuration key ipc.client.fallback-to-simple-auth-allowed to true.

$ vi kubernetes/conf/core-site.xml

<property>
  <name>hadoop.security.authentication</name>
  <value>kerberos</value>
</property>

<property>
  <name>ipc.client.fallback-to-simple-auth-allowed</name>
  <value>true</value>
</property>

To use secure (Kerberized) HDFS, see Accessing Secure HDFS.