You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2014/09/28 20:42:34 UTC

[jira] [Commented] (ZOOKEEPER-1871) Add an option to zkCli to wait for connection before executing commands

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

Hadoop QA commented on ZOOKEEPER-1871:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12631213/ZOOKEEPER-1871.patch
  against trunk revision 1628086.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    -1 patch.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2353//console

This message is automatically generated.

> Add an option to zkCli to wait for connection before executing commands
> -----------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1871
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1871
>             Project: ZooKeeper
>          Issue Type: Improvement
>    Affects Versions: 3.4.5
>            Reporter: Vinayakumar B
>            Assignee: Takashi Ohnishi
>             Fix For: 3.5.1
>
>         Attachments: ZOOKEEPER-1871.patch, ZOOKEEPER-1871.patch, ZOOKEEPER-1871.patch, ZOOKEEPER-1871.patch
>
>
> Add an option to zkCli to wait for connection before executing any commands.
> This is helpful for the execution of inline commands.
> We are having some scripts to create/delete znodes through commandline. But if getting the connection delays due to one of the node down, then command will fail with connectionloss even though quorum is available.
> So I propose a commandline option (similar to -server and -timeout) "-waitforconnection" to wait for the connection before executing any commands.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)