Bigtop
  1. Bigtop
  2. BIGTOP-528

A small patch to give better return codes which can be understood by chef and pupper among others.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.3.0
    • Fix Version/s: 0.4.0
    • Component/s: None
    • Labels:
      None

      Description

      Configuration management tools like Puppet and Chef depend on exit codes. In case of the hadoop-hive-server package, the /etc/init.d/hadoop-hive-server status call provides zero exit code independent of the service running or not. This makes Chef believe that the service is running and there is no need to start it. The fix should be very easy, only changing the three occurances of the $status variable in the service's hive_status() function to $RETVAL.

      1. BIGTOP-528.patch
        0.7 kB
        Peter Linnell

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        13m 3s 1 Peter Linnell 13/Apr/12 02:54
        Patch Available Patch Available Resolved Resolved
        6m 50s 1 Peter Linnell 13/Apr/12 03:01
        Resolved Resolved Closed Closed
        434d 21h 54m 1 Roman Shaposhnik 22/Jun/13 00:55
        Roman Shaposhnik made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Gavin made changes -
        Workflow no-reopen-closed, patch-avail [ 12662282 ] patch-available, re-open possible [ 12665955 ]
        Peter Linnell made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Bruno Mahé added a comment -

        +1

        Show
        Bruno Mahé added a comment - +1
        Peter Linnell made changes -
        Assignee Peter Linnell [ plinnell ]
        Peter Linnell made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hide
        Peter Linnell added a comment -

        Applies to trunk

        Show
        Peter Linnell added a comment - Applies to trunk
        Peter Linnell made changes -
        Field Original Value New Value
        Attachment BIGTOP-528.patch [ 12522521 ]
        Peter Linnell created issue -

          People

          • Assignee:
            Peter Linnell
            Reporter:
            Peter Linnell
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development