Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-2472

zeppelin puppet module needs to expose ZEPPELIN_WAR_TEMPDIR

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.2.0
    • Component/s: deployment
    • Labels:
      None

      Description

      When deploying the zeppelin-server role, zeppelin fails to start because of:

      Exception in thread "main" java.lang.IllegalArgumentException: Bad temp directory: /usr/lib/zeppelin/webapps
              at org.eclipse.jetty.webapp.WebAppContext.setTempDirectory(WebAppContext.java:1119)
              at org.apache.zeppelin.server.ZeppelinServer.setupWebAppContext(ZeppelinServer.java:249)
              at org.apache.zeppelin.server.ZeppelinServer.main(ZeppelinServer.java:99)
      

      The default zeppelin-env.sh template does not expose a webapps dir, so the system defaults to /usr/lib/zeppelin/webapps (which does not exist). This causes the zeppelin service to fail on startup.

      The zeppelin deb package does create a webapps dir:

      $ dpkg -S /var/run/zeppelin/webapps/
      zeppelin: /var/run/zeppelin/webapps
      

      We just need the default zeppelin template to use it. PR incoming.

        Issue Links

          Activity

          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user kwmonroe closed the pull request at:

          https://github.com/apache/bigtop/pull/114

          Show
          githubbot ASF GitHub Bot added a comment - Github user kwmonroe closed the pull request at: https://github.com/apache/bigtop/pull/114
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user kwmonroe commented on the issue:

          https://github.com/apache/bigtop/pull/114

          This came in with:

          https://github.com/apache/bigtop/commit/9299713a2c59b7c605ec8a3d118244562485bf59

          Closing out PR.

          Show
          githubbot ASF GitHub Bot added a comment - Github user kwmonroe commented on the issue: https://github.com/apache/bigtop/pull/114 This came in with: https://github.com/apache/bigtop/commit/9299713a2c59b7c605ec8a3d118244562485bf59 Closing out PR.
          Hide
          cos Konstantin Boudnik added a comment -

          Committed and pushed to the master. Thanks Kevin W Monroe

          Show
          cos Konstantin Boudnik added a comment - Committed and pushed to the master. Thanks Kevin W Monroe
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user c0s commented on the issue:

          https://github.com/apache/bigtop/pull/114

          oh yeah, makes sense! +1 will commit it in a bit. Thanks!

          Show
          githubbot ASF GitHub Bot added a comment - Github user c0s commented on the issue: https://github.com/apache/bigtop/pull/114 oh yeah, makes sense! +1 will commit it in a bit. Thanks!
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user kwmonroe commented on the issue:

          https://github.com/apache/bigtop/pull/114

          Negative c0s, your commit is in there, but that only appears to affect the zeppelin deb. Your change to zeppelin-env.sh is not present in the puppet:

          https://github.com/apache/bigtop/blob/master/bigtop-deploy/puppet/modules/zeppelin/templates/zeppelin-env.sh

          So I'm guessing puppet installs the zeppelin deb (which does the right thing), but then it goes off and overwrites the /etc/zeppelin/conf/zeppelin-env.sh with its template from ./bigtop-deploy/puppet/modules/zeppelin/templates.

          This PR is to ensure your changes from:

          bigtop-packages/src/common/zeppelin/zeppelin-env.sh

          make it into:

          bigtop-deploy/puppet/modules/zeppelin/templates/zeppelin-env.sh

          Show
          githubbot ASF GitHub Bot added a comment - Github user kwmonroe commented on the issue: https://github.com/apache/bigtop/pull/114 Negative c0s, your commit is in there, but that only appears to affect the zeppelin deb. Your change to zeppelin-env.sh is not present in the puppet: https://github.com/apache/bigtop/blob/master/bigtop-deploy/puppet/modules/zeppelin/templates/zeppelin-env.sh So I'm guessing puppet installs the zeppelin deb (which does the right thing), but then it goes off and overwrites the /etc/zeppelin/conf/zeppelin-env.sh with its template from ./bigtop-deploy/puppet/modules/zeppelin/templates. This PR is to ensure your changes from: bigtop-packages/src/common/zeppelin/zeppelin-env.sh make it into: bigtop-deploy/puppet/modules/zeppelin/templates/zeppelin-env.sh
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user c0s commented on the issue:

          https://github.com/apache/bigtop/pull/114

          Interesting, I have fixed this back in Jan as
          a97479a9d37d7c94f5128f36df2bad8b3676d2c2
          Are you saying this change is gone?

          Show
          githubbot ASF GitHub Bot added a comment - Github user c0s commented on the issue: https://github.com/apache/bigtop/pull/114 Interesting, I have fixed this back in Jan as a97479a9d37d7c94f5128f36df2bad8b3676d2c2 Are you saying this change is gone?
          Hide
          githubbot ASF GitHub Bot added a comment -

          GitHub user kwmonroe opened a pull request:

          https://github.com/apache/bigtop/pull/114

          BIGTOP-2472: zeppelin puppet module needs to expose ZEPPELIN_WAR_TEMPDIR

          You can merge this pull request into a Git repository by running:

          $ git pull https://github.com/juju-solutions/bigtop BIGTOP-2472

          Alternatively you can review and apply these changes as the patch at:

          https://github.com/apache/bigtop/pull/114.patch

          To close this pull request, make a commit to your master/trunk branch
          with (at least) the following in the commit message:

          This closes #114


          commit 4177d2ed8ed1d4162a47fbeb28d53b3516eb6b90
          Author: Kevin W Monroe <kevin.monroe@canonical.com>
          Date: 2016-06-06T20:25:43Z

          BIGTOP-2472: zeppelin puppet module needs to expose ZEPPELIN_WAR_TEMPDIR


          Show
          githubbot ASF GitHub Bot added a comment - GitHub user kwmonroe opened a pull request: https://github.com/apache/bigtop/pull/114 BIGTOP-2472 : zeppelin puppet module needs to expose ZEPPELIN_WAR_TEMPDIR You can merge this pull request into a Git repository by running: $ git pull https://github.com/juju-solutions/bigtop BIGTOP-2472 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/bigtop/pull/114.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #114 commit 4177d2ed8ed1d4162a47fbeb28d53b3516eb6b90 Author: Kevin W Monroe <kevin.monroe@canonical.com> Date: 2016-06-06T20:25:43Z BIGTOP-2472 : zeppelin puppet module needs to expose ZEPPELIN_WAR_TEMPDIR

            People

            • Assignee:
              kwmonroe Kevin W Monroe
              Reporter:
              kwmonroe Kevin W Monroe
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development