Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.7.3, 0.8.0
-
None
-
None
-
centos 7.5.1804
Description
This happens for each interpreter, but I will take psql as an example.
1) default settings
Psql default settings contain, among other things :
"name": "psql",
...
"properties": {
"postgresql.driver.name": "org.postgresql.Driver",
"postgresql.password": "",
"postgresql.url": "jdbc:postgresql://localhost:5432/",
"postgresql.max.result": "1000",
"postgresql.user": "gpadmin"
},
....
2) changing a parameter ( with curl here):
{{curl -b cookie http://[zeppelin-server]:[zeppelin-port]/api/interpreter/setting/[interpreter ID] -X PUT -d '{ "option":
{ "isUserImpersonate": true, "perUser": "isolated"}}'}}
As you can see, I do not change anything belonging to properties.
3) curl's return
{"status":"OK","message":"","body":{"id":"2DKAKYN72","name":"psql","group":"psql","status":"DOWNLOADING_DEPENDENCIES","interpreterGroup":[{"name":"sql","class":"org.apache.zeppelin.postgresql.PostgreSqlInterpreter","defaultInterpreter":false,"editor":{}}],"option":{"remote":false,"port":-1,"perNote":"shared","perUser":"isolated","isExistingProcess":false,"setPermission":false,"isUserImpersonate":true}}}
==> properties are gone.