releasenotes.html 37 KB

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