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

Spark-master service fails to start due to missing /usr/lib/spark/work

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.8.0
    • Component/s: build, debian
    • Labels:
    • Environment:

      Ubuntu 12.04 x64

      Description

      /usr/lib/spark/work is expected to link to /var/run/spark/work after deployment.
      However, the spark-core deb package does not include /usr/lib/spark/work. The Spark service tries to create work folder in /usr/lib/spark when starting and of cause it fails due to permission.

      1. BIGTOP-1371.patch
        0.8 kB
        Xiaomin Zhang

        Activity

        Hide
        zhos Xiaomin Zhang added a comment -

        From d67bc759f36ec23be3e1b2e81ea396176e5b1282 Mon Sep 17 00:00:00 2001
        From: Xiaomin Zhang <zhangxiaomin@gmail.com>
        Date: Thu, 10 Jul 2014 23:54:29 +0800
        Subject: [PATCH] BIGTOP-1371: Spark-master service fails to start due to
        missing /usr/lib/spark/work


        bigtop-packages/src/deb/spark/spark-core.install | 1 +
        1 file changed, 1 insertion

        diff --git a/bigtop-packages/src/deb/spark/spark-core.install b/bigtop-packages/src/deb/spark/spark-core.install
        index bbbdb94..77c013f 100644
        — a/bigtop-packages/src/deb/spark/spark-core.install
        +++ b/bigtop-packages/src/deb/spark/spark-core.install
        @@ -18,6 +18,7 @@
        /usr/lib/spark/LICENSE
        /usr/lib/spark/NOTICE
        /usr/lib/spark/RELEASE
        +/usr/lib/spark/work
        /var/lib/spark/
        /var/log/spark/
        /var/run/spark/

        1.7.9.5

        Show
        zhos Xiaomin Zhang added a comment - From d67bc759f36ec23be3e1b2e81ea396176e5b1282 Mon Sep 17 00:00:00 2001 From: Xiaomin Zhang <zhangxiaomin@gmail.com> Date: Thu, 10 Jul 2014 23:54:29 +0800 Subject: [PATCH] BIGTOP-1371 : Spark-master service fails to start due to missing /usr/lib/spark/work — bigtop-packages/src/deb/spark/spark-core.install | 1 + 1 file changed, 1 insertion diff --git a/bigtop-packages/src/deb/spark/spark-core.install b/bigtop-packages/src/deb/spark/spark-core.install index bbbdb94..77c013f 100644 — a/bigtop-packages/src/deb/spark/spark-core.install +++ b/bigtop-packages/src/deb/spark/spark-core.install @@ -18,6 +18,7 @@ /usr/lib/spark/LICENSE /usr/lib/spark/NOTICE /usr/lib/spark/RELEASE +/usr/lib/spark/work /var/lib/spark/ /var/log/spark/ /var/run/spark/ – 1.7.9.5
        Hide
        zhos Xiaomin Zhang added a comment -

        This is just a simple patch to add the /usr/lib/spark/work to spark-core.install file, so that dh_build will include it in the final package

        Show
        zhos Xiaomin Zhang added a comment - This is just a simple patch to add the /usr/lib/spark/work to spark-core.install file, so that dh_build will include it in the final package
        Hide
        cos Konstantin Boudnik added a comment -

        +1 looks good.
        And committed to the master. Thanks, Xiaomin Zhang

        Show
        cos Konstantin Boudnik added a comment - +1 looks good. And committed to the master. Thanks, Xiaomin Zhang
        Hide
        cos Konstantin Boudnik added a comment -

        Committed. Thanks!

        Show
        cos Konstantin Boudnik added a comment - Committed. Thanks!

          People

          • Assignee:
            zhos Xiaomin Zhang
            Reporter:
            zhos Xiaomin Zhang
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 168h
              168h
              Remaining:
              Remaining Estimate - 168h
              168h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development