Эх сурвалжийг харах

HUE-2936 [jb] Disable delegation token for YARN kill button for now

Yarn still requires:
hadoop.http.authentication.type must be kerberos (aka "Enable Kerberos Authentication for HTTP Web-Consoles")

If not we are getting:
There was a problem communicating with the server: Delegation token operations can only be carried out on a Kerberos authenticated channel. Expected auth type is kerberos, got type null (error 403)

And this defeats the whole purpose of using the tokens as it works without them and just doing the above currently
Romain Rigaux 10 жил өмнө
parent
commit
6236ad7

+ 1 - 1
desktop/libs/hadoop/src/hadoop/yarn/resource_manager_api.py

@@ -113,7 +113,7 @@ class ResourceManagerApi(object):
     token = None
 
     # Tokens are managed within the kill method but should be moved out when not alpha anymore or we support submitting an app.
-    if self.security_enabled:
+    if self.security_enabled and False:
       full_token = self.delegation_token()
       if 'token' not in full_token:
         raise PopupException(_('YARN did not return any token field.'), detail=smart_str(full_token))