You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Darshan Mehta (JIRA)" <ji...@apache.org> on 2017/04/03 22:22:41 UTC
[jira] [Created] (ZEPPELIN-2346) Zeppelin dependency added using
REST API is not picked up
Darshan Mehta created ZEPPELIN-2346:
---------------------------------------
Summary: Zeppelin dependency added using REST API is not picked up
Key: ZEPPELIN-2346
URL: https://issues.apache.org/jira/browse/ZEPPELIN-2346
Project: Zeppelin
Issue Type: Bug
Reporter: Darshan Mehta
I am using Zeppelin 0.7.0 with EMR and trying to add dependency using REST API (as explained [here|https://zeppelin.apache.org/docs/latest/rest-api/rest-interpreter.html#create-a-new-interpreter-setting]). Below is my request:
POST : http://[zeppelin-server]:[zeppelin-port]/api/interpreter/setting
Payload:
{code:javascript}
{
"name": "dep",
"group": "spark",
"properties": {},
"interpreterGroup": [
{
"class":"org.apache.zeppelin.spark.DepInterpreter",
"name": "dep",
"defaultInterpreter": true
}
],
"dependencies": []
}
{code}
I get 201 created in the response. I can also see interpreter.json file getting updated in conf. However, when I try to use {{%spark.dep}} in Zeppelin notebook, it shows "spark.dep interpreter not found" error message.
I have tried restarting Zeppelin but it does not seem to work. Also, in the interpreter.json file, I can see "dep" added in all but one setting.
Do I need to add/configure anything else to use spark.dep dependency?
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)