You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Laszlo Gaal (JIRA)" <ji...@apache.org> on 2019/05/31 16:37:00 UTC

[jira] [Resolved] (IMPALA-8307) ntp-wait --help does not always return 0

     [ https://issues.apache.org/jira/browse/IMPALA-8307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Laszlo Gaal resolved IMPALA-8307.
---------------------------------
       Resolution: Fixed
    Fix Version/s: Impala 3.3.0

Commit has been merged, so I'm resolving the issue.

> ntp-wait --help does not always return 0
> ----------------------------------------
>
>                 Key: IMPALA-8307
>                 URL: https://issues.apache.org/jira/browse/IMPALA-8307
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Hector Acosta
>            Assignee: Hector Acosta
>            Priority: Major
>             Fix For: Impala 3.3.0
>
>
> 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  
> {code:java}
> /usr/sbin/ntpq -c "rv 0"{code}
> (which is what ntp-wait does under the hood).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)