<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Custom Zeppelin interpreter not found (HDP Sandbox 2.4) in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Custom-Zeppelin-interpreter-not-found-HDP-Sandbox-2-4/m-p/127186#M34645</link>
    <description>&lt;P&gt;(Back from vacation.)&lt;/P&gt;&lt;P&gt;Installed Zeppelin 0.6.0 from source in a CentOS VM, and it does see my custom interpreter!&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 27 Jul 2016 20:46:35 GMT</pubDate>
    <dc:creator>damien_collard</dc:creator>
    <dc:date>2016-07-27T20:46:35Z</dc:date>
    <item>
      <title>Custom Zeppelin interpreter not found (HDP Sandbox 2.4)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Custom-Zeppelin-interpreter-not-found-HDP-Sandbox-2-4/m-p/127181#M34640</link>
      <description>&lt;P&gt;
	Hello,&lt;/P&gt;&lt;P&gt;Context: &lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;HDP Sandbox 2.4&lt;/LI&gt;&lt;LI&gt;Zeppelin 0.6.0 (pre-installed) -- zeppelin-server-0.6.0.2.4.0.0-169.jar specifically, although the Ambari UI reports version 0.0.5 (!).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;
	I'm writing a custom interpreter for Zeppelin called "dummy" (does nothing interesting at the moment, hence the name). My com.dummy.DummyInterpreter class extends 
	org.apache.zeppelin.interpreter.Interpreter, as it should. I've built it against package org.apache.zeppelin:zeppelin-interpreter:0.6.0 and installed its jar in directory interpreter/dummy. &lt;/P&gt;&lt;P&gt;The interpreter jar &lt;STRONG&gt;does contain&lt;/STRONG&gt; a file called interpreter-setting.json at its "root" with the following contents:&lt;/P&gt;&lt;PRE&gt;[
    {
        "group": "dummy",
        "name": "dummy",
        "className": "com.dummy.DummyInterpreter",
        "properties": {
            "boolProp": {
                "envName": null,
                "propertyName": "dummy.boolProp",
                "defaultValue": "true",
                "description": "Boolean property"
            },
            "intProp": {
                "envName": null,
                "propertyName": "dummy.intProp",
                "defaultValue": "0",
                "description": "Integer property"
            }
        }
    }
]
&lt;/PRE&gt;&lt;P&gt;I also added "com.dummy.DummyInterpreter" to setting "zeppelin.interpreters" in zeppelin-site.xml.&lt;/P&gt;&lt;P&gt;However, I can't get Zeppelin to load it: Zeppelin does pick the "dummy" folder when restarted &lt;STRONG&gt;but it doesn't find the interpreter class&lt;/STRONG&gt;, as evidenced by the following log excerpt: &lt;/P&gt;&lt;PRE&gt;INFO - Reading /usr/hdp/current/zeppelin-server/lib/interpreter/ignite
INFO - Interpreter ignite.ignite found. class=org.apache.zeppelin.ignite.IgniteInterpreter
INFO - Interpreter ignite.ignitesql found. class=org.apache.zeppelin.ignite.IgniteSqlInterpreter
INFO - Reading /usr/hdp/current/zeppelin-server/lib/interpreter/dummy
INFO - Reading /usr/hdp/current/zeppelin-server/lib/interpreter/md
INFO - Interpreter md.md found. class=org.apache.zeppelin.markdown.Markdown
&lt;/PRE&gt;&lt;P&gt;Unfortunately, there's no error reported...&lt;/P&gt;&lt;P&gt;And strangely enough, this output looks more like what Zeppelin 0.5.0 would print than 0.6.0 would, based on my reading the source of Zeppelin's InterpreterFactory...&lt;/P&gt;&lt;P&gt;What am I missing?&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2016 20:46:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Custom-Zeppelin-interpreter-not-found-HDP-Sandbox-2-4/m-p/127181#M34640</guid>
      <dc:creator>damien_collard</dc:creator>
      <dc:date>2016-07-13T20:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Zeppelin interpreter not found (HDP Sandbox 2.4)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Custom-Zeppelin-interpreter-not-found-HDP-Sandbox-2-4/m-p/127182#M34641</link>
      <description>&lt;P&gt;The official 0.6.0 is 16 days old (https://github.com/apache/zeppelin/releases) so I expect that the version in the Sandbox is a "0.6.0-preview" maybe more a 0.5.6 (I actually don't know)&lt;/P&gt;&lt;P&gt;Did you try to add &lt;/P&gt;&lt;PRE&gt;  static {
    Interpreter.register("dummy", DummyInterpreter.class.getName());
  }&lt;/PRE&gt;&lt;P&gt;to your DummyInterpreter? I understand this was necessary before 0.6.0 (now deprecated but still supported in 0.6.0)&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2016 21:32:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Custom-Zeppelin-interpreter-not-found-HDP-Sandbox-2-4/m-p/127182#M34641</guid>
      <dc:creator>bwalter1</dc:creator>
      <dc:date>2016-07-13T21:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Zeppelin interpreter not found (HDP Sandbox 2.4)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Custom-Zeppelin-interpreter-not-found-HDP-Sandbox-2-4/m-p/127183#M34642</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;Yes, I tried the static registration method as follows (in the DummyInterpreter class):&lt;/P&gt;&lt;PRE&gt;static {
    Interpreter.register("dummy", "dummy", DummyInterpreter.class.getName(),
        new InterpreterPropertyBuilder()
            .add("dummy.boolProp", "true", "Boolean property")
            .add("dummy.intProp", "0", "Integer property")
            .build()
    );
}



&lt;/PRE&gt;&lt;P&gt;I also tried building my interpreter against version 0.5.0-incubating (with the above static registration) but there was no difference whatsoever: Zeppelin wouldn't load the interpreter.&lt;/P&gt;&lt;P&gt;I guess I'll have to do what I wanted to avoid: install Zeppelin "manually" on an HDP 2.4... ?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2016 22:53:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Custom-Zeppelin-interpreter-not-found-HDP-Sandbox-2-4/m-p/127183#M34642</guid>
      <dc:creator>damien_collard</dc:creator>
      <dc:date>2016-07-13T22:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Zeppelin interpreter not found (HDP Sandbox 2.4)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Custom-Zeppelin-interpreter-not-found-HDP-Sandbox-2-4/m-p/127184#M34643</link>
      <description>&lt;P&gt;I installed it manually, it was quite straightforward. However you need maven 3.3, else some npm stuff will fail.&lt;/P&gt;&lt;P&gt;I just did "mvn clean package -DskipTests"&lt;/P&gt;&lt;P&gt;I then copied conf/zeppelin-env.sh.template to conf/zeppelin-env.sh and added&lt;/P&gt;&lt;PRE&gt;export JAVA_HOME=/usr/jdk64/jdk1.8.0_60/
export SPARK_HOME=/usr/hdp/current/spark-client
export HADOOP_HOME=/usr/hdp/current/hadoop-client&lt;/PRE&gt;&lt;P&gt;and copied zeppelin-site.xml.template to zeppelin-site.xml and changed port to 9995&lt;/P&gt;&lt;P&gt;Plus in Zeppelin for the Spark interpreter I changed the "master" property to yarn-client.&lt;/P&gt;&lt;P&gt;Seems to work for me on a HDP 2.4.2 cluster&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2016 23:20:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Custom-Zeppelin-interpreter-not-found-HDP-Sandbox-2-4/m-p/127184#M34643</guid>
      <dc:creator>bwalter1</dc:creator>
      <dc:date>2016-07-13T23:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Zeppelin interpreter not found (HDP Sandbox 2.4)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Custom-Zeppelin-interpreter-not-found-HDP-Sandbox-2-4/m-p/127185#M34644</link>
      <description>&lt;P&gt;Thank you for the installation details. I'm currently setting up a new VM on which I'll perform a manual install of Zeppelin; I'll post the results here.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2016 20:06:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Custom-Zeppelin-interpreter-not-found-HDP-Sandbox-2-4/m-p/127185#M34644</guid>
      <dc:creator>damien_collard</dc:creator>
      <dc:date>2016-07-15T20:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Zeppelin interpreter not found (HDP Sandbox 2.4)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Custom-Zeppelin-interpreter-not-found-HDP-Sandbox-2-4/m-p/127186#M34645</link>
      <description>&lt;P&gt;(Back from vacation.)&lt;/P&gt;&lt;P&gt;Installed Zeppelin 0.6.0 from source in a CentOS VM, and it does see my custom interpreter!&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2016 20:46:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Custom-Zeppelin-interpreter-not-found-HDP-Sandbox-2-4/m-p/127186#M34645</guid>
      <dc:creator>damien_collard</dc:creator>
      <dc:date>2016-07-27T20:46:35Z</dc:date>
    </item>
  </channel>
</rss>

