Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

StormUI cannot get data

Shulou Source: shulou.com Published: 2022-06-03 06:57:14 10月03日 Update

Noun solution SPNEGO (SPNEGO: Simple and Protected GSS-API Negotiation) is a security protocol provided by Microsoft that uses GSS-API authentication mechanism to make Webserver share Windows Credentials. It extends Kerberos (a network authentication protocol). This is because when you use Kerberos for authentication, when you access the HTTP protocol API of a cluster application through Ambari-server, you need to transfer the Token of the Kerberos principal that has been authenticated by GSS-API on the Ambari WEB side and the API; of the HTTP protocol shared to the cluster application. If the Ambari is not configured and the SPNEGO security protocol is configured, and Ambari requests the cluster HTTP protocol API to obtain data, the authentication will fail and the data cannot be obtained. Ambari-server prompts "SPNego authentication failed, can not get hadoop.auth cookie" error message solution 1. Stop the Ambari-server process [root@server bin] $systemctl stop ambari-server2. Open and configure the security protocol [root@server bin] $ambari-server setup-security Using python / usr/bin/python Security setup options...====Choose one of the following options: [1] Enable HTTPS for Ambari server. [2] Encrypt passwords stored in ambari.properties file. [3] Setup Ambari kerberos JAAS configuration. [4] Setup truststore. Import certificate to truststore.====Enter choice, (1-5): 3Setting up Ambari kerberos JAAS configuration to access secured Hadoop daemons...Enter ambari server's kerberos principal name (ambari@EXAMPLE.COM): ambari-server-test@TEST.COMEnter keytab path for ambari server's kerberos principal: / etc/security/keytabs/ambari.server.keytabAmbari Server 'setup-security' completed successfully.3. Restart the Ambari-server process to take effect [root@server bin] $systemctl start ambari-server

Tags: Authentication security clustering configuration data process application information reason noun method time mechanism network error Microsoft prompt Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia macOS Redmi MySQL Shulou Information