[ https://issues.apache.org/jira/browse/ZOOKEEPER-1744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13804072#comment-13804072 ]
Hudson commented on ZOOKEEPER-1744: ----------------------------------- SUCCESS: Integrated in ZooKeeper-trunk #2099 (See [https://builds.apache.org/job/ZooKeeper-trunk/2099/]) ZOOKEEPER-1744. clientPortAddress breaks "zkServer.sh status" (Nick Ohanian via phunt) (phunt: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1535278) * /zookeeper/trunk/CHANGES.txt * /zookeeper/trunk/bin/zkServer.sh > clientPortAddress breaks "zkServer.sh status" > ---------------------------------------------- > > Key: ZOOKEEPER-1744 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1744 > Project: ZooKeeper > Issue Type: Bug > Components: scripts > Affects Versions: 3.4.5 > Reporter: Nick Ohanian > Assignee: Nick Ohanian > Priority: Critical > Fix For: 3.4.6, 3.5.0 > > Attachments: ZOOKEEPER-1744-br34.patch, ZOOKEEPER-1744.patch > > > When "clientPortAddress" is used in the config file (zoo.cfg), zkServer.sh's > status command runs a grep command that matches both "clientPort" and > "clientPortAddress". This creates an extra argument for FourLetterWordMain, > which fails, so the status command incorrectly indicates that it couldn't > connect to the server. > Also, "localhost" is hardcoded as the target host for FourLetterWordMain. > The "clientPortAddress" should be used if it is provided in the config file. -- This message was sent by Atlassian JIRA (v6.1#6144)