Here is configurations related to Helium:

ZEPPELIN_HELIUM_REGISTRY("zeppelin.helium.registry", "helium," +
HELIUM_PACKAGE_DEFAULT_URL),
ZEPPELIN_HELIUM_NODE_INSTALLER_URL("zeppelin.helium.node.installer.url",
        "https://nodejs.org/dist/";),
ZEPPELIN_HELIUM_NPM_INSTALLER_URL("zeppelin.helium.npm.installer.url",
        "http://registry.npmjs.org/";),
ZEPPELIN_HELIUM_YARNPKG_INSTALLER_URL("zeppelin.helium.yarnpkg.installer.url",
        "https://github.com/yarnpkg/yarn/releases/download/";),

HELIUM_PACKAGE_DEFAULT_URL is not configuratable and the default value is "
https://s3.amazonaws.com/helium-package/helium.json";

You can change ZEPPELIN_HELIUM_REGISTRY to "helium," +
${YOUR_SERVER_HAVING_HELIUM_JSON} And rest of them you can use proxy
setting for your server.

Hope this helps,
JL



On Fri, Mar 22, 2019 at 2:38 PM Lian Jiang <jiangok2...@gmail.com> wrote:

> Thanks. I saw https://issues.apache.org/jira/browse/ZEPPELIN-3614 is
> still open which make me think zeppelin does not support offline helium.
> However, below posts all indicate otherwise:
>
>
> https://zeppelin.apache.org/docs/0.8.0/development/helium/writing_visualization_basic.html
>
> https://community.hortonworks.com/questions/223589/installing-helium-modules-in-zeppelin.html
>
> Can anybody confirm if zeppelin support using helium offline? Thanks.
>
>
>
> On Thu, Mar 21, 2019 at 2:48 PM Jhon Anderson Cardenas Diaz <
> jhonderson2...@gmail.com> wrote:
>
>> Is there something helium-related in the zeppelin logs once you start it
>> ? If there is some problem it should say.
>>
>> Btw, once you open a notebook, if it has associated helium plugins,
>> zeppelin tries to download and install node and yarn on runtime, that makes
>> me wonder if it will works without internet connection.
>>
>> El jue., 21 mar. 2019 a las 16:24, Lian Jiang (<jiangok2...@gmail.com>)
>> escribió:
>>
>>> Any clue is highly appreciated!
>>>
>>> On Wed, Mar 20, 2019 at 9:27 PM Lian Jiang <jiangok2...@gmail.com>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> I am using Horton work HDP3.0 which has zeppelin 0.8.0. I followed
>>>> https://zeppelin.apache.org/docs/0.8.0/development/helium/writing_visualization_basic.html
>>>> to install helium viz packages. Since my environment does not have internet
>>>> access, I have to install packages into local registry. Here is what I did:
>>>>
>>>> step 1. added zeppelin.helium.localregistry.default in custom
>>>> zeppelin-site settings, pointing to a local helium folder on the zeppelin
>>>> master host. Restart zeppelin in ambari.
>>>> step 2. download https://s3.amazonaws.com/helium-package/helium.json
>>>> to the helium folder.
>>>> step 3. create a npm package tarball, upload the zeppelin master host,
>>>> unzip into the helium folder. I also updated the artifact to point to local
>>>> npm folder (e.g. from sogou-map-vis@1.0.0 to /u01/helium/sogou-map-vis)
>>>>
>>>> However, zeppelin's helium page does not list any viz packages. I
>>>> searched zeppelin.helium.localregistry.default in zeppelin source code
>>>> and found it only exist in the document writing_visualization_basic.md.
>>>>
>>>> What am I missing? Thanks a lot.
>>>>
>>>>

-- 
이종열, Jongyoul Lee, 李宗烈
http://madeng.net

Reply via email to