CHANGES.txt 18 KB

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