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 2015/02/25 20:31:04 UTC

[jira] [Commented] (ZOOKEEPER-2115) Initialize command succeeds even though it didn't in case of permission errors on the data directory

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

Hadoop QA commented on ZOOKEEPER-2115:
--------------------------------------

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

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

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

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

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

This message is automatically generated.

> Initialize command succeeds even though it didn't in case of permission errors on the data directory
> ----------------------------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-2115
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2115
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 3.5.0
>            Reporter: Manikandan Narayanaswamy
>            Priority: Trivial
>             Fix For: 3.6.0
>
>         Attachments: ZOOKEEPER-2115-1.patch, ZOOKEEPER-2115.patch
>
>
> while testing single user mode that the initialize command succeeds even though it didn't in case of permission errors on the data directory:
> {code}
> ....
> + exec /usr/lib/zookeeper/bin/zkServer-initialize.sh --myid=1
> mkdir: cannot create directory `/var/lib/zookeeper/version-2': Permission denied
> mkdir: cannot create directory `/var/lib/zookeeper/version-2': Permission denied
> /usr/lib/zookeeper/bin/zkServer-initialize.sh: line 112: /var/lib/zookeeper/myid: Permission denied
> {code}



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