You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Patrick Hunt (JIRA)" <ji...@apache.org> on 2009/12/15 18:56:18 UTC

[jira] Created: (ZOOKEEPER-626) ensure the c/java cli's print xid/sessionid/etc... in hex

ensure the c/java cli's print xid/sessionid/etc... in hex
---------------------------------------------------------

                 Key: ZOOKEEPER-626
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-626
             Project: Zookeeper
          Issue Type: Bug
          Components: c client, java client
    Affects Versions: 3.2.1
            Reporter: Patrick Hunt
             Fix For: 3.3.0


Java/c clients should output xid/sessionids (incl ephemeralowner) in hex format

    private static void printStat(Stat stat) {
        System.err.println("cZxid = " + stat.getCzxid());
        System.err.println("ctime = " + new Date(stat.getCtime()).toString());
        System.err.println("mZxid = " + stat.getMzxid());
        System.err.println("mtime = " + new Date(stat.getMtime()).toString());
        System.err.println("pZxid = " + stat.getPzxid());
        System.err.println("cversion = " + stat.getCversion());
        System.err.println("dataVersion = " + stat.getVersion());
        System.err.println("aclVersion = " + stat.getAversion());
        System.err.println("ephemeralOwner = " + stat.getEphemeralOwner());
        System.err.println("dataLength = " + stat.getDataLength());
        System.err.println("numChildren = " + stat.getNumChildren());
    }


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


[jira] Commented: (ZOOKEEPER-626) ensure the c/java cli's print xid/sessionid/etc... in hex

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

Hadoop QA commented on ZOOKEEPER-626:
-------------------------------------

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

    +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/42/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h7.grid.sp2.yahoo.net/42/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-h7.grid.sp2.yahoo.net/42/console

This message is automatically generated.

> ensure the c/java cli's print xid/sessionid/etc... in hex
> ---------------------------------------------------------
>
>                 Key: ZOOKEEPER-626
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-626
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client, java client
>    Affects Versions: 3.2.1
>            Reporter: Patrick Hunt
>            Assignee: Patrick Hunt
>             Fix For: 3.3.0
>
>         Attachments: ZOOKEEPER-626.patch
>
>
> Java/c clients should output xid/sessionids (incl ephemeralowner) in hex format
>     private static void printStat(Stat stat) {
>         System.err.println("cZxid = " + stat.getCzxid());
>         System.err.println("ctime = " + new Date(stat.getCtime()).toString());
>         System.err.println("mZxid = " + stat.getMzxid());
>         System.err.println("mtime = " + new Date(stat.getMtime()).toString());
>         System.err.println("pZxid = " + stat.getPzxid());
>         System.err.println("cversion = " + stat.getCversion());
>         System.err.println("dataVersion = " + stat.getVersion());
>         System.err.println("aclVersion = " + stat.getAversion());
>         System.err.println("ephemeralOwner = " + stat.getEphemeralOwner());
>         System.err.println("dataLength = " + stat.getDataLength());
>         System.err.println("numChildren = " + stat.getNumChildren());
>     }

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


[jira] Updated: (ZOOKEEPER-626) ensure the c/java cli's print xid/sessionid/etc... in hex

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

Mahadev konar updated ZOOKEEPER-626:
------------------------------------

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

+1 I just committed this.  thanks pat.

> ensure the c/java cli's print xid/sessionid/etc... in hex
> ---------------------------------------------------------
>
>                 Key: ZOOKEEPER-626
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-626
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client, java client
>    Affects Versions: 3.2.1
>            Reporter: Patrick Hunt
>            Assignee: Patrick Hunt
>             Fix For: 3.3.0
>
>         Attachments: ZOOKEEPER-626.patch
>
>
> Java/c clients should output xid/sessionids (incl ephemeralowner) in hex format
>     private static void printStat(Stat stat) {
>         System.err.println("cZxid = " + stat.getCzxid());
>         System.err.println("ctime = " + new Date(stat.getCtime()).toString());
>         System.err.println("mZxid = " + stat.getMzxid());
>         System.err.println("mtime = " + new Date(stat.getMtime()).toString());
>         System.err.println("pZxid = " + stat.getPzxid());
>         System.err.println("cversion = " + stat.getCversion());
>         System.err.println("dataVersion = " + stat.getVersion());
>         System.err.println("aclVersion = " + stat.getAversion());
>         System.err.println("ephemeralOwner = " + stat.getEphemeralOwner());
>         System.err.println("dataLength = " + stat.getDataLength());
>         System.err.println("numChildren = " + stat.getNumChildren());
>     }

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


[jira] Updated: (ZOOKEEPER-626) ensure the c/java cli's print xid/sessionid/etc... in hex

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

Patrick Hunt updated ZOOKEEPER-626:
-----------------------------------

    Attachment: ZOOKEEPER-626.patch

fixes java cli output, I also verified c cli which is already doing this correctly (no change necessary)

> ensure the c/java cli's print xid/sessionid/etc... in hex
> ---------------------------------------------------------
>
>                 Key: ZOOKEEPER-626
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-626
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client, java client
>    Affects Versions: 3.2.1
>            Reporter: Patrick Hunt
>            Assignee: Patrick Hunt
>             Fix For: 3.3.0
>
>         Attachments: ZOOKEEPER-626.patch
>
>
> Java/c clients should output xid/sessionids (incl ephemeralowner) in hex format
>     private static void printStat(Stat stat) {
>         System.err.println("cZxid = " + stat.getCzxid());
>         System.err.println("ctime = " + new Date(stat.getCtime()).toString());
>         System.err.println("mZxid = " + stat.getMzxid());
>         System.err.println("mtime = " + new Date(stat.getMtime()).toString());
>         System.err.println("pZxid = " + stat.getPzxid());
>         System.err.println("cversion = " + stat.getCversion());
>         System.err.println("dataVersion = " + stat.getVersion());
>         System.err.println("aclVersion = " + stat.getAversion());
>         System.err.println("ephemeralOwner = " + stat.getEphemeralOwner());
>         System.err.println("dataLength = " + stat.getDataLength());
>         System.err.println("numChildren = " + stat.getNumChildren());
>     }

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


[jira] Assigned: (ZOOKEEPER-626) ensure the c/java cli's print xid/sessionid/etc... in hex

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

Patrick Hunt reassigned ZOOKEEPER-626:
--------------------------------------

    Assignee: Patrick Hunt

> ensure the c/java cli's print xid/sessionid/etc... in hex
> ---------------------------------------------------------
>
>                 Key: ZOOKEEPER-626
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-626
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client, java client
>    Affects Versions: 3.2.1
>            Reporter: Patrick Hunt
>            Assignee: Patrick Hunt
>             Fix For: 3.3.0
>
>
> Java/c clients should output xid/sessionids (incl ephemeralowner) in hex format
>     private static void printStat(Stat stat) {
>         System.err.println("cZxid = " + stat.getCzxid());
>         System.err.println("ctime = " + new Date(stat.getCtime()).toString());
>         System.err.println("mZxid = " + stat.getMzxid());
>         System.err.println("mtime = " + new Date(stat.getMtime()).toString());
>         System.err.println("pZxid = " + stat.getPzxid());
>         System.err.println("cversion = " + stat.getCversion());
>         System.err.println("dataVersion = " + stat.getVersion());
>         System.err.println("aclVersion = " + stat.getAversion());
>         System.err.println("ephemeralOwner = " + stat.getEphemeralOwner());
>         System.err.println("dataLength = " + stat.getDataLength());
>         System.err.println("numChildren = " + stat.getNumChildren());
>     }

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


[jira] Commented: (ZOOKEEPER-626) ensure the c/java cli's print xid/sessionid/etc... in hex

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

Hudson commented on ZOOKEEPER-626:
----------------------------------

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

> ensure the c/java cli's print xid/sessionid/etc... in hex
> ---------------------------------------------------------
>
>                 Key: ZOOKEEPER-626
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-626
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client, java client
>    Affects Versions: 3.2.1
>            Reporter: Patrick Hunt
>            Assignee: Patrick Hunt
>             Fix For: 3.3.0
>
>         Attachments: ZOOKEEPER-626.patch
>
>
> Java/c clients should output xid/sessionids (incl ephemeralowner) in hex format
>     private static void printStat(Stat stat) {
>         System.err.println("cZxid = " + stat.getCzxid());
>         System.err.println("ctime = " + new Date(stat.getCtime()).toString());
>         System.err.println("mZxid = " + stat.getMzxid());
>         System.err.println("mtime = " + new Date(stat.getMtime()).toString());
>         System.err.println("pZxid = " + stat.getPzxid());
>         System.err.println("cversion = " + stat.getCversion());
>         System.err.println("dataVersion = " + stat.getVersion());
>         System.err.println("aclVersion = " + stat.getAversion());
>         System.err.println("ephemeralOwner = " + stat.getEphemeralOwner());
>         System.err.println("dataLength = " + stat.getDataLength());
>         System.err.println("numChildren = " + stat.getNumChildren());
>     }

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


[jira] Updated: (ZOOKEEPER-626) ensure the c/java cli's print xid/sessionid/etc... in hex

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

Patrick Hunt updated ZOOKEEPER-626:
-----------------------------------

    Status: Patch Available  (was: Open)

> ensure the c/java cli's print xid/sessionid/etc... in hex
> ---------------------------------------------------------
>
>                 Key: ZOOKEEPER-626
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-626
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client, java client
>    Affects Versions: 3.2.1
>            Reporter: Patrick Hunt
>            Assignee: Patrick Hunt
>             Fix For: 3.3.0
>
>         Attachments: ZOOKEEPER-626.patch
>
>
> Java/c clients should output xid/sessionids (incl ephemeralowner) in hex format
>     private static void printStat(Stat stat) {
>         System.err.println("cZxid = " + stat.getCzxid());
>         System.err.println("ctime = " + new Date(stat.getCtime()).toString());
>         System.err.println("mZxid = " + stat.getMzxid());
>         System.err.println("mtime = " + new Date(stat.getMtime()).toString());
>         System.err.println("pZxid = " + stat.getPzxid());
>         System.err.println("cversion = " + stat.getCversion());
>         System.err.println("dataVersion = " + stat.getVersion());
>         System.err.println("aclVersion = " + stat.getAversion());
>         System.err.println("ephemeralOwner = " + stat.getEphemeralOwner());
>         System.err.println("dataLength = " + stat.getDataLength());
>         System.err.println("numChildren = " + stat.getNumChildren());
>     }

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