You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Suraj Naik (Jira)" <ji...@apache.org> on 2020/09/13 19:06:00 UTC

[jira] [Commented] (ZOOKEEPER-3931) "zkServer.sh version" returns a trailing dash

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-3931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17195106#comment-17195106 ] 

Suraj Naik commented on ZOOKEEPER-3931:
---------------------------------------

The VerGen.java forms the QUALFIER string. It sets the value of this string to empty string if the QUALIFER value in Version is null. While creating the VersionInfoMain.java file, it checks if the Qualifier is null, which it is not, because it gets set to empty string if it is null in the interface. Fixed the check.

 

Please review the PR.

> "zkServer.sh version" returns a trailing dash
> ---------------------------------------------
>
>                 Key: ZOOKEEPER-3931
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3931
>             Project: ZooKeeper
>          Issue Type: Bug
>            Reporter: Enrico Olivelli
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When you run zkServer.sh version the result includes a few spam lines and the version reports a trailing dash 
> {noformat}
> bin/zkServer.sh version
> ZooKeeper JMX enabled by default
> Using config: /xxxxxxxxxxx/bin/../conf/zoo.cfg
> Apache ZooKeeper, version 3.6.2- 09/04/2020 12:44 GMT
> {noformat}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)