Details

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

      Description

      this is a small issue, this only happened in SLES as I tested.
      when start/restart hadoop-httpfs in SLES, it still can bring up the service, however, the return code is 3 instead of 0

      service hadoop-httpfs start
      __EOT__
      12/07/03 11:15:39 TRACE shell.Shell: return: 3
      12/07/03 11:15:39 TRACE shell.Shell:
      <stdout>
      Starting Hadoop httpfs: ..done
      ......
      service hadoop-httpfs restart
      __EOT__
      12/07/03 11:15:48 TRACE shell.Shell: return: 3
      12/07/03 11:15:48 TRACE shell.Shell:
      <stdout>
      Stopping Hadoop httpfs: ..done
      
      1. BIGTOP-667.patch
        0.6 kB
        Sean Mackrory

        Activity

        Hide
        Sean Mackrory added a comment -

        The problem turned out to simply be that the PID file was being used to verify successful start up, but even when start up was successful on SLES it tended to take longer than the time it took the init script to check.

        With this patch, it will wait up to 5 seconds, but will exit as soon as it can detect successful startup.

        Show
        Sean Mackrory added a comment - The problem turned out to simply be that the PID file was being used to verify successful start up, but even when start up was successful on SLES it tended to take longer than the time it took the init script to check. With this patch, it will wait up to 5 seconds, but will exit as soon as it can detect successful startup.
        Hide
        Peter Linnell added a comment -

        +1 LGTM

        Show
        Peter Linnell added a comment - +1 LGTM

          People

          • Assignee:
            Sean Mackrory
            Reporter:
            Johnny Zhang
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development