hadoop-zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maha...@apache.org
Subject svn commit: r911674 - in /hadoop/zookeeper/trunk: CHANGES.txt docs/zookeeperObservers.html docs/zookeeperObservers.pdf src/docs/src/documentation/content/xdocs/zookeeperObservers.xml
Date Fri, 19 Feb 2010 02:08:00 GMT
Author: mahadev
Date: Fri Feb 19 02:08:00 2010
New Revision: 911674

URL: http://svn.apache.org/viewvc?rev=911674&view=rev
Log:
ZOOKEEPER-673.  Fix observer documentation regarding leader election (flavio via mahadev)

Modified:
    hadoop/zookeeper/trunk/CHANGES.txt
    hadoop/zookeeper/trunk/docs/zookeeperObservers.html
    hadoop/zookeeper/trunk/docs/zookeeperObservers.pdf
    hadoop/zookeeper/trunk/src/docs/src/documentation/content/xdocs/zookeeperObservers.xml

Modified: hadoop/zookeeper/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/zookeeper/trunk/CHANGES.txt?rev=911674&r1=911673&r2=911674&view=diff
==============================================================================
--- hadoop/zookeeper/trunk/CHANGES.txt (original)
+++ hadoop/zookeeper/trunk/CHANGES.txt Fri Feb 19 02:08:00 2010
@@ -218,6 +218,9 @@
   ZOOKEEPER-589. When create a znode, a NULL ACL parameter cannot be accepted.
   (breed via mahadev)
 
+  ZOOKEEPER-673.  Fix observer documentation regarding leader election (flavio
+  via mahadev)
+
 IMPROVEMENTS:
   ZOOKEEPER-473. cleanup junit tests to eliminate false positives due to
   "socket reuse" and failure to close client (phunt via mahadev)

Modified: hadoop/zookeeper/trunk/docs/zookeeperObservers.html
URL: http://svn.apache.org/viewvc/hadoop/zookeeper/trunk/docs/zookeeperObservers.html?rev=911674&r1=911673&r2=911674&view=diff
==============================================================================
--- hadoop/zookeeper/trunk/docs/zookeeperObservers.html (original)
+++ hadoop/zookeeper/trunk/docs/zookeeperObservers.html Fri Feb 19 02:08:00 2010
@@ -227,18 +227,6 @@
       </h2>
 <div class="section">
 <p>
-      
-<em>
-	Please note: the Observers feature currently only works with the basic
-	leader election protocol, not fast leader election or authenticated fast
-	leader election. This will be remedied when a bug in the leader election
-	protocol code is fixed in the near future. An exception will be thrown
-	if you try to start a cluster containing Observers without
-	electionAlg=0. See below for more details.
-      </em>
-    
-</p>
-<p>
       Although ZooKeeper performs very well by having clients connect directly
       to voting members of the ensemble, this architecture makes it hard to
       scale out to huge numbers of clients. The problem is that as we add more
@@ -272,32 +260,9 @@
     </p>
 </div>
   
-<a name="N10022"></a><a name="sc_UsingObservers"></a>
+<a name="N1001C"></a><a name="sc_UsingObservers"></a>
 <h2 class="h3">How to use Observers</h2>
 <div class="section">
-<p>
-      
-<em>
-	Note that
-	until <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-578">ZOOKEEPER-578</a>
-	is resolved, you must set electionAlg=0 in every server configuration
-	file. Otherwise an exception will be thrown when you try to start your
-	ensemble.
-      </em>
-    
-</p>
-<p>
-      
-<em>
-	The reason: because Observers do not participate in leader elections,
-	they rely on voting Followers to inform them of changes to the
-	Leader. Currently, only the basic leader election algorithm starts a
-	thread that responds to requests from Observers to identify the current
-	Leader. Work is in progress on other JIRAs to bring this functionality
-	to all leader election protocols.
-      </em>
-    
-</p>
 <p>Setting up a ZooKeeper ensemble that uses Observers is very simple,
     and requires just two changes to your config files. Firstly, in the config
     file of every node that is to be an Observer, you must place this line:
@@ -330,7 +295,7 @@
 </div>
   
   
-<a name="N10051"></a><a name="ch_UseCases"></a>
+<a name="N1003B"></a><a name="ch_UseCases"></a>
 <h2 class="h3">Example use cases</h2>
 <div class="section">
 <p>

Modified: hadoop/zookeeper/trunk/docs/zookeeperObservers.pdf
URL: http://svn.apache.org/viewvc/hadoop/zookeeper/trunk/docs/zookeeperObservers.pdf?rev=911674&r1=911673&r2=911674&view=diff
==============================================================================
--- hadoop/zookeeper/trunk/docs/zookeeperObservers.pdf (original)
+++ hadoop/zookeeper/trunk/docs/zookeeperObservers.pdf Fri Feb 19 02:08:00 2010
@@ -58,10 +58,10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-17 0 R
-]
-endobj
-17 0 obj
-<< /Type /Annot
-/Subtype /Link
-/Rect [ 162.348 223.332 253.008 211.332 ]
-/C [ 0 0 0 ]
-/Border [ 0 0 0 ]
-/A << /URI (https://issues.apache.org/jira/browse/ZOOKEEPER-578)
-/S /URI >>
-/H /I
->>
-endobj
-18 0 obj
-<< /Length 2247 /Filter [ /ASCII85Decode /FlateDecode ]
+<< /Length 1812 /Filter [ /ASCII85Decode /FlateDecode ]
  >>
 stream
-Gatm=gN)%,&:N/3n?'fkNUT]c1OVeLELP)C&o4AngB0i1&o%\K#h"V,oj(I[\1<-9dq1^^"Hg4\fs>=8iE*A-S(Zlo,k.,hn*OZN1Z(jS'Rn(oqtW8[6^G\t-+s'7QcZ;]jMc!$"X-!s/LGp*c%hq,gJ:OAQMRjF>C1i^q^?\<.e_Z0%_K-?rG&A0@3dH$XG>,kat,&Od8P[hRX-9[@JKiXVjHVlg'jV:Q./J!BSABM1qKW^d9Oe>kFU"b)@!4JAJbe$](s[c^V&7s'+j/Z`<QsiRbAHF=k:@ai\igV8#HC9iF1H2W,$GOAqNi:I/Mff%mk*RdBjYS\J!P:?DEde5X>6(\"\0[Q$#.mSfi9Z>]5k:67:1B0W;qQ7TOd(^Di(hY.)CWQTo'\_<tdOohp`nFCuM&B4:F!,(p_0$&dGZ.k=i)h3FI@5blLq+j)AJ\.fKkb#+\j(bZ'4n(\RX/s)61_X[e"JAX'X9ebEP?B>iZ;^eWa9ttujp-).0bYL?nAO2Q7mJe&Oj*B2')h7YIXg]+(,gQ^h#cB5qM,$aX^o':*_H'g&b\)4LLPHGkCpt#6S)4"^U*PR/k(c)2ZSV37ks?ikck.\U?%`cEZi"0;,!+Qe?s,M4`tMno0IQou_"%R-0&iT7/eE`'-us51oNbL(KVfFkWT@Foh4>bZ_i*&6Qu7o<l6'a(_.rLo[lX.UW=2bN_lr6D4H3I3m>ofP'&4m6E4%I0^'TES\;ApH:ZZejAh9"6r'"Q]$"H^Cj-`+<fagSq1OM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)u_pdI1<`QA-,]3mpS:iPY7.I;ZY`!rUO:/eGn'BYAhSQ`g%c#E_%VBh/ApR/6M;h2?Fh<Ad2H7)ugA<i0rr\hpX4P^XPpiLZkOqgWb(`g693%!r:%TX/mT+44OkiQ9G&31r&p5"5"`cPt#0O.>SblI%UGhW5=;#@TU[JR4"*NhNi:?>"%&CbRdpn;\tgS2,9!gf)W\GlPdXR<@~>
 endstream
 endobj
-19 0 obj
-<< /Type /Page
-/Parent 1 0 R
-/MediaBox [ 0 0 612 792 ]
-/Resources 3 0 R
-/Contents 18 0 R
->>
-endobj
-20 0 obj
-<< /Length 456 /Filter [ /ASCII85Decode /FlateDecode ]
- >>
-stream
-Gar&:bAMqd&A7ljHq^BVZ&KiECoX@1HYBI#lJl7b#ET4g2DiS6f0COl&Mi'C4?MoR3X60Up]1M`r]Gc@,7K8;rlt4?0,&mRZl0_<%BOWTg2KT]s,c[MSk.Ku";75b9J2FB%-@fi\`g-ZN)P_JJP/$5>GsI0087mK=52)A>"<d`'CeEB%7O4-C?^JiD/ESBLjsHY528W7;UpohZ0j+uoV'YL[B&%;d]B0_>@ThmLAB<kQ7P>gZDDH04qruGkGtWmKrMQ*qf?1#/l<fQPU&PJAi&nnQtNP5H%.8?-3XjU\F['VSC-LK(kO()F67!eU3mA]IgLj7lZ01qU^>6^9''4L<L*EQ,)cGii,c+NV3:@.?HuCp3)#atJBXeV9m<mc=\XXnd?qlhjWkt+E>hY;HTQkl:2OM=DYF$+fr2536b?9FD-@Y$RO3PVgI54?hX+//mLKhZXip~>
-endstream
-endobj
-21 0 obj
+17 0 obj
 << /Type /Page
 /Parent 1 0 R
 /MediaBox [ 0 0 612 792 ]
 /Resources 3 0 R
-/Contents 20 0 R
+/Contents 16 0 R
 >>
 endobj
-23 0 obj
+19 0 obj
 <<
  /Title (\376\377\0\61\0\40\0\117\0\142\0\163\0\145\0\162\0\166\0\145\0\162\0\163\0\72\0\40\0\123\0\143\0\141\0\154\0\151\0\156\0\147\0\40\0\132\0\157\0\157\0\113\0\145\0\145\0\160\0\145\0\162\0\40\0\127\0\151\0\164\0\150\0\157\0\165\0\164\0\40\0\110\0\165\0\162\0\164\0\151\0\156\0\147\0\40\0\127\0\162\0\151\0\164\0\145\0\40\0\120\0\145\0\162\0\146\0\157\0\162\0\155\0\141\0\156\0\143\0\145)
- /Parent 22 0 R
- /Next 24 0 R
+ /Parent 18 0 R
+ /Next 20 0 R
  /A 9 0 R
 >> endobj
-24 0 obj
+20 0 obj
 <<
  /Title (\376\377\0\62\0\40\0\110\0\157\0\167\0\40\0\164\0\157\0\40\0\165\0\163\0\145\0\40\0\117\0\142\0\163\0\145\0\162\0\166\0\145\0\162\0\163)
- /Parent 22 0 R
- /Prev 23 0 R
- /Next 25 0 R
+ /Parent 18 0 R
+ /Prev 19 0 R
+ /Next 21 0 R
  /A 11 0 R
 >> endobj
-25 0 obj
+21 0 obj
 <<
  /Title (\376\377\0\63\0\40\0\105\0\170\0\141\0\155\0\160\0\154\0\145\0\40\0\165\0\163\0\145\0\40\0\143\0\141\0\163\0\145\0\163)
- /Parent 22 0 R
- /Prev 24 0 R
+ /Parent 18 0 R
+ /Prev 20 0 R
  /A 13 0 R
 >> endobj
-26 0 obj
+22 0 obj
 << /Type /Font
 /Subtype /Type1
 /Name /F3
 /BaseFont /Helvetica-Bold
 /Encoding /WinAnsiEncoding >>
 endobj
-27 0 obj
+23 0 obj
 << /Type /Font
 /Subtype /Type1
 /Name /F5
 /BaseFont /Times-Roman
 /Encoding /WinAnsiEncoding >>
 endobj
-28 0 obj
+24 0 obj
 << /Type /Font
 /Subtype /Type1
 /Name /F6
 /BaseFont /Times-Italic
 /Encoding /WinAnsiEncoding >>
 endobj
-29 0 obj
+25 0 obj
 << /Type /Font
 /Subtype /Type1
 /Name /F1
 /BaseFont /Helvetica
 /Encoding /WinAnsiEncoding >>
 endobj
-30 0 obj
+26 0 obj
 << /Type /Font
 /Subtype /Type1
 /Name /F9
 /BaseFont /Courier
 /Encoding /WinAnsiEncoding >>
 endobj
-31 0 obj
+27 0 obj
 << /Type /Font
 /Subtype /Type1
 /Name /F2
 /BaseFont /Helvetica-Oblique
 /Encoding /WinAnsiEncoding >>
 endobj
-32 0 obj
+28 0 obj
 << /Type /Font
 /Subtype /Type1
 /Name /F7
@@ -192,19 +160,19 @@
 endobj
 1 0 obj
 << /Type /Pages
-/Count 4
-/Kids [6 0 R 15 0 R 19 0 R 21 0 R ] >>
+/Count 3
+/Kids [6 0 R 15 0 R 17 0 R ] >>
 endobj
 2 0 obj
 << /Type /Catalog
 /Pages 1 0 R
- /Outlines 22 0 R
+ /Outlines 18 0 R
  /PageMode /UseOutlines
  >>
 endobj
 3 0 obj
 << 
-/Font << /F3 26 0 R /F5 27 0 R /F1 29 0 R /F6 28 0 R /F9 30 0 R /F2 31 0 R /F7 32 0
R >> 
+/Font << /F3 22 0 R /F5 23 0 R /F1 25 0 R /F6 24 0 R /F9 26 0 R /F2 27 0 R /F7 28 0
R >> 
 /ProcSet [ /PDF /ImageC /Text ] >> 
 endobj
 9 0 obj
@@ -216,61 +184,57 @@
 11 0 obj
 <<
 /S /GoTo
-/D [15 0 R /XYZ 85.0 252.666 null]
+/D [15 0 R /XYZ 85.0 326.666 null]
 >>
 endobj
 13 0 obj
 <<
 /S /GoTo
-/D [19 0 R /XYZ 85.0 336.26 null]
+/D [17 0 R /XYZ 85.0 534.22 null]
 >>
 endobj
-22 0 obj
+18 0 obj
 <<
- /First 23 0 R
- /Last 25 0 R
+ /First 19 0 R
+ /Last 21 0 R
 >> endobj
 xref
-0 33
+0 29
 0000000000 65535 f 
-0000008992 00000 n 
-0000009071 00000 n 
-0000009163 00000 n 
+0000007448 00000 n 
+0000007520 00000 n 
+0000007612 00000 n 
 0000000015 00000 n 
 0000000071 00000 n 
 0000000683 00000 n 
 0000000803 00000 n 
 0000000842 00000 n 
-0000009308 00000 n 
+0000007757 00000 n 
 0000000976 00000 n 
-0000009371 00000 n 
+0000007820 00000 n 
 0000001113 00000 n 
-0000009437 00000 n 
+0000007886 00000 n 
 0000001250 00000 n 
-0000003889 00000 n 
-0000004012 00000 n 
-0000004039 00000 n 
-0000004244 00000 n 
-0000006584 00000 n 
-0000006692 00000 n 
-0000007240 00000 n 
-0000009502 00000 n 
-0000007348 00000 n 
-0000007804 00000 n 
-0000008027 00000 n 
-0000008219 00000 n 
-0000008332 00000 n 
-0000008442 00000 n 
-0000008553 00000 n 
-0000008661 00000 n 
-0000008767 00000 n 
-0000008883 00000 n 
+0000003683 00000 n 
+0000003791 00000 n 
+0000005696 00000 n 
+0000007951 00000 n 
+0000005804 00000 n 
+0000006260 00000 n 
+0000006483 00000 n 
+0000006675 00000 n 
+0000006788 00000 n 
+0000006898 00000 n 
+0000007009 00000 n 
+0000007117 00000 n 
+0000007223 00000 n 
+0000007339 00000 n 
 trailer
 <<
-/Size 33
+/Size 29
 /Root 2 0 R
 /Info 4 0 R
 >>
 startxref
-9553
+8002
 %%EOF

Modified: hadoop/zookeeper/trunk/src/docs/src/documentation/content/xdocs/zookeeperObservers.xml
URL: http://svn.apache.org/viewvc/hadoop/zookeeper/trunk/src/docs/src/documentation/content/xdocs/zookeeperObservers.xml?rev=911674&r1=911673&r2=911674&view=diff
==============================================================================
--- hadoop/zookeeper/trunk/src/docs/src/documentation/content/xdocs/zookeeperObservers.xml
(original)
+++ hadoop/zookeeper/trunk/src/docs/src/documentation/content/xdocs/zookeeperObservers.xml
Fri Feb 19 02:08:00 2010
@@ -44,16 +44,6 @@
     <title>Observers: Scaling ZooKeeper Without Hurting Write Performance
       </title>
     <para>
-      <emphasis>
-	Please note: the Observers feature currently only works with the basic
-	leader election protocol, not fast leader election or authenticated fast
-	leader election. This will be remedied when a bug in the leader election
-	protocol code is fixed in the near future. An exception will be thrown
-	if you try to start a cluster containing Observers without
-	electionAlg=0. See below for more details.
-      </emphasis>
-    </para>
-    <para>
       Although ZooKeeper performs very well by having clients connect directly
       to voting members of the ensemble, this architecture makes it hard to
       scale out to huge numbers of clients. The problem is that as we add more
@@ -88,25 +78,6 @@
   </section>
   <section id="sc_UsingObservers">
     <title>How to use Observers</title>
-    <para>
-      <emphasis>
-	Note that
-	until <ulink url="https://issues.apache.org/jira/browse/ZOOKEEPER-578">ZOOKEEPER-578</ulink>
-	is resolved, you must set electionAlg=0 in every server configuration
-	file. Otherwise an exception will be thrown when you try to start your
-	ensemble.
-      </emphasis>
-    </para>
-    <para>
-      <emphasis>
-	The reason: because Observers do not participate in leader elections,
-	they rely on voting Followers to inform them of changes to the
-	Leader. Currently, only the basic leader election algorithm starts a
-	thread that responds to requests from Observers to identify the current
-	Leader. Work is in progress on other JIRAs to bring this functionality
-	to all leader election protocols.
-      </emphasis>
-    </para>
     <para>Setting up a ZooKeeper ensemble that uses Observers is very simple,
     and requires just two changes to your config files. Firstly, in the config
     file of every node that is to be an Observer, you must place this line:



Mime
View raw message