releasenotes.html 38 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <head>
  4. <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5. <meta content="Apache Forrest" name="Generator">
  6. <meta name="Forrest-version" content="0.8">
  7. <meta name="Forrest-skin-name" content="pelt">
  8. <title>ZooKeeper 3.0.0 Release Notes</title>
  9. <link type="text/css" href="skin/basic.css" rel="stylesheet">
  10. <link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet">
  11. <link media="print" type="text/css" href="skin/print.css" rel="stylesheet">
  12. <link type="text/css" href="skin/profile.css" rel="stylesheet">
  13. <script src="skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="skin/fontsize.js" language="javascript" type="text/javascript"></script>
  14. <link rel="shortcut icon" href="images/favicon.ico">
  15. </head>
  16. <body onload="init()">
  17. <script type="text/javascript">ndeSetTextSize();</script>
  18. <div id="top">
  19. <!--+
  20. |breadtrail
  21. +-->
  22. <div class="breadtrail">
  23. <a href="http://www.apache.org/">Apache</a> &gt; <a href="http://hadoop.apache.org/">Hadoop</a> &gt; <a href="http://hadoop.apache.org/zookeeper/">ZooKeeper</a><script src="skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script>
  24. </div>
  25. <!--+
  26. |header
  27. +-->
  28. <div class="header">
  29. <!--+
  30. |start group logo
  31. +-->
  32. <div class="grouplogo">
  33. <a href="http://hadoop.apache.org/"><img class="logoImage" alt="Hadoop" src="images/hadoop-logo.jpg" title="Apache Hadoop"></a>
  34. </div>
  35. <!--+
  36. |end group logo
  37. +-->
  38. <!--+
  39. |start Project Logo
  40. +-->
  41. <div class="projectlogo">
  42. <a href="http://hadoop.apache.org/zookeeper/"><img class="logoImage" alt="ZooKeeper" src="images/zookeeper_small.gif" title="ZooKeeper: distributed coordination"></a>
  43. </div>
  44. <!--+
  45. |end Project Logo
  46. +-->
  47. <!--+
  48. |start Search
  49. +-->
  50. <div class="searchbox">
  51. <form action="http://www.google.com/search" method="get" class="roundtopsmall">
  52. <input value="hadoop.apache.org" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with google');" size="25" name="q" id="query" type="text" value="Search the site with google">&nbsp;
  53. <input name="Search" value="Search" type="submit">
  54. </form>
  55. </div>
  56. <!--+
  57. |end search
  58. +-->
  59. <!--+
  60. |start Tabs
  61. +-->
  62. <ul id="tabs">
  63. <li>
  64. <a class="unselected" href="http://hadoop.apache.org/zookeeper/">Project</a>
  65. </li>
  66. <li>
  67. <a class="unselected" href="http://wiki.apache.org/hadoop/ZooKeeper">Wiki</a>
  68. </li>
  69. <li class="current">
  70. <a class="selected" href="index.html">ZooKeeper 3.2 Documentation</a>
  71. </li>
  72. </ul>
  73. <!--+
  74. |end Tabs
  75. +-->
  76. </div>
  77. </div>
  78. <div id="main">
  79. <div id="publishedStrip">
  80. <!--+
  81. |start Subtabs
  82. +-->
  83. <div id="level2tabs"></div>
  84. <!--+
  85. |end Endtabs
  86. +-->
  87. <script type="text/javascript"><!--
  88. document.write("Last Published: " + document.lastModified);
  89. // --></script>
  90. </div>
  91. <!--+
  92. |breadtrail
  93. +-->
  94. <div class="breadtrail">
  95. &nbsp;
  96. </div>
  97. <!--+
  98. |start Menu, mainarea
  99. +-->
  100. <!--+
  101. |start Menu
  102. +-->
  103. <div id="menu">
  104. <div onclick="SwitchMenu('menu_selected_1.1', 'skin/')" id="menu_selected_1.1Title" class="menutitle" style="background-image: url('skin/images/chapter_open.gif');">Overview</div>
  105. <div id="menu_selected_1.1" class="selectedmenuitemgroup" style="display: block;">
  106. <div class="menuitem">
  107. <a href="index.html">Welcome</a>
  108. </div>
  109. <div class="menuitem">
  110. <a href="zookeeperOver.html">Overview</a>
  111. </div>
  112. <div class="menuitem">
  113. <a href="zookeeperStarted.html">Getting Started</a>
  114. </div>
  115. <div class="menupage">
  116. <div class="menupagetitle">Release Notes</div>
  117. </div>
  118. </div>
  119. <div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" class="menutitle">Developer</div>
  120. <div id="menu_1.2" class="menuitemgroup">
  121. <div class="menuitem">
  122. <a href="api/index.html">API Docs</a>
  123. </div>
  124. <div class="menuitem">
  125. <a href="zookeeperProgrammers.html">Programmer's Guide</a>
  126. </div>
  127. <div class="menuitem">
  128. <a href="javaExample.html">Java Example</a>
  129. </div>
  130. <div class="menuitem">
  131. <a href="zookeeperTutorial.html">Barrier and Queue Tutorial</a>
  132. </div>
  133. <div class="menuitem">
  134. <a href="recipes.html">Recipes</a>
  135. </div>
  136. </div>
  137. <div onclick="SwitchMenu('menu_1.3', 'skin/')" id="menu_1.3Title" class="menutitle">BookKeeper</div>
  138. <div id="menu_1.3" class="menuitemgroup">
  139. <div class="menuitem">
  140. <a href="bookkeeperStarted.html">Getting started</a>
  141. </div>
  142. <div class="menuitem">
  143. <a href="bookkeeperOverview.html">Overview</a>
  144. </div>
  145. <div class="menuitem">
  146. <a href="bookkeeperConfig.html">Setup guide</a>
  147. </div>
  148. <div class="menuitem">
  149. <a href="bookkeeperProgrammer.html">Programmer's guide</a>
  150. </div>
  151. </div>
  152. <div onclick="SwitchMenu('menu_1.4', 'skin/')" id="menu_1.4Title" class="menutitle">Admin &amp; Ops</div>
  153. <div id="menu_1.4" class="menuitemgroup">
  154. <div class="menuitem">
  155. <a href="zookeeperAdmin.html">Administrator's Guide</a>
  156. </div>
  157. <div class="menuitem">
  158. <a href="zookeeperQuotas.html">Quota Guide</a>
  159. </div>
  160. <div class="menuitem">
  161. <a href="zookeeperJMX.html">JMX</a>
  162. </div>
  163. </div>
  164. <div onclick="SwitchMenu('menu_1.5', 'skin/')" id="menu_1.5Title" class="menutitle">Contributor</div>
  165. <div id="menu_1.5" class="menuitemgroup">
  166. <div class="menuitem">
  167. <a href="zookeeperInternals.html">ZooKeeper Internals</a>
  168. </div>
  169. </div>
  170. <div onclick="SwitchMenu('menu_1.6', 'skin/')" id="menu_1.6Title" class="menutitle">Miscellaneous</div>
  171. <div id="menu_1.6" class="menuitemgroup">
  172. <div class="menuitem">
  173. <a href="http://wiki.apache.org/hadoop/ZooKeeper">Wiki</a>
  174. </div>
  175. <div class="menuitem">
  176. <a href="http://wiki.apache.org/hadoop/ZooKeeper/FAQ">FAQ</a>
  177. </div>
  178. <div class="menuitem">
  179. <a href="http://hadoop.apache.org/zookeeper/mailing_lists.html">Mailing Lists</a>
  180. </div>
  181. </div>
  182. <div id="credit"></div>
  183. <div id="roundbottom">
  184. <img style="display: none" class="corner" height="15" width="15" alt="" src="skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
  185. <!--+
  186. |alternative credits
  187. +-->
  188. <div id="credit2"></div>
  189. </div>
  190. <!--+
  191. |end Menu
  192. +-->
  193. <!--+
  194. |start content
  195. +-->
  196. <div id="content">
  197. <div title="Portable Document Format" class="pdflink">
  198. <a class="dida" href="releasenotes.pdf"><img alt="PDF -icon" src="skin/images/pdfdoc.gif" class="skin"><br>
  199. PDF</a>
  200. </div>
  201. <h1>ZooKeeper 3.0.0 Release Notes</h1>
  202. <div id="minitoc-area">
  203. <ul class="minitoc">
  204. <li>
  205. <a href="#migration">Migration Instructions when Upgrading to 3.0.0</a>
  206. <ul class="minitoc">
  207. <li>
  208. <a href="#migration_code">Migrating Client Code</a>
  209. <ul class="minitoc">
  210. <li>
  211. <a href="#Watch+Management">Watch Management</a>
  212. </li>
  213. <li>
  214. <a href="#Java+API">Java API</a>
  215. </li>
  216. <li>
  217. <a href="#C+API">C API</a>
  218. </li>
  219. </ul>
  220. </li>
  221. <li>
  222. <a href="#migration_data">Migrating Server Data</a>
  223. </li>
  224. <li>
  225. <a href="#migration_config">Migrating Server Configuration</a>
  226. </li>
  227. </ul>
  228. </li>
  229. <li>
  230. <a href="#changes">Changes Since ZooKeeper 2.2.1</a>
  231. </li>
  232. </ul>
  233. </div>
  234. <p>
  235. These release notes include new developer and user facing incompatibilities, features, and major improvements.
  236. </p>
  237. <ul>
  238. <li>
  239. <p>
  240. <a href="#migration">Migration Instructions</a>
  241. </p>
  242. </li>
  243. <li>
  244. <p>
  245. <a href="#changes">Changes</a>
  246. </p>
  247. </li>
  248. </ul>
  249. <a name="N1001B"></a><a name="migration"></a>
  250. <h2 class="h3">Migration Instructions when Upgrading to 3.0.0</h2>
  251. <div class="section">
  252. <p>
  253. <em>You should only have to read this section if you are upgrading from a previous version of ZooKeeper to version 3.0.0, otw skip down to <a href="#changes">changes</a></em>
  254. </p>
  255. <p>
  256. A small number of changes in this release have resulted in non-backward compatible Zookeeper client user code and server instance data. The following instructions provide details on how to migrate code and date from version 2.2.1 to version 3.0.0.
  257. </p>
  258. <p>
  259. Note: ZooKeeper increments the major version number (major.minor.fix) when backward incompatible changes are made to the source base. As part of the migration from SourceForge we changed the package structure (com.yahoo.zookeeper.* to org.apache.zookeeper.*) and felt it was a good time to incorporate some changes that we had been withholding. As a result the following will be required when migrating from 2.2.1 to 3.0.0 version of ZooKeeper.
  260. </p>
  261. <ul>
  262. <li>
  263. <p>
  264. <a href="#migration_code">Migrating Client Code</a>
  265. </p>
  266. </li>
  267. <li>
  268. <p>
  269. <a href="#migration_data">Migrating Server Data</a>
  270. </p>
  271. </li>
  272. <li>
  273. <p>
  274. <a href="#migration_config">Migrating Server Configuration</a>
  275. </p>
  276. </li>
  277. </ul>
  278. <a name="N10045"></a><a name="migration_code"></a>
  279. <h3 class="h4">Migrating Client Code</h3>
  280. <p>
  281. The underlying client-server protocol has changed in version 3.0.0
  282. of ZooKeeper. As a result clients must be upgraded along with
  283. serving clusters to ensure proper operation of the system (old
  284. pre-3.0.0 clients are not guaranteed to operate against upgraded
  285. 3.0.0 servers and vice-versa).
  286. </p>
  287. <a name="N1004E"></a><a name="Watch+Management"></a>
  288. <h4>Watch Management</h4>
  289. <p>
  290. In previous releases of ZooKeeper any watches registered by clients were lost if the client lost a connection to a ZooKeeper server.
  291. This meant that developers had to track watches they were interested in and reregister them if a session disconnect event was recieved.
  292. In this release the client library tracks watches that a client has registered and reregisters the watches when a connection is made to a new server.
  293. Applications that still manually reregister interest should continue working properly as long as they are able to handle unsolicited watches.
  294. For example, an old application may register a watch for /foo and /goo, lose the connection, and reregister only /goo.
  295. As long as the application is able to recieve a notification for /foo, (probably ignoring it) the applications does not to be changes.
  296. One caveat to the watch management: it is possible to miss an event for the creation and deletion of a znode if watching for creation and both the create and delete happens while the client is disconnected from ZooKeeper.
  297. </p>
  298. <p>
  299. This release also allows clients to specify call specific watch functions.
  300. This gives the developer the ability to modularize logic in different watch functions rather than cramming everything in the watch function attached to the ZooKeeper handle.
  301. Call specific watch functions receive all session events for as long as they are active, but will only receive the watch callbacks for which they are registered.
  302. </p>
  303. <a name="N1005B"></a><a name="Java+API"></a>
  304. <h4>Java API</h4>
  305. <ol>
  306. <li>
  307. <p>The java package structure has changed from <strong>com.yahoo.zookeeper*</strong> to <strong>org.apache.zookeeper*</strong>. This will probably effect all of your java code which makes use of ZooKeeper APIs (typically import statements)</p>
  308. </li>
  309. <li>
  310. <p>A number of constants used in the client ZooKeeper API were re-specified using enums (rather than ints). See <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-7">ZOOKEEPER-7</a>, <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-132">ZOOKEEPER-132</a> and <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-139">ZOOKEEPER-139</a> for full details</p>
  311. </li>
  312. <li>
  313. <p>
  314. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-18">ZOOKEEPER-18</a> removed KeeperStateChanged, use KeeperStateDisconnected instead</p>
  315. </li>
  316. </ol>
  317. <p>
  318. Also see <a href="http://hadoop.apache.org/zookeeper/docs/current/api/index.html">the current java API</a>
  319. </p>
  320. <a name="N1008D"></a><a name="C+API"></a>
  321. <h4>C API</h4>
  322. <ol>
  323. <li>
  324. <p>A number of constants used in the client ZooKeeper API were renamed in order to reduce namespace collision, see <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-6">ZOOKEEPER-6</a> for full details</p>
  325. </li>
  326. </ol>
  327. <a name="N100A0"></a><a name="migration_data"></a>
  328. <h3 class="h4">Migrating Server Data</h3>
  329. <p>
  330. The following issues resulted in changes to the on-disk data format (the snapshot and transaction log files contained within the ZK data directory) and require a migration utility to be run.
  331. </p>
  332. <ul>
  333. <li>
  334. <p>
  335. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-27">ZOOKEEPER-27 Unique DB identifiers for servers and clients</a>
  336. </p>
  337. </li>
  338. <li>
  339. <p>
  340. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-32">ZOOKEEPER-32 CRCs for ZooKeeper data</a>
  341. </p>
  342. </li>
  343. <li>
  344. <p>
  345. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-33">ZOOKEEPER-33 Better ACL management</a>
  346. </p>
  347. </li>
  348. <li>
  349. <p>
  350. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-38">ZOOKEEPER-38 headers (version+) in log/snap files</a>
  351. </p>
  352. </li>
  353. </ul>
  354. <p>
  355. <strong>The following must be run once, and only once, when upgrading the ZooKeeper server instances to version 3.0.0.</strong>
  356. </p>
  357. <div class="note">
  358. <div class="label">Note</div>
  359. <div class="content">
  360. <p>
  361. The &lt;dataLogDir&gt; and &lt;dataDir&gt; directories referenced
  362. below are specified by the <em>dataLogDir</em>
  363. and <em>dataDir</em> specification in your
  364. ZooKeeper config file
  365. respectively. <em>dataLogDir</em> defaults to the
  366. value of <em>dataDir</em> if not specified explicitly
  367. in the ZooKeeper server config file (in which case provide the
  368. same directory for both parameters to the upgrade utility).
  369. </p>
  370. </div>
  371. </div>
  372. <ol>
  373. <li>
  374. <p>Shutdown the ZooKeeper server cluster.</p>
  375. </li>
  376. <li>
  377. <p>Backup your &lt;dataLogDir&gt; and &lt;dataDir&gt; directories</p>
  378. </li>
  379. <li>
  380. <p>Run upgrade using</p>
  381. <ul>
  382. <li>
  383. <p>
  384. <span class="codefrag computeroutput">bin/zkServer.sh upgrade &lt;dataLogDir&gt; &lt;dataDir&gt;</span>
  385. </p>
  386. </li>
  387. </ul>
  388. <p>or</p>
  389. <ul>
  390. <li>
  391. <p>
  392. <span class="codefrag computeroutput">java -classpath pathtolog4j:pathtozookeeper.jar UpgradeMain &lt;dataLogDir&gt; &lt;dataDir&gt;</span>
  393. </p>
  394. </li>
  395. </ul>
  396. <p>where &lt;dataLogDir&gt; is the directory where all transaction logs (log.*) are stored. &lt;dataDir&gt; is the directory where all the snapshots (snapshot.*) are stored.</p>
  397. </li>
  398. <li>
  399. <p>Restart the cluster. </p>
  400. </li>
  401. </ol>
  402. <p>
  403. If you have any failure during the upgrade procedure keep reading to sanitize your database.
  404. </p>
  405. <p>This is how upgrade works in ZooKeeper. This will help you troubleshoot in case you have problems while upgrading</p>
  406. <ol>
  407. <li>
  408. <p>Upgrade moves files from &lt;dataLogDir&gt; and &lt;dataDir&gt; to &lt;dataLogDir&gt;/version-1/ and &lt;dataDir&gt;/version-1 respectively (version-1 sub-directory is created by the upgrade utility). </p>
  409. </li>
  410. <li>
  411. <p>Upgrade creates a new version sub-directory &lt;dataDir&gt;/version-2 and &lt;dataLogDir&gt;/version-2</p>
  412. </li>
  413. <li>
  414. <p>Upgrade reads the old database from &lt;dataDir&gt;/version-1 and &lt;dataLogDir&gt;/version-1 into the memory and creates a new upgraded snapshot. </p>
  415. </li>
  416. <li>
  417. <p>Upgrade writes the new database in &lt;dataDir&gt;/version-2. </p>
  418. </li>
  419. </ol>
  420. <p>Troubleshooting.</p>
  421. <ol>
  422. <li>
  423. <p>In case you start ZooKeeper 3.0 without upgrading from 2.0 on a 2.0 database - the servers will start up with an empty database.
  424. This is because the servers assume that &lt;dataDir&gt;/version-2 and &lt;dataLogDir&gt;/version-2 will have the database to start with. Since this will be empty
  425. in case of no upgrade, the servers will start with an empty database. In such a case, shutdown the ZooKeeper servers, remove the version-2 directory (remember
  426. this will lead to loss of updates after you started 3.0.)
  427. and then start the upgrade procedure.</p>
  428. </li>
  429. <li>
  430. <p>If the upgrade fails while trying to rename files into the version-1 directory, you should try and move all the files under &lt;dataDir&gt;/version-1
  431. and &lt;dataLogDir&gt;/version-1 to &lt;dataDir&gt; and &lt;dataLogDir&gt; respectively. Then try upgrade again.
  432. </p>
  433. </li>
  434. <li>
  435. <p> If you do not wish to run with ZooKeeper 3.0 and prefer to run with ZooKeeper 2.0 and have already upgraded - you can run ZooKeeper 2 with
  436. the &lt;dataDir&gt; and &lt;dataLogDir&gt; directories changed to &lt;dataDir&gt;/version-1 and &lt;dataLogDir&gt;/version-1. Remember that you will lose all the updates that you made after the upgrade.
  437. </p>
  438. </li>
  439. </ol>
  440. <a name="N10135"></a><a name="migration_config"></a>
  441. <h3 class="h4">Migrating Server Configuration</h3>
  442. <p>
  443. There is a significant change to the ZooKeeper server configuration file.
  444. </p>
  445. <p>The default election algorithm, specified by
  446. the <em>electionAlg</em> configuration attribute, has
  447. changed from a default of <em>0</em> to a default
  448. of <em>3</em>. See
  449. <a href="zookeeperAdmin.html#sc_clusterOptions">Cluster
  450. Options</a> section of the administrators guide, specifically
  451. the <em>electionAlg</em>
  452. and <em>server.X</em> properties.
  453. </p>
  454. <p>
  455. You will either need to explicitly
  456. set <em>electionAlg</em> to it's previous default value
  457. of <em>0</em> or change
  458. your <em>server.X</em> options to include the leader
  459. election port.
  460. </p>
  461. </div>
  462. <a name="N10162"></a><a name="changes"></a>
  463. <h2 class="h3">Changes Since ZooKeeper 2.2.1</h2>
  464. <div class="section">
  465. <p>
  466. Version 2.2.1 code, documentation, binaries, etc... are still accessible on <a href="http://sourceforge.net/projects/zookeeper">SourceForge</a>
  467. </p>
  468. <table class="ForrestTable" cellspacing="1" cellpadding="4">
  469. <caption>Changes Since ZooKeeper 2.2.1</caption>
  470. <title>Changes Since ZooKeeper 2.2.1</title>
  471. <tr>
  472. <th>Issue</th>
  473. <th>Notes</th>
  474. </tr>
  475. <tr>
  476. <td>
  477. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-43">
  478. ZOOKEEPER-43</a>
  479. </td>
  480. <td>
  481. Server side of auto reset watches.
  482. </td>
  483. </tr>
  484. <tr>
  485. <td>
  486. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-132">
  487. ZOOKEEPER-132</a>
  488. </td>
  489. <td>
  490. Create Enum to replace CreateFlag in ZooKepper.create method
  491. </td>
  492. </tr>
  493. <tr>
  494. <td>
  495. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-139">
  496. ZOOKEEPER-139</a>
  497. </td>
  498. <td>
  499. Create Enums for WatcherEvent's KeeperState and EventType
  500. </td>
  501. </tr>
  502. <tr>
  503. <td>
  504. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-18">
  505. ZOOKEEPER-18</a>
  506. </td>
  507. <td>
  508. keeper state inconsistency
  509. </td>
  510. </tr>
  511. <tr>
  512. <td>
  513. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-38">
  514. ZOOKEEPER-38</a>
  515. </td>
  516. <td>
  517. headers in log/snap files
  518. </td>
  519. </tr>
  520. <tr>
  521. <td>
  522. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-8">
  523. ZOOKEEPER-8</a>
  524. </td>
  525. <td>
  526. Stat enchaned to include num of children and size
  527. </td>
  528. </tr>
  529. <tr>
  530. <td>
  531. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-6">
  532. ZOOKEEPER-6</a>
  533. </td>
  534. <td>
  535. List of problem identifiers in zookeeper.h
  536. </td>
  537. </tr>
  538. <tr>
  539. <td>
  540. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-7">
  541. ZOOKEEPER-7</a>
  542. </td>
  543. <td>
  544. Use enums rather than ints for types and state
  545. </td>
  546. </tr>
  547. <tr>
  548. <td>
  549. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-27">
  550. ZOOKEEPER-27</a>
  551. </td>
  552. <td>
  553. Unique DB identifiers for servers and clients
  554. </td>
  555. </tr>
  556. <tr>
  557. <td>
  558. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-32">
  559. ZOOKEEPER-32</a>
  560. </td>
  561. <td>
  562. CRCs for ZooKeeper data
  563. </td>
  564. </tr>
  565. <tr>
  566. <td>
  567. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-33">
  568. ZOOKEEPER-33</a>
  569. </td>
  570. <td>
  571. Better ACL management
  572. </td>
  573. </tr>
  574. <tr>
  575. <td>
  576. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-203">
  577. ZOOKEEPER-203</a>
  578. </td>
  579. <td>
  580. fix datadir typo in releasenotes
  581. </td>
  582. </tr>
  583. <tr>
  584. <td>
  585. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-145">
  586. ZOOKEEPER-145</a>
  587. </td>
  588. <td>
  589. write detailed release notes for users migrating from 2.x to 3.0
  590. </td>
  591. </tr>
  592. <tr>
  593. <td>
  594. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-23">
  595. ZOOKEEPER-23</a>
  596. </td>
  597. <td>
  598. Auto reset of watches on reconnect
  599. </td>
  600. </tr>
  601. <tr>
  602. <td>
  603. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-191">
  604. ZOOKEEPER-191</a>
  605. </td>
  606. <td>
  607. forrest docs for upgrade.
  608. </td>
  609. </tr>
  610. <tr>
  611. <td>
  612. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-201">
  613. ZOOKEEPER-201</a>
  614. </td>
  615. <td>
  616. validate magic number when reading snapshot and transaction logs
  617. </td>
  618. </tr>
  619. <tr>
  620. <td>
  621. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-200">
  622. ZOOKEEPER-200</a>
  623. </td>
  624. <td>
  625. the magic number for snapshot and log must be different
  626. </td>
  627. </tr>
  628. <tr>
  629. <td>
  630. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-199">
  631. ZOOKEEPER-199</a>
  632. </td>
  633. <td>
  634. fix log messages in persistence code
  635. </td>
  636. </tr>
  637. <tr>
  638. <td>
  639. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-197">
  640. ZOOKEEPER-197</a>
  641. </td>
  642. <td>
  643. create checksums for snapshots
  644. </td>
  645. </tr>
  646. <tr>
  647. <td>
  648. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-198">
  649. ZOOKEEPER-198</a>
  650. </td>
  651. <td>
  652. apache license header missing from FollowerSyncRequest.java
  653. </td>
  654. </tr>
  655. <tr>
  656. <td>
  657. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-5">
  658. ZOOKEEPER-5</a>
  659. </td>
  660. <td>
  661. Upgrade Feature in Zookeeper server.
  662. </td>
  663. </tr>
  664. <tr>
  665. <td>
  666. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-194">
  667. ZOOKEEPER-194</a>
  668. </td>
  669. <td>
  670. Fix terminology in zookeeperAdmin.xml
  671. </td>
  672. </tr>
  673. <tr>
  674. <td>
  675. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-151">
  676. ZOOKEEPER-151</a>
  677. </td>
  678. <td>
  679. Document change to server configuration
  680. </td>
  681. </tr>
  682. <tr>
  683. <td>
  684. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-193">
  685. ZOOKEEPER-193</a>
  686. </td>
  687. <td>
  688. update java example doc to compile with latest zookeeper
  689. </td>
  690. </tr>
  691. <tr>
  692. <td>
  693. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-187">
  694. ZOOKEEPER-187</a>
  695. </td>
  696. <td>
  697. CreateMode api docs missing
  698. </td>
  699. </tr>
  700. <tr>
  701. <td>
  702. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-186">
  703. ZOOKEEPER-186</a>
  704. </td>
  705. <td>
  706. add new "releasenotes.xml" to forrest documentation
  707. </td>
  708. </tr>
  709. <tr>
  710. <td>
  711. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-190">
  712. ZOOKEEPER-190</a>
  713. </td>
  714. <td>
  715. Reorg links to docs and navs to docs into related sections
  716. </td>
  717. </tr>
  718. <tr>
  719. <td>
  720. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-189">
  721. ZOOKEEPER-189</a>
  722. </td>
  723. <td>
  724. forrest build not validated xml of input documents
  725. </td>
  726. </tr>
  727. <tr>
  728. <td>
  729. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-188">
  730. ZOOKEEPER-188</a>
  731. </td>
  732. <td>
  733. Check that election port is present for all servers
  734. </td>
  735. </tr>
  736. <tr>
  737. <td>
  738. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-185">
  739. ZOOKEEPER-185</a>
  740. </td>
  741. <td>
  742. Improved version of FLETest
  743. </td>
  744. </tr>
  745. <tr>
  746. <td>
  747. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-184">
  748. ZOOKEEPER-184</a>
  749. </td>
  750. <td>
  751. tests: An explicit include derective is needed for the usage of memcpy functions
  752. </td>
  753. </tr>
  754. <tr>
  755. <td>
  756. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-183">
  757. ZOOKEEPER-183</a>
  758. </td>
  759. <td>
  760. Array subscript is above array bounds in od_completion, src/cli.c.
  761. </td>
  762. </tr>
  763. <tr>
  764. <td>
  765. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-182">
  766. ZOOKEEPER-182</a>
  767. </td>
  768. <td>
  769. zookeeper_init accepts empty host-port string and returns valid pointer to zhandle_t.
  770. </td>
  771. </tr>
  772. <tr>
  773. <td>
  774. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-17">
  775. ZOOKEEPER-17</a>
  776. </td>
  777. <td>
  778. zookeeper_init doc needs clarification
  779. </td>
  780. </tr>
  781. <tr>
  782. <td>
  783. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-181">
  784. ZOOKEEPER-181</a>
  785. </td>
  786. <td>
  787. Some Source Forge Documents did not get moved over: javaExample, zookeeperTutorial, zookeeperInternals
  788. </td>
  789. </tr>
  790. <tr>
  791. <td>
  792. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-180">
  793. ZOOKEEPER-180</a>
  794. </td>
  795. <td>
  796. Placeholder sections needed in document for new topics that the umbrella jira discusses
  797. </td>
  798. </tr>
  799. <tr>
  800. <td>
  801. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-179">
  802. ZOOKEEPER-179</a>
  803. </td>
  804. <td>
  805. Programmer's Guide "Basic Operations" section is missing content
  806. </td>
  807. </tr>
  808. <tr>
  809. <td>
  810. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-178">
  811. ZOOKEEPER-178</a>
  812. </td>
  813. <td>
  814. FLE test.
  815. </td>
  816. </tr>
  817. <tr>
  818. <td>
  819. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-159">
  820. ZOOKEEPER-159</a>
  821. </td>
  822. <td>
  823. Cover two corner cases of leader election
  824. </td>
  825. </tr>
  826. <tr>
  827. <td>
  828. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-156">
  829. ZOOKEEPER-156</a>
  830. </td>
  831. <td>
  832. update programmer guide with acl details from old wiki page
  833. </td>
  834. </tr>
  835. <tr>
  836. <td>
  837. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-154">
  838. ZOOKEEPER-154</a>
  839. </td>
  840. <td>
  841. reliability graph diagram in overview doc needs context
  842. </td>
  843. </tr>
  844. <tr>
  845. <td>
  846. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-157">
  847. ZOOKEEPER-157</a>
  848. </td>
  849. <td>
  850. Peer can't find existing leader
  851. </td>
  852. </tr>
  853. <tr>
  854. <td>
  855. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-155">
  856. ZOOKEEPER-155</a>
  857. </td>
  858. <td>
  859. improve "the zookeeper project" section of overview doc
  860. </td>
  861. </tr>
  862. <tr>
  863. <td>
  864. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-140">
  865. ZOOKEEPER-140</a>
  866. </td>
  867. <td>
  868. Deadlock in QuorumCnxManager
  869. </td>
  870. </tr>
  871. <tr>
  872. <td>
  873. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-147">
  874. ZOOKEEPER-147</a>
  875. </td>
  876. <td>
  877. This is version of the documents with most of the [tbd...] scrubbed out
  878. </td>
  879. </tr>
  880. <tr>
  881. <td>
  882. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-150">
  883. ZOOKEEPER-150</a>
  884. </td>
  885. <td>
  886. zookeeper build broken
  887. </td>
  888. </tr>
  889. <tr>
  890. <td>
  891. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-136">
  892. ZOOKEEPER-136</a>
  893. </td>
  894. <td>
  895. sync causes hang in all followers of quorum.
  896. </td>
  897. </tr>
  898. <tr>
  899. <td>
  900. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-134">
  901. ZOOKEEPER-134</a>
  902. </td>
  903. <td>
  904. findbugs cleanup
  905. </td>
  906. </tr>
  907. <tr>
  908. <td>
  909. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-133">
  910. ZOOKEEPER-133</a>
  911. </td>
  912. <td>
  913. hudson tests failing intermittently
  914. </td>
  915. </tr>
  916. <tr>
  917. <td>
  918. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-144">
  919. ZOOKEEPER-144</a>
  920. </td>
  921. <td>
  922. add tostring support for watcher event, and enums for event type/state
  923. </td>
  924. </tr>
  925. <tr>
  926. <td>
  927. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-21">
  928. ZOOKEEPER-21</a>
  929. </td>
  930. <td>
  931. Improve zk ctor/watcher
  932. </td>
  933. </tr>
  934. <tr>
  935. <td>
  936. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-142">
  937. ZOOKEEPER-142</a>
  938. </td>
  939. <td>
  940. Provide Javadoc as to the maximum size of the data byte array that may be stored within a znode
  941. </td>
  942. </tr>
  943. <tr>
  944. <td>
  945. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-93">
  946. ZOOKEEPER-93</a>
  947. </td>
  948. <td>
  949. Create Documentation for Zookeeper
  950. </td>
  951. </tr>
  952. <tr>
  953. <td>
  954. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-117">
  955. ZOOKEEPER-117</a>
  956. </td>
  957. <td>
  958. threading issues in Leader election
  959. </td>
  960. </tr>
  961. <tr>
  962. <td>
  963. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-137">
  964. ZOOKEEPER-137</a>
  965. </td>
  966. <td>
  967. client watcher objects can lose events
  968. </td>
  969. </tr>
  970. <tr>
  971. <td>
  972. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-131">
  973. ZOOKEEPER-131</a>
  974. </td>
  975. <td>
  976. Old leader election can elect a dead leader over and over again
  977. </td>
  978. </tr>
  979. <tr>
  980. <td>
  981. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-130">
  982. ZOOKEEPER-130</a>
  983. </td>
  984. <td>
  985. update build.xml to support apache release process
  986. </td>
  987. </tr>
  988. <tr>
  989. <td>
  990. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-118">
  991. ZOOKEEPER-118</a>
  992. </td>
  993. <td>
  994. findbugs flagged switch statement in followerrequestprocessor.run
  995. </td>
  996. </tr>
  997. <tr>
  998. <td>
  999. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-115">
  1000. ZOOKEEPER-115</a>
  1001. </td>
  1002. <td>
  1003. Potential NPE in QuorumCnxManager
  1004. </td>
  1005. </tr>
  1006. <tr>
  1007. <td>
  1008. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-114">
  1009. ZOOKEEPER-114</a>
  1010. </td>
  1011. <td>
  1012. cleanup ugly event messages in zookeeper client
  1013. </td>
  1014. </tr>
  1015. <tr>
  1016. <td>
  1017. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-112">
  1018. ZOOKEEPER-112</a>
  1019. </td>
  1020. <td>
  1021. src/java/main ZooKeeper.java has test code embedded into it.
  1022. </td>
  1023. </tr>
  1024. <tr>
  1025. <td>
  1026. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-39">
  1027. ZOOKEEPER-39</a>
  1028. </td>
  1029. <td>
  1030. Use Watcher objects rather than boolean on read operations.
  1031. </td>
  1032. </tr>
  1033. <tr>
  1034. <td>
  1035. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-97">
  1036. ZOOKEEPER-97</a>
  1037. </td>
  1038. <td>
  1039. supports optional output directory in code generator.
  1040. </td>
  1041. </tr>
  1042. <tr>
  1043. <td>
  1044. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-101">
  1045. ZOOKEEPER-101</a>
  1046. </td>
  1047. <td>
  1048. Integrate ZooKeeper with "violations" feature on hudson
  1049. </td>
  1050. </tr>
  1051. <tr>
  1052. <td>
  1053. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-105">
  1054. ZOOKEEPER-105</a>
  1055. </td>
  1056. <td>
  1057. Catch Zookeeper exceptions and print on the stderr.
  1058. </td>
  1059. </tr>
  1060. <tr>
  1061. <td>
  1062. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-42">
  1063. ZOOKEEPER-42</a>
  1064. </td>
  1065. <td>
  1066. Change Leader Election to fast tcp.
  1067. </td>
  1068. </tr>
  1069. <tr>
  1070. <td>
  1071. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-48">
  1072. ZOOKEEPER-48</a>
  1073. </td>
  1074. <td>
  1075. auth_id now handled correctly when no auth ids present
  1076. </td>
  1077. </tr>
  1078. <tr>
  1079. <td>
  1080. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-44">
  1081. ZOOKEEPER-44</a>
  1082. </td>
  1083. <td>
  1084. Create sequence flag children with prefixes of 0's so that they can be lexicographically sorted.
  1085. </td>
  1086. </tr>
  1087. <tr>
  1088. <td>
  1089. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-108">
  1090. ZOOKEEPER-108</a>
  1091. </td>
  1092. <td>
  1093. Fix sync operation reordering on a Quorum.
  1094. </td>
  1095. </tr>
  1096. <tr>
  1097. <td>
  1098. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-25">
  1099. ZOOKEEPER-25</a>
  1100. </td>
  1101. <td>
  1102. Fuse module for Zookeeper.
  1103. </td>
  1104. </tr>
  1105. <tr>
  1106. <td>
  1107. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-58">
  1108. ZOOKEEPER-58</a>
  1109. </td>
  1110. <td>
  1111. Race condition on ClientCnxn.java
  1112. </td>
  1113. </tr>
  1114. <tr>
  1115. <td>
  1116. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-56">
  1117. ZOOKEEPER-56</a>
  1118. </td>
  1119. <td>
  1120. Add clover support to build.xml.
  1121. </td>
  1122. </tr>
  1123. <tr>
  1124. <td>
  1125. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-75">
  1126. ZOOKEEPER-75</a>
  1127. </td>
  1128. <td>
  1129. register the ZooKeeper mailing lists with nabble.com
  1130. </td>
  1131. </tr>
  1132. <tr>
  1133. <td>
  1134. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-54">
  1135. ZOOKEEPER-54</a>
  1136. </td>
  1137. <td>
  1138. remove sleeps in the tests.
  1139. </td>
  1140. </tr>
  1141. <tr>
  1142. <td>
  1143. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-55">
  1144. ZOOKEEPER-55</a>
  1145. </td>
  1146. <td>
  1147. build.xml failes to retrieve a release number from SVN and the ant target "dist" fails
  1148. </td>
  1149. </tr>
  1150. <tr>
  1151. <td>
  1152. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-89">
  1153. ZOOKEEPER-89</a>
  1154. </td>
  1155. <td>
  1156. invoke WhenOwnerListener.whenNotOwner when the ZK connection fails
  1157. </td>
  1158. </tr>
  1159. <tr>
  1160. <td>
  1161. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-90">
  1162. ZOOKEEPER-90</a>
  1163. </td>
  1164. <td>
  1165. invoke WhenOwnerListener.whenNotOwner when the ZK session expires and the znode is the leader
  1166. </td>
  1167. </tr>
  1168. <tr>
  1169. <td>
  1170. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-82">
  1171. ZOOKEEPER-82</a>
  1172. </td>
  1173. <td>
  1174. Make the ZooKeeperServer more DI friendly.
  1175. </td>
  1176. </tr>
  1177. <tr>
  1178. <td>
  1179. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-110">
  1180. ZOOKEEPER-110</a>
  1181. </td>
  1182. <td>
  1183. Build script relies on svnant, which is not compatible with subversion 1.5 working copies
  1184. </td>
  1185. </tr>
  1186. <tr>
  1187. <td>
  1188. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-111">
  1189. ZOOKEEPER-111</a>
  1190. </td>
  1191. <td>
  1192. Significant cleanup of existing tests.
  1193. </td>
  1194. </tr>
  1195. <tr>
  1196. <td>
  1197. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-122">
  1198. ZOOKEEPER-122</a>
  1199. </td>
  1200. <td>
  1201. Fix NPE in jute's Utils.toCSVString.
  1202. </td>
  1203. </tr>
  1204. <tr>
  1205. <td>
  1206. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-123">
  1207. ZOOKEEPER-123</a>
  1208. </td>
  1209. <td>
  1210. Fix the wrong class is specified for the logger.
  1211. </td>
  1212. </tr>
  1213. <tr>
  1214. <td>
  1215. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-2">
  1216. ZOOKEEPER-2</a>
  1217. </td>
  1218. <td>
  1219. Fix synchronization issues in QuorumPeer and FastLeader election.
  1220. </td>
  1221. </tr>
  1222. <tr>
  1223. <td>
  1224. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-125">
  1225. ZOOKEEPER-125</a>
  1226. </td>
  1227. <td>
  1228. Remove unwanted class declaration in FastLeaderElection.
  1229. </td>
  1230. </tr>
  1231. <tr>
  1232. <td>
  1233. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-61">
  1234. ZOOKEEPER-61</a>
  1235. </td>
  1236. <td>
  1237. Address in client/server test cases.
  1238. </td>
  1239. </tr>
  1240. <tr>
  1241. <td>
  1242. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-75">
  1243. ZOOKEEPER-75</a>
  1244. </td>
  1245. <td>
  1246. cleanup the library directory
  1247. </td>
  1248. </tr>
  1249. <tr>
  1250. <td>
  1251. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-109">
  1252. ZOOKEEPER-109</a>
  1253. </td>
  1254. <td>
  1255. cleanup of NPE and Resource issue nits found by static analysis
  1256. </td>
  1257. </tr>
  1258. <tr>
  1259. <td>
  1260. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-76">
  1261. ZOOKEEPER-76</a>
  1262. </td>
  1263. <td>
  1264. Commit 677109 removed the cobertura library, but not the build targets.
  1265. </td>
  1266. </tr>
  1267. <tr>
  1268. <td>
  1269. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-63">
  1270. ZOOKEEPER-63</a>
  1271. </td>
  1272. <td>
  1273. Race condition in client close
  1274. </td>
  1275. </tr>
  1276. <tr>
  1277. <td>
  1278. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-70">
  1279. ZOOKEEPER-70</a>
  1280. </td>
  1281. <td>
  1282. Add skeleton forrest doc structure for ZooKeeper
  1283. </td>
  1284. </tr>
  1285. <tr>
  1286. <td>
  1287. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-79">
  1288. ZOOKEEPER-79</a>
  1289. </td>
  1290. <td>
  1291. Document jacob's leader election on the wiki recipes page
  1292. </td>
  1293. </tr>
  1294. <tr>
  1295. <td>
  1296. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-73">
  1297. ZOOKEEPER-73</a>
  1298. </td>
  1299. <td>
  1300. Move ZK wiki from SourceForge to Apache
  1301. </td>
  1302. </tr>
  1303. <tr>
  1304. <td>
  1305. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-72">
  1306. ZOOKEEPER-72</a>
  1307. </td>
  1308. <td>
  1309. Initial creation/setup of ZooKeeper ASF site.
  1310. </td>
  1311. </tr>
  1312. <tr>
  1313. <td>
  1314. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-71">
  1315. ZOOKEEPER-71</a>
  1316. </td>
  1317. <td>
  1318. Determine what to do re ZooKeeper Changelog
  1319. </td>
  1320. </tr>
  1321. <tr>
  1322. <td>
  1323. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-68">
  1324. ZOOKEEPER-68</a>
  1325. </td>
  1326. <td>
  1327. parseACLs in ZooKeeper.java fails to parse elements of ACL, should be lastIndexOf rather than IndexOf
  1328. </td>
  1329. </tr>
  1330. <tr>
  1331. <td>
  1332. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-130">
  1333. ZOOKEEPER-130</a>
  1334. </td>
  1335. <td>
  1336. update build.xml to support apache release process.
  1337. </td>
  1338. </tr>
  1339. <tr>
  1340. <td>
  1341. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-131">
  1342. ZOOKEEPER-131</a>
  1343. </td>
  1344. <td>
  1345. Fix Old leader election can elect a dead leader over and over again.
  1346. </td>
  1347. </tr>
  1348. <tr>
  1349. <td>
  1350. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-137">
  1351. ZOOKEEPER-137</a>
  1352. </td>
  1353. <td>
  1354. client watcher objects can lose events
  1355. </td>
  1356. </tr>
  1357. <tr>
  1358. <td>
  1359. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-117">
  1360. ZOOKEEPER-117</a>
  1361. </td>
  1362. <td>
  1363. threading issues in Leader election
  1364. </td>
  1365. </tr>
  1366. <tr>
  1367. <td>
  1368. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-128">
  1369. ZOOKEEPER-128</a>
  1370. </td>
  1371. <td>
  1372. test coverage on async client operations needs to be improved
  1373. </td>
  1374. </tr>
  1375. <tr>
  1376. <td>
  1377. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-127">
  1378. ZOOKEEPER-127</a>
  1379. </td>
  1380. <td>
  1381. Use of non-standard election ports in config breaks services
  1382. </td>
  1383. </tr>
  1384. <tr>
  1385. <td>
  1386. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-53">
  1387. ZOOKEEPER-53</a>
  1388. </td>
  1389. <td>
  1390. tests failing on solaris.
  1391. </td>
  1392. </tr>
  1393. <tr>
  1394. <td>
  1395. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-172">
  1396. ZOOKEEPER-172</a>
  1397. </td>
  1398. <td>
  1399. FLE Test
  1400. </td>
  1401. </tr>
  1402. <tr>
  1403. <td>
  1404. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-41">
  1405. ZOOKEEPER-41</a>
  1406. </td>
  1407. <td>
  1408. Sample startup script
  1409. </td>
  1410. </tr>
  1411. <tr>
  1412. <td>
  1413. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-33">
  1414. ZOOKEEPER-33</a>
  1415. </td>
  1416. <td>
  1417. Better ACL management
  1418. </td>
  1419. </tr>
  1420. <tr>
  1421. <td>
  1422. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-49">
  1423. ZOOKEEPER-49</a>
  1424. </td>
  1425. <td>
  1426. SetACL does not work
  1427. </td>
  1428. </tr>
  1429. <tr>
  1430. <td>
  1431. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-20">
  1432. ZOOKEEPER-20</a>
  1433. </td>
  1434. <td>
  1435. Child watches are not triggered when the node is deleted
  1436. </td>
  1437. </tr>
  1438. <tr>
  1439. <td>
  1440. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-15">
  1441. ZOOKEEPER-15</a>
  1442. </td>
  1443. <td>
  1444. handle failure better in build.xml:test
  1445. </td>
  1446. </tr>
  1447. <tr>
  1448. <td>
  1449. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-11">
  1450. ZOOKEEPER-11</a>
  1451. </td>
  1452. <td>
  1453. ArrayList is used instead of List
  1454. </td>
  1455. </tr>
  1456. <tr>
  1457. <td>
  1458. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-45">
  1459. ZOOKEEPER-45</a>
  1460. </td>
  1461. <td>
  1462. Restructure the SVN repository after initial import
  1463. </td>
  1464. </tr>
  1465. <tr>
  1466. <td>
  1467. <a href="https://issues.apache.org/jira/browse/ZOOKEEPER-1">
  1468. ZOOKEEPER-1</a>
  1469. </td>
  1470. <td>
  1471. Initial ZooKeeper code contribution from Yahoo!
  1472. </td>
  1473. </tr>
  1474. </table>
  1475. </div>
  1476. <p align="right">
  1477. <font size="-2"></font>
  1478. </p>
  1479. </div>
  1480. <!--+
  1481. |end content
  1482. +-->
  1483. <div class="clearboth">&nbsp;</div>
  1484. </div>
  1485. <div id="footer">
  1486. <!--+
  1487. |start bottomstrip
  1488. +-->
  1489. <div class="lastmodified">
  1490. <script type="text/javascript"><!--
  1491. document.write("Last Published: " + document.lastModified);
  1492. // --></script>
  1493. </div>
  1494. <div class="copyright">
  1495. Copyright &copy;
  1496. 2008 <a href="http://www.apache.org/licenses/">The Apache Software Foundation.</a>
  1497. </div>
  1498. <!--+
  1499. |end bottomstrip
  1500. +-->
  1501. </div>
  1502. </body>
  1503. </html>