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

Fix Livy deployment failure on Debian and Ubuntu

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: None
    • Labels:
      None

      Description

      Deploying Livy onto Debian or Ubuntu fails as follows.

      Jul 19 07:33:51 debian10.localdomain systemd[1]: Starting LSB: Livy Server...
      Jul 19 07:33:51 debian10.localdomain runuser[20261]: pam_unix(runuser:session): session opened for user livy by (uid=0)
      Jul 19 07:33:51 debian10.localdomain livy[20187]: mkdir: cannot create directory ‘/usr/lib/livy/logs’: Permission denied
      Jul 19 07:33:51 debian10.localdomain livy[20187]: livy doesn't have permission to write to directory /usr/lib/livy/logs (defined by LIVY_LOG_DIR).
      Jul 19 07:33:51 debian10.localdomain runuser[20261]: pam_unix(runuser:session): session closed for user livy
      Jul 19 07:33:56 debian10.localdomain livy[20187]: Failed to start Livy Server. Return value: 3 ... failed!
      Jul 19 07:33:56 debian10.localdomain systemd[1]: livy.service: Control process exited, code=exited, status=3/NOTIMPLEMENTED
      Jul 19 07:33:56 debian10.localdomain systemd[1]: livy.service: Failed with result 'exit-code'.
      Jul 19 07:33:56 debian10.localdomain systemd[1]: Failed to start LSB: Livy Server.
      
      -- Unit livy.service has begun starting up.
      Jul 20 08:42:52 ubuntu1604.localdomain runuser[4641]: pam_unix(runuser:session): session opened for user livy by (uid=0)
      Jul 20 08:42:52 ubuntu1604.localdomain livy[4617]: mkdir: cannot create directory ‘/usr/lib/livy/logs’: Permission denied
      Jul 20 08:42:52 ubuntu1604.localdomain livy[4617]: livy doesn't have permission to write to directory /usr/lib/livy/logs (defi
      Jul 20 08:42:52 ubuntu1604.localdomain runuser[4641]: pam_unix(runuser:session): session closed for user livy
      Jul 20 08:42:57 ubuntu1604.localdomain livy[4617]:  * Failed to start Livy Server. Return value: 3
      Jul 20 08:42:57 ubuntu1604.localdomain systemd[1]: livy.service: Control process exited, code=exited status=3
      Jul 20 08:42:57 ubuntu1604.localdomain systemd[1]: Failed to start LSB: Livy Server.
      -- Subject: Unit livy.service has failed
      -- Defined-By: systemd
      -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
      -- 
      -- Unit livy.service has failed.
      

        Attachments

          Activity

            People

            • Assignee:
              sekikn Kengo Seki
              Reporter:
              sekikn Kengo Seki
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m