[jira] [Commented] (ZOOKEEPER-1027) chroot not transparent in zoo_create()

2011-03-24 Thread Thijs Terlouw (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13011095#comment-13011095 ] Thijs Terlouw commented on ZOOKEEPER-1027: -- The call to sub_string() appears

[jira] [Commented] (ZOOKEEPER-1027) chroot not transparent in zoo_create()

2011-03-24 Thread Thijs Terlouw (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13011082#comment-13011082 ] Thijs Terlouw commented on ZOOKEEPER-1027: -- {noformat} diff -Naur zookeeper-

[jira] [Commented] (ZOOKEEPER-1027) chroot not transparent in zoo_create()

2011-03-24 Thread Thijs Terlouw (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13011079#comment-13011079 ] Thijs Terlouw commented on ZOOKEEPER-1027: -- *(1)* fix: {quote} // ZOOKEE

[jira] [Commented] (ZOOKEEPER-1027) chroot not transparent in zoo_create()

2011-03-24 Thread Thijs Terlouw (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13011077#comment-13011077 ] Thijs Terlouw commented on ZOOKEEPER-1027: -- Two problems afaik: *(1)* I noti

[jira] [Commented] (ZOOKEEPER-1026) Sequence number assignment decreases after old node rejoins cluster

2011-03-24 Thread Camille Fournier (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13011075#comment-13011075 ] Camille Fournier commented on ZOOKEEPER-1026: - Er first sentance is backwa

[jira] [Commented] (ZOOKEEPER-1026) Sequence number assignment decreases after old node rejoins cluster

2011-03-24 Thread Camille Fournier (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13011072#comment-13011072 ] Camille Fournier commented on ZOOKEEPER-1026: - Wouldn't S2 receive a FOLLO

[jira] [Commented] (ZOOKEEPER-1026) Sequence number assignment decreases after old node rejoins cluster

2011-03-24 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13011066#comment-13011066 ] Vishal K commented on ZOOKEEPER-1026: - If I am not mistaken the scenario Flavio pr

buildbot success in ASF Buildbot on zookeeper-site-staging

2011-03-24 Thread buildbot
The Buildbot has detected a restored build of zookeeper-site-staging on ASF Buildbot. Full details are available at: http://ci.apache.org/builders/zookeeper-site-staging/builds/64 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: bb-cms-slave Build Reason: Build Source Stamp: [br

[jira] [Commented] (ZOOKEEPER-1026) Sequence number assignment decreases after old node rejoins cluster

2011-03-24 Thread Camille Fournier (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13011005#comment-13011005 ] Camille Fournier commented on ZOOKEEPER-1026: - How would S3 get an old mes

Re: negotiated timeout

2011-03-24 Thread Patrick Hunt
Ted, you'll need to ask the hbase guys about this if you are not running a dedicated zk cluster. I'm not sure how they manage embedded zk. However a quick search of the HBASE code results in: ./src/main/java/org/apache/hadoop/hbase/zookeeper/HQuorumPeer.java: // Set the max session timeout f

[jira] [Commented] (ZOOKEEPER-975) new peer goes in LEADING state even if ensemble is online

2011-03-24 Thread Hadoop QA (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010989#comment-13010989 ] Hadoop QA commented on ZOOKEEPER-975: - -1 overall. Here are the results of testing

Re: negotiated timeout

2011-03-24 Thread Ted Yu
Patrick: Do you want me to look at maxSessionTimeout ? Since hbase manages zookeeper, I am not sure I can control this parameter directly. On Thu, Mar 24, 2011 at 3:50 PM, Patrick Hunt wrote: > > http://zookeeper.apache.org/doc/r3.3.3/zookeeperAdmin.html#sc_advancedConfiguration > > On Thu, Mar

Re: negotiated timeout

2011-03-24 Thread Patrick Hunt
http://zookeeper.apache.org/doc/r3.3.3/zookeeperAdmin.html#sc_advancedConfiguration On Thu, Mar 24, 2011 at 3:43 PM, Mahadev Konar wrote: > Hi Ted, >  The session timeout can be changed by the server depending on min/max > bounds set on the servers. Are you servers configured to have a max > time

Re: negotiated timeout

2011-03-24 Thread Ted Yu
I was looking for 'Created server with tickTime' in zookeeper log but didn't find any. hbase used to have the following: hbase.zookeeper.property.tickTime 6000 but 0.90.1 no longer honors it. I don't know to explain the difference in timeouts: 2011-03-24 20:46:37,881 INFO org.apache.zookeeper

Re: negotiated timeout

2011-03-24 Thread Mahadev Konar
Hi Ted, The session timeout can be changed by the server depending on min/max bounds set on the servers. Are you servers configured to have a max timeout of 60 seconds? usually the default is 20 * tickTime. Looks like your ticktime is 3 seconds? thanks mahadev On Thu, Mar 24, 2011 at 3:20 PM,

[jira] [Updated] (ZOOKEEPER-975) new peer goes in LEADING state even if ensemble is online

2011-03-24 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vishal K updated ZOOKEEPER-975: --- Attachment: ZOOKEEPER-975.patch2 Attaching patch on trunk for review./comments. > new peer goes i

[jira] [Commented] (ZOOKEEPER-1026) Sequence number assignment decreases after old node rejoins cluster

2011-03-24 Thread Flavio Junqueira (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010970#comment-13010970 ] Flavio Junqueira commented on ZOOKEEPER-1026: - Right, but what if S3 crash

negotiated timeout

2011-03-24 Thread Ted Yu
Hi, hbase 0.90.1 uses zookeeper 3.3.2 I specified: zookeeper.session.timeout 49 In zookeeper log I see: 2011-03-24 19:58:09,499 INFO org.apache.zookeeper.server.NIOServerCnxn: Client attempting to establish new session at /10.202.50.111:50325 2011-03-24 19:58:09,499 INFO org.apache.zookeeper

[jira] [Commented] (ZOOKEEPER-1028) In python bindings, zookeeper.set2() should return a stat dict but instead returns None

2011-03-24 Thread Chris Medaglia (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010961#comment-13010961 ] Chris Medaglia commented on ZOOKEEPER-1028: --- Could someone do a code review

[jira] [Commented] (ZOOKEEPER-938) support Kerberos Authentication

2011-03-24 Thread Hadoop QA (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010959#comment-13010959 ] Hadoop QA commented on ZOOKEEPER-938: - -1 overall. Here are the results of testing

[jira] [Updated] (ZOOKEEPER-938) support Kerberos Authentication

2011-03-24 Thread Eugene Koontz (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eugene Koontz updated ZOOKEEPER-938: Attachment: ZOOKEEPER-938.patch Addresses Kan Zhang's comments: -adds credential-refres

[jira] [Commented] (ZOOKEEPER-1026) Sequence number assignment decreases after old node rejoins cluster

2011-03-24 Thread Camille Fournier (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010918#comment-13010918 ] Camille Fournier commented on ZOOKEEPER-1026: - 7.S1 drops leadership (does

[jira] [Updated] (ZOOKEEPER-1028) In python bindings, zookeeper.set2() should return a stat dict but instead returns None

2011-03-24 Thread Chris Medaglia (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Medaglia updated ZOOKEEPER-1028: -- Description: There is a small bug in the python bindings, specifically with the zoo

[jira] [Updated] (ZOOKEEPER-1028) In python bindings, zookeeper.set2() should return a stat dict but instead returns None

2011-03-24 Thread Chris Medaglia (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Medaglia updated ZOOKEEPER-1028: -- Attachment: ZOOKEEPER-1028.patch The patch includes the change to zookeeper.c and t

[jira] [Created] (ZOOKEEPER-1028) In python bindings, zookeeper.set2() should return a stat dict but instead returns None

2011-03-24 Thread Chris Medaglia (JIRA)
In python bindings, zookeeper.set2() should return a stat dict but instead returns None --- Key: ZOOKEEPER-1028 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1028

Re: small bug in python bindings

2011-03-24 Thread Chris Medaglia
Will do, thanks! If I have trouble with Jira, I'll come back with questions. Thanks, Chris On 3/24/11 Mar 24, 2011 4:01:19 PM, Mahadev Konar wrote: Chris, Can you please open a jira for this and file the diff as a patch? It would be a good fix for 3.4 release. thanks mahadev On Thu, Mar

Re: small bug in python bindings

2011-03-24 Thread Mahadev Konar
Chris, Can you please open a jira for this and file the diff as a patch? It would be a good fix for 3.4 release. thanks mahadev On Thu, Mar 24, 2011 at 12:54 PM, Chris Medaglia wrote: > Hi all, >  I've discovered a small bug in the python bindings, specifically with the > zookeeper.set2() cal

small bug in python bindings

2011-03-24 Thread Chris Medaglia
Hi all, I've discovered a small bug in the python bindings, specifically with the zookeeper.set2() call. This method should return a stat dictionary, but actually returns None. The fix is a one-character change to zookeeper.c: --- zookeeper.c.orig2011-03-24 11:52:27.0 -0400 +++ z

[jira] [Commented] (ZOOKEEPER-761) Remove *synchronous* calls from the *single-threaded* C clieant API, since they are documented not to work

2011-03-24 Thread Hadoop QA (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010752#comment-13010752 ] Hadoop QA commented on ZOOKEEPER-761: - -1 overall. Here are the results of testing

[jira] [Updated] (ZOOKEEPER-761) Remove *synchronous* calls from the *single-threaded* C clieant API, since they are documented not to work

2011-03-24 Thread Pierre Habouzit (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pierre Habouzit updated ZOOKEEPER-761: -- Attachment: fix-sync-apis-in-st-adaptor.v2.patch v2 of the patch: - made from the to

[jira] [Commented] (ZOOKEEPER-761) Remove *synchronous* calls from the *single-threaded* C clieant API, since they are documented not to work

2011-03-24 Thread Hadoop QA (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010717#comment-13010717 ] Hadoop QA commented on ZOOKEEPER-761: - -1 overall. Here are the results of testing

[jira] [Updated] (ZOOKEEPER-761) Remove *synchronous* calls from the *single-threaded* C clieant API, since they are documented not to work

2011-03-24 Thread Pierre Habouzit (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pierre Habouzit updated ZOOKEEPER-761: -- Attachment: fix-sync-apis-in-st-adaptor.patch The patch to fix sync calls. > Remove

[jira] [Commented] (ZOOKEEPER-975) new peer goes in LEADING state even if ensemble is online

2011-03-24 Thread Flavio Junqueira (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010689#comment-13010689 ] Flavio Junqueira commented on ZOOKEEPER-975: Hi Vishal, I'll have a look at

[jira] [Commented] (ZOOKEEPER-1026) Sequence number assignment decreases after old node rejoins cluster

2011-03-24 Thread Vishal K (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010682#comment-13010682 ] Vishal K commented on ZOOKEEPER-1026: - Hi Flavio, I submitted a patch to ZOOKEEPE

[jira] [Commented] (ZOOKEEPER-1026) Sequence number assignment decreases after old node rejoins cluster

2011-03-24 Thread Flavio Junqueira (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010681#comment-13010681 ] Flavio Junqueira commented on ZOOKEEPER-1026: - To follow up on my own comm

[jira] [Updated] (ZOOKEEPER-1027) chroot not transparent in zoo_create()

2011-03-24 Thread Thijs Terlouw (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thijs Terlouw updated ZOOKEEPER-1027: - Component/s: (was: server) c client > chroot not transparent in

[jira] [Commented] (ZOOKEEPER-1027) chroot not transparent in zoo_create()

2011-03-24 Thread Thijs Terlouw (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010622#comment-13010622 ] Thijs Terlouw commented on ZOOKEEPER-1027: -- tested with 3.3.3 C-client, same

[jira] [Commented] (ZOOKEEPER-1026) Sequence number assignment decreases after old node rejoins cluster

2011-03-24 Thread Flavio Junqueira (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010603#comment-13010603 ] Flavio Junqueira commented on ZOOKEEPER-1026: - I'm not entirely convinced

[jira] [Commented] (ZOOKEEPER-1027) chroot not transparent in zoo_create()

2011-03-24 Thread Thijs Terlouw (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010592#comment-13010592 ] Thijs Terlouw commented on ZOOKEEPER-1027: -- I realized that I probably need t

[jira] [Commented] (ZOOKEEPER-1001) Read from open ledger

2011-03-24 Thread Flavio Junqueira (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010591#comment-13010591 ] Flavio Junqueira commented on ZOOKEEPER-1001: - Agreed, one main difficulty