Inicié una instancia de apache/zeppelin:0.8.1 docker y seguí este manual para deshabilitar el acceso anónimo: https://zeppelin.apache.org/docs/0.8.1/setup/security/shiro_authentication.html
No importa lo que intente, el sitio de Zeppelin en su página de configuración no lee ningún cambio en conf/zeppelin-site.xml
Incluso traté de modificar el archivo de configuración de un portátil Zeppelin, todavía sin efecto. Los permisos y la propiedad de zeppelin-site.xml se configuran igual que en zeppelin-site.xml.template
gato conf/zeppelin-site.xml | grep -A3 -n anónimo
408: <name>zeppelin.anonymous.allowed</name> 409- <value>false</value> 410- <description>Anonymous user allowed by default</description> 411-</property>ls -la conf
drwxr-xr-x 1 503 root 4096 Jun 14 06:36 . drwxr-xr-x 1 503 root 4096 Jun 14 07:18 .. -rw-r--r-- 1 503 root 1326 Jan 16 01:45 configuration.xsl -rw-r--r-- 1 root root 46755 Jun 14 07:18 interpreter.json -rw-r--r-- 1 503 root 2634 Jan 16 01:45 interpreter-list -rw-r--r-- 1 503 root 1382 Jan 16 01:45 log4j.properties -rw-r--r-- 1 503 root 1018 Jan 16 01:45 log4j_yarn_cluster.properties -rw-r--r-- 1 root root 5342 Jun 14 06:35 shiro.ini -rw-r--r-- 1 503 root 5342 Jan 16 01:45 shiro.ini.template -rw-r--r-- 1 503 root 5799 Jan 16 01:45 zeppelin-env.cmd.template -rw-r--r-- 1 503 root 7910 Jan 16 01:45 zeppelin-env.sh.template -rwxr-xr-x 1 503 root 20018 Jun 14 06:36 zeppelin-site.xml -rwxr-xr-x 1 503 root 20017 Jan 16 01:45 zeppelin-site.xml.templateLuego, como se indica en el manual, reinicié Zeppelin:
bin/zeppelin-daemon.sh restartque no produjo ningún efecto en la página de configuración:
Configurations Shows current configurations for Zeppelin Server. Note: For security reasons, some key/value pairs including passwords would not be shown. name value zeppelin.anonymous.allowed trueResuelto reiniciando el contenedor. El manual original afirma incorrectamente que es suficiente con el reinicio del servicio Zeppelin.