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

zeppelin start error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.2.0
    • None
    • rpm
    • centos 6, centos 7

    • Patch
    • Hide
      In spec file post paragraph

      %post
      %{alternatives_cmd} --install %{config_zeppelin} %{name}-conf %{config_zeppelin}.dist 30
      mkdir -p /usr/lib/zeppelin/local-repo
      chkconfig --add %{name}
      chown -R zeppelin:zeppelin /usr/lib/zeppelin/local-repo
      ln -s /var/run/zeppelin /usr/lib/zeppelin/run
      ln -s /var/log/zeppelin /usr/lib/zeppelin/logs
      chown -R zeppelin /usr/lib/zeppelin
      Show
      In spec file post paragraph %post %{alternatives_cmd} --install %{config_zeppelin} %{name}-conf %{config_zeppelin}.dist 30 mkdir -p /usr/lib/zeppelin/local-repo chkconfig --add %{name} chown -R zeppelin:zeppelin /usr/lib/zeppelin/local-repo ln -s /var/run/zeppelin /usr/lib/zeppelin/run ln -s /var/log/zeppelin /usr/lib/zeppelin/logs chown -R zeppelin /usr/lib/zeppelin

    Description

      RPM package is successfully, but when installed to the system with yum. Zeppelin could not start with /etc/init.d/zeppelin. I found that zeppelin will try to access logs and run and under /usr/lib/zeppelin when it start up, but there was no such dir, so I fixed spec file add a symbolic link to /var/run/zeppelin and /var/log/zeppelin

      Attachments

        Activity

          People

            Unassigned Unassigned
            Slaytanic Lei Xiang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: