CHANGES.txt 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441
  1. Hadoop Change Log
  2. Trunk (unreleased changes)
  3. 1. HADOOP-298. Improved progress reports for CopyFiles utility, the
  4. distributed file copier. (omalley via cutting)
  5. 2. HADOOP-299. Fix the task tracker, permitting multiple jobs to
  6. more easily execute at the same time. (omalley via cutting)
  7. 3. HADOOP-250. Add an HTTP user interface to the namenode, running
  8. on port 50070. (Devaraj Das via cutting)
  9. 4. HADOOP-123. Add MapReduce unit tests that run a jobtracker and
  10. tasktracker, greatly increasing code coverage.
  11. (Milind Bhandarkar via cutting)
  12. 5. HADOOP-271. Add links from jobtracker's web ui to tasktracker's
  13. web ui. Also attempt to log a thread dump of child processes
  14. before they're killed. (omalley via cutting)
  15. 6. HADOOP-210. Change RPC server to use a selector instead of a
  16. thread per connection. This should make it easier to scale to
  17. larger clusters. Note that this incompatibly changes the RPC
  18. protocol: clients and servers must both be upgraded to the new
  19. version to ensure correct operation. (Devaraj Das via cutting)
  20. 7. HADOOP-311. Change DFS client to retry failed reads, so that a
  21. single read failure will not alone cause failure of a task.
  22. (omalley via cutting)
  23. 8. HADOOP-314. Remove the "append" phase when reducing. Map output
  24. files are now directly passed to the sorter, without first
  25. appending them into a single file. Now, the first third of reduce
  26. progress is "copy" (transferring map output to reduce nodes), the
  27. middle third is "sort" (sorting map output) and the last third is
  28. "reduce" (generating output). Long-term, the "sort" phase will
  29. also be removed. (omalley via cutting)
  30. 9. HADOOP-316. Fix a potential deadlock in the jobtracker.
  31. (omalley via cutting)
  32. 10. HADOOP-319. Fix FileSystem.close() to remove the FileSystem
  33. instance from the cache. (Hairong Kuang via cutting)
  34. 11. HADOOP-135. Fix potential deadlock in JobTracker by acquiring
  35. locks in a consistent order. (omalley via cutting)
  36. 12. HADOOP-278. Check for existence of input directories before
  37. starting MapReduce jobs, making it easier to debug this common
  38. error. (omalley via cutting)
  39. 13. HADOOP-304. Improve error message for
  40. UnregisterdDatanodeException to include expected node name.
  41. (Konstantin Shvachko via cutting)
  42. 14. HADOOP-305. Fix TaskTracker to ask for new tasks as soon as a
  43. task is finished, rather than waiting for the next heartbeat.
  44. This improves performance when tasks are short.
  45. (Mahadev Konar via cutting)
  46. Release 0.3.2 - 2006-06-09
  47. 1. HADOOP-275. Update the streaming contrib module to use log4j for
  48. its logging. (Michel Tourn via cutting)
  49. 2. HADOOP-279. Provide defaults for log4j logging parameters, so
  50. that things still work reasonably when Hadoop-specific system
  51. properties are not provided. (omalley via cutting)
  52. 3. HADOOP-280. Fix a typo in AllTestDriver which caused the wrong
  53. test to be run when "DistributedFSCheck" was specified.
  54. (Konstantin Shvachko via cutting)
  55. 4. HADOOP-240. DFS's mkdirs() implementation no longer logs a warning
  56. when the directory already exists. (Hairong Kuang via cutting)
  57. 5. HADOOP-285. Fix DFS datanodes to be able to re-join the cluster
  58. after the connection to the namenode is lost. (omalley via cutting)
  59. 6. HADOOP-277. Fix a race condition when creating directories.
  60. (Sameer Paranjpye via cutting)
  61. 7. HADOOP-289. Improved exception handling in DFS datanode.
  62. (Konstantin Shvachko via cutting)
  63. 8. HADOOP-292. Fix client-side logging to go to standard error
  64. rather than standard output, so that it can be distinguished from
  65. application output. (omalley via cutting)
  66. 9. HADOOP-294. Fixed bug where conditions for retrying after errors
  67. in the DFS client were reversed. (omalley via cutting)
  68. Release 0.3.1 - 2006-06-05
  69. 1. HADOOP-272. Fix a bug in bin/hadoop setting log
  70. parameters. (omalley & cutting)
  71. 2. HADOOP-274. Change applications to log to standard output rather
  72. than to a rolling log file like daemons. (omalley via cutting)
  73. 3. HADOOP-262. Fix reduce tasks to report progress while they're
  74. waiting for map outputs, so that they do not time out.
  75. (Mahadev Konar via cutting)
  76. 4. HADOOP-245 and HADOOP-246. Improvements to record io package.
  77. (Mahadev Konar via cutting)
  78. 5. HADOOP-276. Add logging config files to jar file so that they're
  79. always found. (omalley via cutting)
  80. Release 0.3.0 - 2006-06-02
  81. 1. HADOOP-208. Enhance MapReduce web interface, adding new pages
  82. for failed tasks, and tasktrackers. (omalley via cutting)
  83. 2. HADOOP-204. Tweaks to metrics package. (David Bowen via cutting)
  84. 3. HADOOP-209. Add a MapReduce-based file copier. This will
  85. copy files within or between file systems in parallel.
  86. (Milind Bhandarkar via cutting)
  87. 4. HADOOP-146. Fix DFS to check when randomly generating a new block
  88. id that no existing blocks already have that id.
  89. (Milind Bhandarkar via cutting)
  90. 5. HADOOP-180. Make a daemon thread that does the actual task clean ups, so
  91. that the main offerService thread in the taskTracker doesn't get stuck
  92. and miss his heartbeat window. This was killing many task trackers as
  93. big jobs finished (300+ tasks / node). (omalley via cutting)
  94. 6. HADOOP-200. Avoid transmitting entire list of map task names to
  95. reduce tasks. Instead just transmit the number of map tasks and
  96. henceforth refer to them by number when collecting map output.
  97. (omalley via cutting)
  98. 7. HADOOP-219. Fix a NullPointerException when handling a checksum
  99. exception under SequenceFile.Sorter.sort(). (cutting & stack)
  100. 8. HADOOP-212. Permit alteration of the file block size in DFS. The
  101. default block size for new files may now be specified in the
  102. configuration with the dfs.block.size property. The block size
  103. may also be specified when files are opened.
  104. (omalley via cutting)
  105. 9. HADOOP-218. Avoid accessing configuration while looping through
  106. tasks in JobTracker. (Mahadev Konar via cutting)
  107. 10. HADOOP-161. Add hashCode() method to DFS's Block.
  108. (Milind Bhandarkar via cutting)
  109. 11. HADOOP-115. Map output types may now be specified. These are also
  110. used as reduce input types, thus permitting reduce input types to
  111. differ from reduce output types. (Runping Qi via cutting)
  112. 12. HADOOP-216. Add task progress to task status page.
  113. (Bryan Pendelton via cutting)
  114. 13. HADOOP-233. Add web server to task tracker that shows running
  115. tasks and logs. Also add log access to job tracker web interface.
  116. (omalley via cutting)
  117. 14. HADOOP-205. Incorporate pending tasks into tasktracker load
  118. calculations. (Mahadev Konar via cutting)
  119. 15. HADOOP-247. Fix sort progress to better handle exceptions.
  120. (Mahadev Konar via cutting)
  121. 16. HADOOP-195. Improve performance of the transfer of map outputs to
  122. reduce nodes by performing multiple transfers in parallel, each on
  123. a separate socket. (Sameer Paranjpye via cutting)
  124. 17. HADOOP-251. Fix task processes to be tolerant of failed progress
  125. reports to their parent process. (omalley via cutting)
  126. 18. HADOOP-325. Improve the FileNotFound exceptions thrown by
  127. LocalFileSystem to include the name of the file.
  128. (Benjamin Reed via cutting)
  129. 19. HADOOP-254. Use HTTP to transfer map output data to reduce
  130. nodes. This, together with HADOOP-195, greatly improves the
  131. performance of these transfers. (omalley via cutting)
  132. 20. HADOOP-163. Cause datanodes that\ are unable to either read or
  133. write data to exit, so that the namenode will no longer target
  134. them for new blocks and will replicate their data on other nodes.
  135. (Hairong Kuang via cutting)
  136. 21. HADOOP-222. Add a -setrep option to the dfs commands that alters
  137. file replication levels. (Johan Oskarson via cutting)
  138. 22. HADOOP-75. In DFS, only check for a complete file when the file
  139. is closed, rather than as each block is written.
  140. (Milind Bhandarkar via cutting)
  141. 23. HADOOP-124. Change DFS so that datanodes are identified by a
  142. persistent ID rather than by host and port. This solves a number
  143. of filesystem integrity problems, when, e.g., datanodes are
  144. restarted. (Konstantin Shvachko via cutting)
  145. 24. HADOOP-256. Add a C API for DFS. (Arun C Murthy via cutting)
  146. 25. HADOOP-211. Switch to use the Jakarta Commons logging internally,
  147. configured to use log4j by default. (Arun C Murthy and cutting)
  148. 26. HADOOP-265. Tasktracker now fails to start if it does not have a
  149. writable local directory for temporary files. In this case, it
  150. logs a message to the JobTracker and exits. (Hairong Kuang via cutting)
  151. 27. HADOOP-270. Fix potential deadlock in datanode shutdown.
  152. (Hairong Kuang via cutting)
  153. Release 0.2.1 - 2006-05-12
  154. 1. HADOOP-199. Fix reduce progress (broken by HADOOP-182).
  155. (omalley via cutting)
  156. 2. HADOOP-201. Fix 'bin/hadoop dfs -report'. (cutting)
  157. 3. HADOOP-207. Fix JDK 1.4 incompatibility introduced by HADOOP-96.
  158. System.getenv() does not work in JDK 1.4. (Hairong Kuang via cutting)
  159. Release 0.2.0 - 2006-05-05
  160. 1. Fix HADOOP-126. 'bin/hadoop dfs -cp' now correctly copies .crc
  161. files. (Konstantin Shvachko via cutting)
  162. 2. Fix HADOOP-51. Change DFS to support per-file replication counts.
  163. (Konstantin Shvachko via cutting)
  164. 3. Fix HADOOP-131. Add scripts to start/stop dfs and mapred daemons.
  165. Use these in start/stop-all scripts. (Chris Mattmann via cutting)
  166. 4. Stop using ssh options by default that are not yet in widely used
  167. versions of ssh. Folks can still enable their use by uncommenting
  168. a line in conf/hadoop-env.sh. (cutting)
  169. 5. Fix HADOOP-92. Show information about all attempts to run each
  170. task in the web ui. (Mahadev konar via cutting)
  171. 6. Fix HADOOP-128. Improved DFS error handling. (Owen O'Malley via cutting)
  172. 7. Fix HADOOP-129. Replace uses of java.io.File with new class named
  173. Path. This fixes bugs where java.io.File methods were called
  174. directly when FileSystem methods were desired, and reduces the
  175. likelihood of such bugs in the future. It also makes the handling
  176. of pathnames more consistent between local and dfs FileSystems and
  177. between Windows and Unix. java.io.File-based methods are still
  178. available for back-compatibility, but are deprecated and will be
  179. removed once 0.2 is released. (cutting)
  180. 8. Change dfs.data.dir and mapred.local.dir to be comma-separated
  181. lists of directories, no longer be space-separated. This fixes
  182. several bugs on Windows. (cutting)
  183. 9. Fix HADOOP-144. Use mapred task id for dfs client id, to
  184. facilitate debugging. (omalley via cutting)
  185. 10. Fix HADOOP-143. Do not line-wrap stack-traces in web ui.
  186. (omalley via cutting)
  187. 11. Fix HADOOP-118. In DFS, improve clean up of abandoned file
  188. creations. (omalley via cutting)
  189. 12. Fix HADOOP-138. Stop multiple tasks in a single heartbeat, rather
  190. than one per heartbeat. (Stefan via cutting)
  191. 13. Fix HADOOP-139. Remove a potential deadlock in
  192. LocalFileSystem.lock(). (Igor Bolotin via cutting)
  193. 14. Fix HADOOP-134. Don't hang jobs when the tasktracker is
  194. misconfigured to use an un-writable local directory. (omalley via cutting)
  195. 15. Fix HADOOP-115. Correct an error message. (Stack via cutting)
  196. 16. Fix HADOOP-133. Retry pings from child to parent, in case of
  197. (local) communcation problems. Also log exit status, so that one
  198. can distinguish patricide from other deaths. (omalley via cutting)
  199. 17. Fix HADOOP-142. Avoid re-running a task on a host where it has
  200. previously failed. (omalley via cutting)
  201. 18. Fix HADOOP-148. Maintain a task failure count for each
  202. tasktracker and display it in the web ui. (omalley via cutting)
  203. 19. Fix HADOOP-151. Close a potential socket leak, where new IPC
  204. connection pools were created per configuration instance that RPCs
  205. use. Now a global RPC connection pool is used again, as
  206. originally intended. (cutting)
  207. 20. Fix HADOOP-69. Don't throw a NullPointerException when getting
  208. hints for non-existing file split. (Bryan Pendelton via cutting)
  209. 21. Fix HADOOP-157. When a task that writes dfs files (e.g., a reduce
  210. task) failed and was retried, it would fail again and again,
  211. eventually failing the job. The problem was that dfs did not yet
  212. know that the failed task had abandoned the files, and would not
  213. yet let another task create files with the same names. Dfs now
  214. retries when creating a file long enough for locks on abandoned
  215. files to expire. (omalley via cutting)
  216. 22. Fix HADOOP-150. Improved task names that include job
  217. names. (omalley via cutting)
  218. 23. Fix HADOOP-162. Fix ConcurrentModificationException when
  219. releasing file locks. (omalley via cutting)
  220. 24. Fix HADOOP-132. Initial check-in of new Metrics API, including
  221. implementations for writing metric data to a file and for sending
  222. it to Ganglia. (David Bowen via cutting)
  223. 25. Fix HADOOP-160. Remove some uneeded synchronization around
  224. time-consuming operations in the TaskTracker. (omalley via cutting)
  225. 26. Fix HADOOP-166. RPCs failed when passed subclasses of a declared
  226. parameter type. This is fixed by changing ObjectWritable to store
  227. both the declared type and the instance type for Writables. Note
  228. that this incompatibly changes the format of ObjectWritable and
  229. will render unreadable any ObjectWritables stored in files.
  230. Nutch only uses ObjectWritable in intermediate files, so this
  231. should not be a problem for Nutch. (Stefan & cutting)
  232. 27. Fix HADOOP-168. MapReduce RPC protocol methods should all declare
  233. IOException, so that timeouts are handled appropriately.
  234. (omalley via cutting)
  235. 28. Fix HADOOP-169. Don't fail a reduce task if a call to the
  236. jobtracker to locate map outputs fails. (omalley via cutting)
  237. 29. Fix HADOOP-170. Permit FileSystem clients to examine and modify
  238. the replication count of individual files. Also fix a few
  239. replication-related bugs. (Konstantin Shvachko via cutting)
  240. 30. Permit specification of a higher replication levels for job
  241. submission files (job.xml and job.jar). This helps with large
  242. clusters, since these files are read by every node. (cutting)
  243. 31. HADOOP-173. Optimize allocation of tasks with local data. (cutting)
  244. 32. HADOOP-167. Reduce number of Configurations and JobConf's
  245. created. (omalley via cutting)
  246. 33. NUTCH-256. Change FileSystem#createNewFile() to create a .crc
  247. file. The lack of a .crc file was causing warnings. (cutting)
  248. 34. HADOOP-174. Change JobClient to not abort job until it has failed
  249. to contact the job tracker for five attempts, not just one as
  250. before. (omalley via cutting)
  251. 35. HADOOP-177. Change MapReduce web interface to page through tasks.
  252. Previously, when jobs had more than a few thousand tasks they
  253. could crash web browsers. (Mahadev Konar via cutting)
  254. 36. HADOOP-178. In DFS, piggyback blockwork requests from datanodes
  255. on heartbeat responses from namenode. This reduces the volume of
  256. RPC traffic. Also move startup delay in blockwork from datanode
  257. to namenode. This fixes a problem where restarting the namenode
  258. triggered a lot of uneeded replication. (Hairong Kuang via cutting)
  259. 37. HADOOP-183. If the DFS namenode is restarted with different
  260. minimum and/or maximum replication counts, existing files'
  261. replication counts are now automatically adjusted to be within the
  262. newly configured bounds. (Hairong Kuang via cutting)
  263. 38. HADOOP-186. Better error handling in TaskTracker's top-level
  264. loop. Also improve calculation of time to send next heartbeat.
  265. (omalley via cutting)
  266. 39. HADOOP-187. Add two MapReduce examples/benchmarks. One creates
  267. files containing random data. The second sorts the output of the
  268. first. (omalley via cutting)
  269. 40. HADOOP-185. Fix so that, when a task tracker times out making the
  270. RPC asking for a new task to run, the job tracker does not think
  271. that it is actually running the task returned. (omalley via cutting)
  272. 41. HADOOP-190. If a child process hangs after it has reported
  273. completion, its output should not be lost. (Stack via cutting)
  274. 42. HADOOP-184. Re-structure some test code to better support testing
  275. on a cluster. (Mahadev Konar via cutting)
  276. 43. HADOOP-191 Add streaming package, Hadoop's first contrib module.
  277. This permits folks to easily submit MapReduce jobs whose map and
  278. reduce functions are implemented by shell commands. Use
  279. 'bin/hadoop jar build/hadoop-streaming.jar' to get details.
  280. (Michel Tourn via cutting)
  281. 44. HADOOP-189. Fix MapReduce in standalone configuration to
  282. correctly handle job jar files that contain a lib directory with
  283. nested jar files. (cutting)
  284. 45. HADOOP-65. Initial version of record I/O framework that enables
  285. the specification of record types and generates marshalling code
  286. in both Java and C++. Generated Java code implements
  287. WritableComparable, but is not yet otherwise used by
  288. Hadoop. (Milind Bhandarkar via cutting)
  289. 46. HADOOP-193. Add a MapReduce-based FileSystem benchmark.
  290. (Konstantin Shvachko via cutting)
  291. 47. HADOOP-194. Add a MapReduce-based FileSystem checker. This reads
  292. every block in every file in the filesystem. (Konstantin Shvachko
  293. via cutting)
  294. 48. HADOOP-182. Fix so that lost task trackers to not change the
  295. status of reduce tasks or completed jobs. Also fixes the progress
  296. meter so that failed tasks are subtracted. (omalley via cutting)
  297. 49. HADOOP-96. Logging improvements. Log files are now separate from
  298. standard output and standard error files. Logs are now rolled.
  299. Logging of all DFS state changes can be enabled, to facilitate
  300. debugging. (Hairong Kuang via cutting)
  301. Release 0.1.1 - 2006-04-08
  302. 1. Added CHANGES.txt, logging all significant changes to Hadoop. (cutting)
  303. 2. Fix MapReduceBase.close() to throw IOException, as declared in the
  304. Closeable interface. This permits subclasses which override this
  305. method to throw that exception. (cutting)
  306. 3. Fix HADOOP-117. Pathnames were mistakenly transposed in
  307. JobConf.getLocalFile() causing many mapred temporary files to not
  308. be removed. (Raghavendra Prabhu via cutting)
  309. 4. Fix HADOOP-116. Clean up job submission files when jobs complete.
  310. (cutting)
  311. 5. Fix HADOOP-125. Fix handling of absolute paths on Windows (cutting)
  312. Release 0.1.0 - 2006-04-01
  313. 1. The first release of Hadoop.