Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-8307

ntp-wait --help does not always return 0

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Impala 3.3.0
    • None
    • None
    • ghx-label-8

    Description

      testdata/cluster/admin uses `ntp-wait --help` to determine if ntp-wait is installed or not. The test is not reliable since ntp-wait --help can both return 1 or 0 depending on the output of  

      /usr/sbin/ntpq -c "rv 0"

      (which is what ntp-wait does under the hood).

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            hacosta Hector Acosta
            hacosta Hector Acosta
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment