ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-1418

Just a bug in the tutorial code on the website

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.4.3
    • Fix Version/s: None
    • Component/s: documentation
    • Labels:
      None

      Description

      When I ran the Queue example from here: http://zookeeper.apache.org/doc/trunk/zookeeperTutorial.html
      The producer created entries of the form: /app1/element0000000001...
      but the consumer tried to consume of the form: /app1/element1...

      adding a patch with the file attached.

        Activity

        Hide
        Patrick Hunt added a comment -

        Hi Joe, please see the following: (you just attach a patch file to this jira, "attach files" under "more actions")
        https://cwiki.apache.org/confluence/display/ZOOKEEPER/HowToContribute

        Show
        Patrick Hunt added a comment - Hi Joe, please see the following: (you just attach a patch file to this jira, "attach files" under "more actions") https://cwiki.apache.org/confluence/display/ZOOKEEPER/HowToContribute
        Hide
        Joe Gamache added a comment -

        Attaching updated file with corrected code for web page

        Show
        Joe Gamache added a comment - Attaching updated file with corrected code for web page
        Hide
        Joe Gamache added a comment -

        Updated file should be attached.

        Show
        Joe Gamache added a comment - Updated file should be attached.
        Hide
        Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12518940/SyncPrimitive.java
        against trunk revision 1302281.

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

        +0 tests included. The patch appears to be a documentation patch that doesn't require tests.

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

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

        This message is automatically generated.

        Show
        Hadoop QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12518940/SyncPrimitive.java against trunk revision 1302281. +1 @author. The patch does not contain any @author tags. +0 tests included. The patch appears to be a documentation patch that doesn't require tests. -1 patch. The patch command could not apply the patch. Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1001//console This message is automatically generated.
        Hide
        Joe Gamache added a comment -

        Hi - sorry to assign this back to you. I added the updated file as a patch. However, the system wasn't all that pleased . I'm not 100% sure this code even exists in the code base anywhere, so there isn't something to "patch" in a traditional sense. Rather, the website itself that contains this code needs to be updated....

        Show
        Joe Gamache added a comment - Hi - sorry to assign this back to you. I added the updated file as a patch. However, the system wasn't all that pleased . I'm not 100% sure this code even exists in the code base anywhere, so there isn't something to "patch" in a traditional sense. Rather, the website itself that contains this code needs to be updated....
        Hide
        Patrick Hunt added a comment -

        Hey Joe. No worries. I think what you intend is to update this file:

        src/docs/src/documentation/content/xdocs/zookeeperTutorial.xml

        The easiest way to do this is
        1) svn co http://svn.apache.org/repos/asf/zookeeper/trunk
        2) edit the tutorial
        3) svn diff > ZOOKEEPER-1418.patch
        (from within the trunk directory)
        4) attach that file here

        can you give that a try? If you run into trouble just lmk. Appreciate you sticking with it. Regards.

        Show
        Patrick Hunt added a comment - Hey Joe. No worries. I think what you intend is to update this file: src/docs/src/documentation/content/xdocs/zookeeperTutorial.xml The easiest way to do this is 1) svn co http://svn.apache.org/repos/asf/zookeeper/trunk 2) edit the tutorial 3) svn diff > ZOOKEEPER-1418 .patch (from within the trunk directory) 4) attach that file here can you give that a try? If you run into trouble just lmk. Appreciate you sticking with it. Regards.
        Hide
        Joe Gamache added a comment -

        First attempt was bad/incorrect. I'll submit a new (hopefully better/correct) one.

        Show
        Joe Gamache added a comment - First attempt was bad/incorrect. I'll submit a new (hopefully better/correct) one.

          People

          • Assignee:
            Joe Gamache
            Reporter:
            Joe Gamache
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development