Re: C formatting conventions
Hmm, well I did some alchemy and throwing these lines into my .emacs seems to do the right thing. (setq c-basic-offset 4) (setq c-default-style '((java-mode . java) (awk-mode . awk) (other . linux))) On Fri, Oct 23, 2009 at 6:23 PM, Patrick Hunt ph...@apache.org wrote: not quite that simple I'm afraid ;-) some good friday reading if you haven't seen before http://kerneltrap.org/node/11 perhaps we should use lindent on our code? whoops ... ;-) Patrick Benjamin Reed wrote: i think we follow linux coding conventions. i think i wrote most of the code using the linux emacs style. ben Steve Cheng wrote: Hi, What are the C formatting conventions for ZooKeeper? Couldn't find anything on the HowToContribute page. Thank you, Steven
[jira] Created: (ZOOKEEPER-557) Upload Zookeeper jars to a public maven repository
Upload Zookeeper jars to a public maven repository -- Key: ZOOKEEPER-557 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-557 Project: Zookeeper Issue Type: Bug Reporter: Cyril Lakech There are many cool release of hadoop zookeeper and this project is an apache project, as the maven project. But the released jars must be download manually and then deploy to a private repository before they can be used by developer using maven2. Please could you upload the zookeeper jars on the public maven2 repository ? Of course, we can help to deploy those artifact if necessary. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (ZOOKEEPER-550) Java Queue Recipe
[ https://issues.apache.org/jira/browse/ZOOKEEPER-550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steven Cheng updated ZOOKEEPER-550: --- Attachment: ZOOKEEPER-550.patch Java and C queue recipe. Tests included pass. Please review. The autotools config was copied from the lock recipe, I think I changed all the right strings and added the right files to SVN. This also includes a small fix for the zkServer.sh in the lock recipe. Java Queue Recipe - Key: ZOOKEEPER-550 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-550 Project: Zookeeper Issue Type: New Feature Components: java client Affects Versions: 3.2.1 Reporter: Steven Cheng Assignee: Steven Cheng Priority: Minor Fix For: 3.3.0 Attachments: ZOOKEEPER-550.patch, ZOOKEEPER-550.patch, ZOOKEEPER-550.patch, ZOOKEEPER-550.patch, ZOOKEEPER-550.patch This patch adds a recipe for creating a distributed queue with ZooKeeper similar to the WriteLock recipe and some sequential tests. This early attempt follows the Java BlockingQueue interface, though it doesn't implement it since I don't think there's a good reason for it to be Iterable. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (ZOOKEEPER-558) server sent stats not being updated
server sent stats not being updated - Key: ZOOKEEPER-558 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-558 Project: Zookeeper Issue Type: Bug Components: server Affects Versions: 3.2.1 Reporter: Patrick Hunt Priority: Critical Fix For: 3.3.0 the server and connection sent stat is not being updated. if you run stat on the client port the sent packets is much lower than it should be seems that sendbuffer is not updating the stats when it shortcircuits the send. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.