Maciej Holub created ZEPPELIN-5721:
--------------------------------------
Summary: Dynamic forms disappear after running a paragraph in
personal mode
Key: ZEPPELIN-5721
URL: https://issues.apache.org/jira/browse/ZEPPELIN-5721
Project: Zeppelin
Issue Type: Bug
Components: Core
Affects Versions: 0.10.0, 0.9.0
Reporter: Maciej Holub
Attachments: image-2022-04-13-22-35-56-218.png,
image-2022-04-13-22-36-21-969.png, image-2022-04-13-22-37-31-288.png,
image-2022-04-13-22-38-38-533.png, image-2022-04-13-22-39-07-414.png,
image-2022-04-13-22-39-50-467.png, image-2022-04-13-22-40-40-656.png
I would like to report a problem with dynamic forms disappearing after firing
the cell in Personalized Mode. The problem was already reported in previous
years on other zeppelin versions and it seems that it is still not solved, or
it was solved but the tickets were not resolved.
I would like to present the configuration of our zeppelin environment. We are
starting Apache Zeppelin from within a docker container on localhost on port
8080. To set up the container I am using the docker compose configuration file
shown in the image below.
!image-2022-04-13-22-35-56-218.png!
The dockerfile is responsible for the build, which has an image with version
0.10.0 of zeppelin and adds a shiro file that allows me to add some unique
users to my application along with a way to authorize and authenticate them.
!image-2022-04-13-22-36-21-969.png!
After executing the docker-compose up command from the command line on the
local machine host, apache zeppelin is started.
!image-2022-04-13-22-37-31-288.png!
The designed notebooks are intended to be used by multiple users at the same
time, and to enable this, the operating mode is set to personal mode.
The functionality of each notebook consists of the user entering the input
parameters of a search and returning it as an object of the DataFrame class. To
do this, we use dynamic forms in a cell with the default pyspark interpreter.
The code is as follows:
!image-2022-04-13-22-38-38-533.png!
After executing the cell in the notebook in personal mode, the input fields
disappear making it impossible for users with only code execution privileges to
enter input data.
!image-2022-04-13-22-39-07-414.png!
To make the forms show up again in the cell body, press the show editor or hide
output button next to the arrow that enables you to execute the code in the
paragraph.
!image-2022-04-13-22-39-50-467.png!
At this point, the forms reappear and you can enter data.
!image-2022-04-13-22-40-40-656.png!
The situation repeats every time the paragraph is re-executed.
I would like to note that such a problem does not occur when working in
collaborative mode and the forms do not disappear after executing the cell. I
also do not make any modifications to the Spark interpreter settings.
I would very much like to ask you to resolve this issue
--
This message was sent by Atlassian Jira
(v8.20.1#820001)