releasenotes.html 37 KB

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