Adam writes:

> After upgrading Hadoop from 3.2.4 to 3.4.1 it seems I have lost
> Kerberos authentication on webhdfs - I can request everything as long
> as I provide a 'user.name' parameter [...]

However, if I set:

+    <property>
+      <name>hadoop.http.authentication.type</name>
+      <value>kerberos</value>
+    </property>
+    <property>
+      <name>hadoop.http.authentication.kerberos.keytab</name>
+      <value>{{ KEYTAB_DIR }}/spnego.service.keytab</value>
+    </property>
+    <property>
+      <name>hadoop.http.authentication.kerberos.principal</name>
+      <value>HTTP/_HOST@REALM</value>
+    </property>

I get the expected authentication responses when I try on curl to
webhdfs - but it also applies on eg the web UI, which I don't want.

Can I turn on Kerberos authentification on webhdfs only? If so, how?


  Best regards,

    Adam

-- 
 "No more than that, but very powerful all the                Adam Sjøgren
  same; simple things are good."                        [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to