You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Michi Mutsuzaki (JIRA)" <ji...@apache.org> on 2009/08/03 20:21:14 UTC

[jira] Created: (ZOOKEEPER-495) c client logs an invalid error when zookeeper_init is called with chroot

c client logs an invalid error when zookeeper_init is called with chroot
------------------------------------------------------------------------

                 Key: ZOOKEEPER-495
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-495
             Project: Zookeeper
          Issue Type: Bug
          Components: c client
    Affects Versions: 3.2.0
            Reporter: Michi Mutsuzaki
            Priority: Minor


The C client logs this error message when zookeeper_init is called with chroot. 

2009-08-03 18:14:29,130:6624(0x5e66e950):ZOO_ERROR@sub_string@730: server path  does not include chroot path /chroot

I'll attach a simple program to reproduce this.

Thanks!
--Michi

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-495) c client logs an invalid error when zookeeper_init is called with chroot

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805472#action_12805472 ] 

Hudson commented on ZOOKEEPER-495:
----------------------------------

Integrated in ZooKeeper-trunk #680 (See [http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/680/])
    

> c client logs an invalid error when zookeeper_init is called with chroot
> ------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-495
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-495
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.2.0
>            Reporter: Michi Mutsuzaki
>            Assignee: Patrick Hunt
>            Priority: Minor
>             Fix For: 3.3.0
>
>         Attachments: chroot.cc, chroot.log, ZOOKEEPER-495.patch
>
>
> The C client logs this error message when zookeeper_init is called with chroot. 
> 2009-08-03 18:14:29,130:6624(0x5e66e950):ZOO_ERROR@sub_string@730: server path  does not include chroot path /chroot
> I'll attach a simple program to reproduce this.
> Thanks!
> --Michi

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-495) c client logs an invalid error when zookeeper_init is called with chroot

Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12804866#action_12804866 ] 

Mahadev konar commented on ZOOKEEPER-495:
-----------------------------------------

+1 the patch looks good.

> c client logs an invalid error when zookeeper_init is called with chroot
> ------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-495
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-495
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.2.0
>            Reporter: Michi Mutsuzaki
>            Assignee: Patrick Hunt
>            Priority: Minor
>             Fix For: 3.3.0
>
>         Attachments: chroot.cc, chroot.log, ZOOKEEPER-495.patch
>
>
> The C client logs this error message when zookeeper_init is called with chroot. 
> 2009-08-03 18:14:29,130:6624(0x5e66e950):ZOO_ERROR@sub_string@730: server path  does not include chroot path /chroot
> I'll attach a simple program to reproduce this.
> Thanks!
> --Michi

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ZOOKEEPER-495) c client logs an invalid error when zookeeper_init is called with chroot

Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mahadev konar updated ZOOKEEPER-495:
------------------------------------

    Fix Version/s: 3.3.0

> c client logs an invalid error when zookeeper_init is called with chroot
> ------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-495
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-495
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.2.0
>            Reporter: Michi Mutsuzaki
>            Priority: Minor
>             Fix For: 3.3.0
>
>         Attachments: chroot.cc, chroot.log
>
>
> The C client logs this error message when zookeeper_init is called with chroot. 
> 2009-08-03 18:14:29,130:6624(0x5e66e950):ZOO_ERROR@sub_string@730: server path  does not include chroot path /chroot
> I'll attach a simple program to reproduce this.
> Thanks!
> --Michi

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ZOOKEEPER-495) c client logs an invalid error when zookeeper_init is called with chroot

Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Hunt updated ZOOKEEPER-495:
-----------------------------------

    Assignee: Patrick Hunt
      Status: Patch Available  (was: Open)

> c client logs an invalid error when zookeeper_init is called with chroot
> ------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-495
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-495
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.2.0
>            Reporter: Michi Mutsuzaki
>            Assignee: Patrick Hunt
>            Priority: Minor
>             Fix For: 3.3.0
>
>         Attachments: chroot.cc, chroot.log, ZOOKEEPER-495.patch
>
>
> The C client logs this error message when zookeeper_init is called with chroot. 
> 2009-08-03 18:14:29,130:6624(0x5e66e950):ZOO_ERROR@sub_string@730: server path  does not include chroot path /chroot
> I'll attach a simple program to reproduce this.
> Thanks!
> --Michi

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ZOOKEEPER-495) c client logs an invalid error when zookeeper_init is called with chroot

Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Hunt updated ZOOKEEPER-495:
-----------------------------------

    Attachment: ZOOKEEPER-495.patch

I updated the code to only output for non-session events. session event's don't have paths (zero len str)

No tests as the current tests were causing this error to be output, I verified that the log is not being output in this case.

> c client logs an invalid error when zookeeper_init is called with chroot
> ------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-495
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-495
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.2.0
>            Reporter: Michi Mutsuzaki
>            Priority: Minor
>             Fix For: 3.3.0
>
>         Attachments: chroot.cc, chroot.log, ZOOKEEPER-495.patch
>
>
> The C client logs this error message when zookeeper_init is called with chroot. 
> 2009-08-03 18:14:29,130:6624(0x5e66e950):ZOO_ERROR@sub_string@730: server path  does not include chroot path /chroot
> I'll attach a simple program to reproduce this.
> Thanks!
> --Michi

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ZOOKEEPER-495) c client logs an invalid error when zookeeper_init is called with chroot

Posted by "Michi Mutsuzaki (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michi Mutsuzaki updated ZOOKEEPER-495:
--------------------------------------

    Attachment: chroot.log
                chroot.cc

Here is a simple program to reproduce the issue and corresponding log. 

--Michi

> c client logs an invalid error when zookeeper_init is called with chroot
> ------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-495
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-495
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.2.0
>            Reporter: Michi Mutsuzaki
>            Priority: Minor
>         Attachments: chroot.cc, chroot.log
>
>
> The C client logs this error message when zookeeper_init is called with chroot. 
> 2009-08-03 18:14:29,130:6624(0x5e66e950):ZOO_ERROR@sub_string@730: server path  does not include chroot path /chroot
> I'll attach a simple program to reproduce this.
> Thanks!
> --Michi

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-495) c client logs an invalid error when zookeeper_init is called with chroot

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12804050#action_12804050 ] 

Hadoop QA commented on ZOOKEEPER-495:
-------------------------------------

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

    +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 tests are needed for this patch.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h7.grid.sp2.yahoo.net/51/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h7.grid.sp2.yahoo.net/51/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h7.grid.sp2.yahoo.net/51/console

This message is automatically generated.

> c client logs an invalid error when zookeeper_init is called with chroot
> ------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-495
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-495
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.2.0
>            Reporter: Michi Mutsuzaki
>            Assignee: Patrick Hunt
>            Priority: Minor
>             Fix For: 3.3.0
>
>         Attachments: chroot.cc, chroot.log, ZOOKEEPER-495.patch
>
>
> The C client logs this error message when zookeeper_init is called with chroot. 
> 2009-08-03 18:14:29,130:6624(0x5e66e950):ZOO_ERROR@sub_string@730: server path  does not include chroot path /chroot
> I'll attach a simple program to reproduce this.
> Thanks!
> --Michi

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ZOOKEEPER-495) c client logs an invalid error when zookeeper_init is called with chroot

Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mahadev konar updated ZOOKEEPER-495:
------------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

+1 for the patch. I just committed this. thanks pat.

> c client logs an invalid error when zookeeper_init is called with chroot
> ------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-495
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-495
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.2.0
>            Reporter: Michi Mutsuzaki
>            Assignee: Patrick Hunt
>            Priority: Minor
>             Fix For: 3.3.0
>
>         Attachments: chroot.cc, chroot.log, ZOOKEEPER-495.patch
>
>
> The C client logs this error message when zookeeper_init is called with chroot. 
> 2009-08-03 18:14:29,130:6624(0x5e66e950):ZOO_ERROR@sub_string@730: server path  does not include chroot path /chroot
> I'll attach a simple program to reproduce this.
> Thanks!
> --Michi

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.