CHANGES.txt 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478
  1. Hadoop HDFS Change Log
  2. Trunk (unreleased changes)
  3. INCOMPATIBLE CHANGES
  4. NEW FEATURES
  5. HDFS-503. This patch implements an optional layer over HDFS that
  6. implements offline erasure-coding. It can be used to reduce the
  7. total storage requirements of HDFS. (dhruba)
  8. IMPROVEMENTS
  9. HDFS-704. Unify build property names to facilitate cross-projects
  10. modifications (cos)
  11. OPTIMIZATIONS
  12. BUG FIXES
  13. HDFS-646. Fix test-patch failure by adding test-contrib ant target.
  14. (gkesavan)
  15. HDFS-695. RaidNode should read in configuration from hdfs-site.xml.
  16. (dhruba)
  17. HDFS-726. Eclipse .classpath template has outdated jar files and is
  18. missing some new ones. (cos)
  19. Release 0.21.0 - Unreleased
  20. INCOMPATIBLE CHANGES
  21. HDFS-538. Per the contract elucidated in HADOOP-6201, throw
  22. FileNotFoundException from FileSystem::listStatus rather than returning
  23. null. (Jakob Homan via cdouglas)
  24. HDFS-602. DistributedFileSystem mkdirs throws FileAlreadyExistsException
  25. instead of FileNotFoundException. (Boris Shkolnik via suresh)
  26. HDFS-544. Add a "rbw" subdir to DataNode data directory. (hairong)
  27. HDFS-576. Block report includes under-construction replicas. (shv)
  28. HDFS-636. SafeMode counts complete blocks only. (shv)
  29. HDFS-644. Lease recovery, concurrency support. (shv)
  30. HDFS-570. Get last block length from a data-node when opening a file
  31. being written to. (Tsz Wo (Nicholas), SZE via shv)
  32. HDFS-657. Remove unused legacy data-node protocol methods. (shv)
  33. HDFS-658. Block recovery for primary data-node. (shv)
  34. HDFS-660. Remove deprecated methods from InterDatanodeProtocol. (shv)
  35. NEW FEATURES
  36. HDFS-436. Introduce AspectJ framework for HDFS code and tests.
  37. (Konstantin Boudnik via szetszwo)
  38. HDFS-447. Add LDAP lookup to hdfsproxy. (Zhiyong Zhang via cdouglas)
  39. HDFS-459. Introduce Job History Log Analyzer. (shv)
  40. HDFS-461. Tool to analyze file size distribution in HDFS. (shv)
  41. HDFS-492. Add two JSON JSP pages to the Namenode for providing corrupt
  42. blocks/replicas information. (Bill Zeller via szetszwo)
  43. HDFS-578. Add support for new FileSystem method for clients to get server
  44. defaults. (Kan Zhang via suresh)
  45. HDFS-595. umask settings in configuration may now use octal or symbolic
  46. instead of decimal. (Jakob Homan via suresh)
  47. HADOOP-6234. Updated hadoop-core and test jars to propagate new option
  48. dfs.umaskmode in configuration. (Jakob Homan via suresh)
  49. HDFS-235. Add support for byte ranges in HftpFileSystem to serve
  50. range of bytes from a file. (Bill Zeller via suresh)
  51. HDFS-385. Add support for an experimental API that allows a module external
  52. to HDFS to specify how HDFS blocks should be placed. (dhruba)
  53. HADOOP-4952. Update hadoop-core and test jars to propagate new FileContext
  54. file system application interface. (Sanjay Radia via suresh).
  55. HDFS-567. Add block forensics contrib tool to print history of corrupt and
  56. missing blocks from the HDFS logs.
  57. (Bill Zeller, Jitendra Nath Pandey via suresh).
  58. HDFS-610. Support o.a.h.fs.FileContext. (Sanjay Radia via szetszwo)
  59. HDFS-536. Support hflush at DFSClient. (hairong)
  60. HDFS-517. Introduce BlockInfoUnderConstruction to reflect block replica
  61. states while writing. (shv)
  62. HDFS-565. Introduce block committing logic during new block allocation
  63. and file close. (shv)
  64. HDFS-537. DataNode exposes a replica's meta info to BlockReceiver for the
  65. support of dfs writes/hflush. It also updates a replica's bytes received,
  66. bytes on disk, and bytes acked after receiving a packet. (hairong)
  67. HDFS-585. Datanode should serve up to visible length of a replica for read
  68. requests. (szetszwo)
  69. HDFS-604. Block report processing for append. (shv)
  70. HDFS-619. Support replica recovery initialization in datanode for the new
  71. append design. (szetszwo)
  72. HDFS-592. Allow clients to fetch a new generation stamp from NameNode for
  73. pipeline recovery. (hairong)
  74. HDFS-624. Support a new algorithm for pipeline recovery and pipeline setup
  75. for append. (hairong)
  76. HDFS-627. Support replica update in data-node.
  77. (Tsz Wo (Nicholas), SZE and Hairong Kuang via shv)
  78. HDFS-642. Support pipeline close and close error recovery. (hairong)
  79. HDFS-631. Rename configuration keys towards API standardization and
  80. backward compatibility. (Jitendra Nath Pandey via suresh)
  81. IMPROVEMENTS
  82. HDFS-381. Remove blocks from DataNode maps when corresponding file
  83. is deleted. (Suresh Srinivas via rangadi)
  84. HDFS-377. Separate codes which implement DataTransferProtocol.
  85. (szetszwo)
  86. HDFS-396. NameNode image and edits directories are specified as URIs.
  87. (Luca Telloli via rangadi)
  88. HDFS-444. Allow to change probability levels dynamically in the fault
  89. injection framework. (Konstantin Boudnik via szetszwo)
  90. HDFS-352. Documentation for saveNamespace command. (Ravi Phulari via shv)
  91. HADOOP-6106. Updated hadoop-core and test jars from hudson trunk
  92. build #12. (Giridharan Kesavan)
  93. HDFS-204. Add a new metrics FilesInGetListingOps to the Namenode.
  94. (Jitendra Nath Pandey via szetszwo)
  95. HDFS-278. HDFS Outputstream close does not hang forever. (dhruba)
  96. HDFS-443. Add a new metrics numExpiredHeartbeats to the Namenode.
  97. (Jitendra Nath Pandey via szetszwo)
  98. HDFS-475. Add new ant targets for fault injection jars and tests.
  99. (Konstantin Boudnik via szetszwo)
  100. HDFS-458. Create a new ant target, run-commit-test. (Jakob Homan
  101. via szetszwo)
  102. HDFS-493. Change build.xml so that the fault-injected tests are executed
  103. only by the run-test-*-fault-inject targets. (Konstantin Boudnik via
  104. szetszwo)
  105. HDFS-446. Improvements to Offline Image Viewer. (Jakob Homan via shv)
  106. HADOOP-6160. Fix releaseaudit target to run on specific directories.
  107. (gkesavan)
  108. HDFS-501. Use enum to define the constants in DataTransferProtocol.
  109. (szetszwo)
  110. HDFS-508. Factor out BlockInfo from BlocksMap. (shv)
  111. HDFS-510. Rename DatanodeBlockInfo to be ReplicaInfo.
  112. (Jakob Homan & Hairong Kuang via shv)
  113. HDFS-500. Deprecate NameNode methods deprecated in NameNodeProtocol.
  114. (Jakob Homan via shv)
  115. HDFS-514. Change DFSClient.namenode from public to private. (Bill Zeller
  116. via szetszwo)
  117. HDFS-496. Use PureJavaCrc32 in HDFS. (Todd Lipcon via szetszwo)
  118. HDFS-511. Remove redundant block searches in BlockManager. (shv)
  119. HDFS-504. Update the modification time of a file when the file
  120. is closed. (Chun Zhang via dhruba)
  121. HDFS-498. Add development guide and documentation for the fault injection
  122. framework. (Konstantin Boudnik via szetszwo)
  123. HDFS-524. Further DataTransferProtocol code refactoring. (szetszwo)
  124. HDFS-529. Use BlockInfo instead of Block to avoid redundant block searches
  125. in BlockManager. (shv)
  126. HDFS-530. Refactor TestFileAppend* to remove code duplication.
  127. (Konstantin Boudnik via szetszwo)
  128. HDFS-451. Add fault injection tests for DataTransferProtocol. (szetszwo)
  129. HDFS-409. Add more access token tests. (Kan Zhang via szetszwo)
  130. HDFS-546. DatanodeDescriptor iterates blocks as BlockInfo. (shv)
  131. HDFS-457. Do not shutdown datanode if some, but not all, volumes fail.
  132. (Boris Shkolnik via szetszwo)
  133. HDFS-548. TestFsck takes nearly 10 minutes to run. (hairong)
  134. HDFS-539. Refactor fault injeciton pipeline test util for future reuse.
  135. (Konstantin Boudnik via szetszwo)
  136. HDFS-552. Change TestFiDataTransferProtocol to junit 4 and add a few new
  137. tests. (szetszwo)
  138. HDFS-563. Simplify the codes in FSNamesystem.getBlockLocations(..).
  139. (szetszwo)
  140. HDFS-581. Introduce an iterator over blocks in the block report array. (shv)
  141. HDFS-549. Add a new target, run-with-fault-inject-testcaseonly, which
  142. allows an execution of non-FI tests in FI-enable environment. (Konstantin
  143. Boudnik via szetszwo)
  144. HDFS-173. Namenode will not block until a large directory deletion completes.
  145. It allows other operations when the deletion is in progress. (suresh)
  146. HDFS-551. Create new functional test for a block report. (Konstantin
  147. Boudnik via hairong)
  148. HDFS-288. Redundant computation in hashCode() implementation.
  149. (szetszwo via tomwhite)
  150. HDFS-412. Hadoop JMX usage makes Nagios monitoring impossible.
  151. (Brian Bockelman via tomwhite)
  152. HDFS-472. Update hdfsproxy documentation. Adds a setup guide and design
  153. document. (Zhiyong Zhang via cdouglas)
  154. HDFS-617. Support non-recursive create(). (Kan Zhang via szetszwo)
  155. HDFS-618. Support non-recursive mkdir(). (Kan Zhang via szetszwo)
  156. HDFS-574. Split the documentation between the subprojects.
  157. (Corinne Chandel via omalley)
  158. HDFS-598. Eclipse launch task for HDFS. (Eli Collins via tomwhite)
  159. HDFS-641. Move all of the components that depend on map/reduce to
  160. map/reduce. (omalley)
  161. HDFS-509. Redesign DataNode volumeMap to include all types of Replicas.
  162. (hairong)
  163. HDFS-562. Add a test for NameNode.getBlockLocations(..) to check read from
  164. un-closed file. (szetszwo)
  165. HDFS-543. Break FSDatasetInterface#writToBlock() into writeToRemporary,
  166. writeToRBW, ad append. (hairong)
  167. HDFS-603. Add a new interface, Replica, which is going to replace the use
  168. of Block in datanode. (szetszwo)
  169. HDFS-589. Change block write protocol to support pipeline recovery.
  170. (hairong)
  171. HDFS-652. Replace BlockInfo.isUnderConstruction() with isComplete() (shv)
  172. HDFS-648. Change some methods in AppendTestUtil to public. (Konstantin
  173. Boudnik via szetszwo)
  174. HDFS-662. Unnecessary info message from DFSClient. (hairong)
  175. HDFS-518. Create new tests for Append's hflush. (Konstantin Boudnik
  176. via szetszwo)
  177. HDFS-688. Add configuration resources to DFSAdmin. (shv)
  178. HDFS-29. Validate the consistency of the lengths of replica and its file
  179. in replica recovery. (szetszwo)
  180. HDFS-680. Add new access method to a copy of a block's replica. (shv)
  181. HDFS-705. Create an adapter to access some of package-private methods of
  182. DataNode from tests (cos)
  183. HDFS-710. Add actions with constraints to the pipeline fault injection
  184. tests and change SleepAction to support uniform random sleeping over an
  185. interval. (szetszwo)
  186. HDFS-713. Need to properly check the type of the test class from an aspect
  187. (cos)
  188. HDFS-716. Define a pointcut for pipeline close and add a few fault
  189. injection tests to simulate out of memory problem. (szetszwo)
  190. HDFS-719. Add 6 fault injection tests for pipeline close to simulate slow
  191. datanodes and disk errors. (szetszwo)
  192. BUG FIXES
  193. HDFS-76. Better error message to users when commands fail because of
  194. lack of quota. Allow quota to be set even if the limit is lower than
  195. current consumption. (Boris Shkolnik via rangadi)
  196. HADOOP-4687. HDFS is split from Hadoop Core. It is a subproject under
  197. Hadoop (Owen O'Malley)
  198. HADOOP-6096. Fix Eclipse project and classpath files following project
  199. split. (tomwhite)
  200. HDFS-195. Handle expired tokens when write pipeline is reestablished.
  201. (Kan Zhang via rangadi)
  202. HDFS-181. Validate src path in FSNamesystem.getFileInfo(..). (Todd
  203. Lipcon via szetszwo)
  204. HDFS-441. Remove TestFTPFileSystem. (szetszwo)
  205. HDFS-440. Fix javadoc broken links in DFSClient. (szetszwo)
  206. HDFS-480. Fix a typo in the jar name in build.xml.
  207. (Konstantin Shvachko via gkesavan)
  208. HDFS-438. Check for NULL before invoking GenericArgumentParser in
  209. DataNode. (Raghu Angadi)
  210. HDFS-415. BlockReceiver hangs in case of certain runtime exceptions.
  211. (Konstantin Boudnik via rangadi)
  212. HDFS-462. loadFSImage should close edits file. (Jakob Homan via shv)
  213. HDFS-489. Update TestHDFSCLI for the -skipTrash option in rm. (Jakob Homan
  214. via szetszwo)
  215. HDFS-445. pread() does not pick up changes to block locations.
  216. (Kan Zhang via rangadi)
  217. HDFS-463. CreateEditLog utility broken after HDFS-396 (URI for
  218. FSImage). (Suresh Srinivas via rangadi)
  219. HDFS-484. Fix bin-package and package target to package jar files.
  220. (gkesavan)
  221. HDFS-490. Eliminate the deprecated warnings introduced by H-5438.
  222. (He Yongqiang via szetszwo)
  223. HDFS-119. Fix a bug in logSync(), which causes NameNode block forever.
  224. (Suresh Srinivas via shv)
  225. HDFS-534. Include avro in ivy. (szetszwo)
  226. HDFS-532. Allow applications to know that a read request failed
  227. because block is missing. (dhruba)
  228. HDFS-561. Fix write pipeline READ_TIMEOUT in DataTransferProtocol.
  229. (Kan Zhang via szetszwo)
  230. HDFS-553. BlockSender reports wrong failed position in ChecksumException.
  231. (hairong)
  232. HDFS-568. Set mapred.job.tracker.retire.jobs to false in
  233. src/test/mapred-site.xml for mapreduce tests to run. (Amareshwari
  234. Sriramadasu via szetszwo)
  235. HDFS-15. All replicas end up on 1 rack. (Jitendra Nath Pandey via hairong)
  236. HDFS-586. TestBlocksWithNotEnoughRacks sometimes fails.
  237. (Jitendra Nath Pandey via hairong)
  238. HADOOP-6243. Fixed a NullPointerException in handling deprecated keys.
  239. (Sreekanth Ramakrishnan via yhemanth)
  240. HDFS-605. Do not run fault injection tests in the run-test-hdfs-with-mr
  241. target. (Konstantin Boudnik via szetszwo)
  242. HDFS-606. Fix ConcurrentModificationException in invalidateCorruptReplicas()
  243. (shv)
  244. HDFS-601. TestBlockReport obtains data directories directly from
  245. MiniHDFSCluster. (Konstantin Boudnik via shv)
  246. HDFS-614. TestDatanodeBlockScanner obtains data directories directly from
  247. MiniHDFSCluster. (shv)
  248. HDFS-612. Remove the use of org.mortbay.log.Log in FSDataset. (szetszwo)
  249. HDFS-622. checkMinReplication should count live nodes only. (shv)
  250. HDFS-629. Remove ReplicationTargetChooser.java along with fixing
  251. import warnings generated by Eclipse. (dhruba)
  252. HDFS-637. DataNode sends a Success ack when block write fails. (hairong)
  253. HDFS-640. Fixed TestHDFSFileContextMainOperations.java build failure. (suresh)
  254. HDFS-547. TestHDFSFileSystemContract#testOutputStreamClosedTwice
  255. sometimes fails with CloseByInterruptException. (hairong)
  256. HDFS-588. Fix TestFiDataTransferProtocol and TestAppend2 failures. (shv)
  257. HDFS-550. DataNode restarts may introduce corrupt/duplicated/lost replicas
  258. when handling detached replicas. (hairong)
  259. HDFS-659. If the the last block is not complete, update its length with
  260. one of its replica's length stored in datanode. (szetszwo)
  261. HDFS-649. Check null pointers for DataTransferTest. (Konstantin Boudnik
  262. via szetszwo)
  263. HDFS-661. DataNode upgrade fails on non-existant current directory.
  264. (hairong)
  265. HDFS-597. Mofication introduced by HDFS-537 breakes an advice binding in
  266. FSDatasetAspects. (Konstantin Boudnik via szetszwo)
  267. HDFS-665. TestFileAppend2 sometimes hangs. (hairong)
  268. HDFS-676. Fix NPE in FSDataset.updateReplicaUnderRecovery() (shv)
  269. HDFS-673. BlockReceiver#PacketResponder should not remove a packet from
  270. the ack queue before its ack is sent. (hairong)
  271. HDFS-682. Fix bugs in TestBlockUnderConstruction. (szetszwo)
  272. HDFS-668. TestFileAppend3#TC7 sometimes hangs. (hairong)
  273. HDFS-679. Appending to a partial chunk incorrectly assumes the
  274. first packet fills up the partial chunk. (hairong)
  275. HDFS-722. Fix callCreateBlockWriteStream pointcut in FSDatasetAspects.
  276. (szetszwo)
  277. HDFS-690. TestAppend2#testComplexAppend failed on "Too many open files".
  278. (hairong)
  279. Release 0.20.2 - Unreleased
  280. IMPROVEMENTS
  281. HDFS-127. Reset failure count in DFSClient for each block acquiring
  282. operation. (Igor Bolotin via szetszwo)
  283. BUG FIXES
  284. HDFS-686. NullPointerException is thrown while merging edit log and image.
  285. (hairong)
  286. HDFS-677. Rename failure when both source and destination quota exceeds
  287. results in deletion of source. (suresh)
  288. HDFS-709. Fix TestDFSShell failure due to rename bug introduced by
  289. HDFS-677. (suresh)
  290. HDFS-579. Fix DfsTask to follow the semantics of 0.19, regarding non-zero
  291. return values as failures. (Christian Kunz via cdouglas)
  292. Release 0.20.1 - 2009-09-01
  293. IMPROVEMENTS
  294. HDFS-438. Improve help message for space quota command. (Raghu Angadi)
  295. BUG FIXES
  296. HDFS-167. Fix a bug in DFSClient that caused infinite retries on write.
  297. (Bill Zeller via szetszwo)
  298. HDFS-527. Remove/deprecate unnecessary DFSClient constructors. (szetszwo)
  299. HDFS-525. The SimpleDateFormat object in ListPathsServlet is not thread
  300. safe. (Suresh Srinivas and cdouglas)