Github user Leemoonsoo commented on the issue:

    https://github.com/apache/zeppelin/pull/1005
  
    @jongyoul Right, it's not dynamically configurable. Interpreter need to be 
restarted to reconfigure. 
    
    I think it's possibly related to ZEPPELIN-999 and it's long term plan. 
Let's say a user want to use jdbc interpreter for hive and mysql. Currently, 
    
    A. user can create single interpreter setting and create two configuration 
for both hive and mysql connection. And select connection via %jdbc(hive) or 
%jdbc(mysql).
    B. or user can create two interpreter setting and each interpreter setting 
have configuration for hive and mysql connection respectively. In this case, 
select jdbc connection limited and annoying, because a notebook can not use two 
or more same type of interpreter settings at the same time. So user have to 
constantly bind/unbind interpreter setting to switch hive <-> mysql.
    
    If our long term plan is generalize ZEPPELIN-999 and allow user use 
interpreter setting alias for interpreter selection, like %hive, %mysql, then 
all disadvantages of approach **B** will be eliminated.
    
    Managing only single jdbc connection in single interpreter setting, with 
generalized ZEPPELIN-999 will give advantages, like leverage [interpreter 
authorization](https://issues.apache.org/jira/browse/ZEPPELIN-945). And in this 
case, i was thinking simple returning appropriate scheduler from getScheduler() 
by configuration would be enough.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to