Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-4953

Cannot enable helium package due to conflict in yarn command (yarnpkg vs Hadoop Yarn)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.8.2
    • None
    • helium
    • None
    • Ubuntu: 18.04

      Zeppelin: 0.8.2

      Hadoop: 2.7.3

      Yarnpkg: 1.22.4

    Description

      Enabling Helium packages from Zeppelin fails with error:

      com.github.eirslett.maven.plugins.frontendlib. TaskRunnerException: 'yarn install--fetch-retries=2 --fetch-retry-factor=1 --fetch-retry-mintimeout=5000 --registry=http://registry.npmjs.org/' failed.

      I am able to trace the issue being caused due to the command 'yarn' pointing to /opt/hadoop/bin/yarn instead of /opt/yarn/bin which the Zeppelin expects, even though both paths are exported in bashrc.

      Removing Hadoop installation or removing it from path is not possible due to SparkĀ  requirements.

      The issue may be avoided with the usage of 'npm install' instead of 'yarn install' on the Helium package.

      Kindly suggest a fix or workaround for this issue.

      Attachments

        Activity

          People

            Unassigned Unassigned
            raunaq1990 Raunaq Biswas
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: