CHANGES.txt 19 KB

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