CHANGES.txt 19 KB

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