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

zeppelin start error

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.2.0
    • Fix Version/s: None
    • Component/s: rpm
    • Labels:
    • Environment:

      centos 6, centos 7

    • Flags:
      Patch
    • Docs Text:
      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

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

              Dates

              • Created:
                Updated: