Hi, Jojo Paderes 

Create a note via the web, Is calling here : 
https://github.com/apache/zeppelin/blob/master/zeppelin-server/src/main/java/org/apache/zeppelin/socket/NotebookServer.java#L283
 
<https://github.com/apache/zeppelin/blob/master/zeppelin-server/src/main/java/org/apache/zeppelin/socket/NotebookServer.java#L283>
  , You can specify an interpreter type.

Create a note via REST, Is calling here : 
https://github.com/apache/zeppelin/blob/master/zeppelin-server/src/main/java/org/apache/zeppelin/rest/NotebookRestApi.java#L363
 
<https://github.com/apache/zeppelin/blob/master/zeppelin-server/src/main/java/org/apache/zeppelin/rest/NotebookRestApi.java#L363>
 , Only the default spark interpreter can be used.

I looked at the REST importNote interface. 
https://github.com/apache/zeppelin/blob/master/zeppelin-server/src/main/java/org/apache/zeppelin/rest/NotebookRestApi.java#L342
 
<https://github.com/apache/zeppelin/blob/master/zeppelin-server/src/main/java/org/apache/zeppelin/rest/NotebookRestApi.java#L342>
 , The specified interpreter is also not supported.

If you need to, you can create a JIRA , Implement it yourself, or let others 
help you with this feature.

:-)


> 在 2019年3月6日,下午11:29,Jojo Paderes <jojo.pade...@gmail.com> 写道:
> 
> I'm trying to figure if there's a way to specify the default interpreter when 
> creating a new notebook using Zeppelin's REST api. Is this possible? Or the 
> only way to set the default interpreter for the notebook is using the web 
> interface only?

Reply via email to