CHANGES.txt 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789
  1. Hadoop HDFS Change Log
  2. Trunk (unreleased changes)
  3. INCOMPATIBLE CHANGES
  4. HDFS-905. Use the new UserGroupInformation from HDFS-6299.
  5. (jghoman via omalley)
  6. HDFS-984. Persistent delegation tokens. (Jitendra Pandey via shv)
  7. HDFS-1016. HDFS side change for HADOOP-6569. This jira changes the
  8. error message on the screen when cat a directory or a
  9. non-existent file. (hairong)
  10. NEW FEATURES
  11. HDFS-654. Add support new atomic rename functionality in HDFS for
  12. supporting rename in FileContext. (suresh)
  13. HDFS-222. Support for concatenating of files into a single file
  14. without copying. (Boris Shkolnik via hairong)
  15. HDFS-933. Adds Delegation token based authentication in the NameNode.
  16. (Kan Zhang via ddas)
  17. HDFS-935. Adds a real user component in Delegation token.
  18. (Jitendra Nath Pandey via ddas)
  19. HDFS-245. Adds a symlink implementation to HDFS. This complements the new
  20. symlink feature added in HADOOP-6421 (Eli Collins via Sanjay Radia)
  21. IMPROVEMENTS
  22. HDFS-703. Replace current fault injection implementation with one
  23. from (cos)
  24. HDFS-754. Reduce ivy console output to observable level (cos)
  25. HDFS-832. HDFS side of HADOOP-6222. (cos)
  26. HDFS-840. Change tests to use FileContext test helper introduced in
  27. HADOOP-6394. (Jitendra Nath Pandey via suresh)
  28. HDFS-685. Use the user-to-groups mapping service in the NameNode.
  29. (boryas, acmurthy)
  30. HDFS-755. Read multiple checksum chunks at once in DFSInputStream.
  31. (Todd Lipcon via tomwhite)
  32. HDFS-786. Implement getContentSummary in HftpFileSystem.
  33. (Tsz Wo (Nicholas), SZE via cdouglas)
  34. HDFS-587. Add support for specifying queue name in mapreduce tests.
  35. (Erik Steffl via suresh)
  36. HDFS-902 Move contrib/raid to MapReduce. (Eli Collins via omalley)
  37. HDFS-800. The last block of a file under construction may change to the
  38. COMPLETE state in response to getAdditionalBlock or completeFileInternal.
  39. (hairong)
  40. HDFS-899. Delegation Token Implementation
  41. and corresponding changes in Namenode and DFS Api to issue,
  42. renew and cancel delegation tokens. (jnp via boryas)
  43. HDFS-844. Log the filename when file locking fails. (tomwhite)
  44. HDFS-914. Refactor DFSOutputStream and DFSInputStream out of DFSClient.
  45. (Todd Lipcon via tomwhite)
  46. HDFS-949. Move DelegationToken into Common so that it can be used by
  47. MapReduce. (omalley)
  48. HDFS-930. Better error message for DATA_TRANSFER_VERSION mismatched.
  49. (Kay Kay via szetszwo)
  50. HDFS-986. Delegation token renewing and cancelling should provide
  51. meaningful exceptions when there are failures instead of returning
  52. false. (omalley)
  53. HADOOP-6579. Upgrade the commons-codec library to 1.4. (omalley)
  54. HDFS-991. Allow authentication to the web ui via a delegation token.
  55. (omalley)
  56. HDFS-994. Allow fetching of delegation token from NameNode for hftp.
  57. (Jakob Homan via acmurthy)
  58. HDFS-998. Quote blocks streamed through jsps. (cdouglas)
  59. HDFS-729. NameNode API to list files that have missing blocks.
  60. (Rodrigo Schmidt via dhruba)
  61. OPTIMIZATIONS
  62. HDFS-946. NameNode should not return full path name when lisitng a
  63. diretory or getting the status of a file. (hairong)
  64. BUG FIXES
  65. HDFS-913. Rename fault injection test TestRename.java to TestFiRename.java
  66. to include it in tests run by ant target run-test-hdfs-fault-inject.
  67. (suresh)
  68. HDFS-695. RaidNode should read in configuration from hdfs-site.xml.
  69. (dhruba)
  70. HDFS-726. Eclipse .classpath template has outdated jar files and is
  71. missing some new ones. (cos)
  72. HDFS-750. Fix build failure due to TestRename. (suresh)
  73. HDFS-712. Move libhdfs from mapreduce subproject to hdfs subproject.
  74. (Eli Collins via dhruba)
  75. HDFS-757. Enable Unit test for HDFS Raid. (dhruba)
  76. HDFS-611. Prevent DataNode heartbeat times from increasing even when
  77. the DataNode has many blocks to delete. (Zheng Shao via dhruba)
  78. HDFS-751. Fix TestCrcCorruption to pick up the correct datablocks to
  79. corrupt. (dhruba)
  80. HDFS-763. Fix slightly misleading report from DataBlockScanner
  81. about corrupted scans. (dhruba)
  82. HDFS-727. bug setting block size hdfsOpenFile (Eli Collins via cos)
  83. HDFS-756. libhdfs unit tests do not run. (Eli Collins via cos)
  84. HDFS-783. libhdfs tests brakes code coverage runs with Clover (cos)
  85. HDFS-785. Add Apache license to several namenode unit tests.
  86. (Ravi Phulari via jghoman)
  87. HDFS-802. Update Eclipse configuration to match changes to Ivy
  88. configuration (Edwin Chan via cos)
  89. HDFS-423. Unbreak FUSE build and fuse_dfs_wrapper.sh (Eli Collins via cos)
  90. HDFS-825. Build fails to pull latest hadoop-core-* artifacts (cos)
  91. HDFS-94. The Heap Size printed in the NameNode WebUI is accurate.
  92. (Dmytro Molkov via dhruba)
  93. HDFS-767. An improved retry policy when the DFSClient is unable to fetch a
  94. block from the datanode. (Ning Zhang via dhruba)
  95. HDFS-775. FSDataset calls getCapacity() twice. (stevel)
  96. HDFS-885. Datanode toString() NPEs on null dnRegistration. (stevel)
  97. HDFS-877. Client-driven block verification not functioning. (Todd
  98. Lipcon via hairong)
  99. HDFS-630. In DFSOutputStream.nextBlockOutputStream(), the client can
  100. exclude specific datanodes when locating the next block.
  101. (Cosmin Lehene via Stack)
  102. HDFS-922. Remove unnecessary semicolon added by HDFS-877 that causes
  103. problems for Eclipse compilation. (jghoman)
  104. HDFS-927 DFSInputStream retries too many times for new block locations
  105. (Todd Lipcon via Stack)
  106. HDFS-938. Replace calls to UGI.getUserName() with UGI.getShortUserName()
  107. (jghoman)
  108. HDFS-894. DatanodeID.ipcPort is not updated when existing node
  109. re-registers. (Todd Lipcon via tomwhite)
  110. HDFS-965. Split TestDelegationToken in to two parts and fix configuration
  111. to allow proxy users in the test. (Jitendra Pandey via omalley)
  112. HDFS-999. Secondary namenode should login using kerberos if security is
  113. configured (boryas)
  114. HDFS-856. Hardcoded replication level for new files in fuse-dfs.
  115. (Brian Bockelman via tomwhite)
  116. HDFS-857. Incorrect type for fuse-dfs capacity can cause "df" to return
  117. negative values on 32-bit machines. (Brian Bockelman via tomwhite)
  118. HDFS-858. Incorrect return codes for fuse-dfs. (Brian Bockelman via
  119. tomwhite)
  120. Release 0.21.0 - Unreleased
  121. INCOMPATIBLE CHANGES
  122. HDFS-538. Per the contract elucidated in HADOOP-6201, throw
  123. FileNotFoundException from FileSystem::listStatus rather than returning
  124. null. (Jakob Homan via cdouglas)
  125. HDFS-602. DistributedFileSystem mkdirs throws FileAlreadyExistsException
  126. instead of FileNotFoundException. (Boris Shkolnik via suresh)
  127. HDFS-544. Add a "rbw" subdir to DataNode data directory. (hairong)
  128. HDFS-576. Block report includes under-construction replicas. (shv)
  129. HDFS-636. SafeMode counts complete blocks only. (shv)
  130. HDFS-644. Lease recovery, concurrency support. (shv)
  131. HDFS-570. Get last block length from a data-node when opening a file
  132. being written to. (Tsz Wo (Nicholas), SZE via shv)
  133. HDFS-657. Remove unused legacy data-node protocol methods. (shv)
  134. HDFS-658. Block recovery for primary data-node. (shv)
  135. HDFS-660. Remove deprecated methods from InterDatanodeProtocol. (shv)
  136. HDFS-512. Block.equals() and compareTo() compare blocks based
  137. only on block Ids, ignoring generation stamps. (shv)
  138. HDFS-873. Configuration specifies data-node storage directories as URIs.
  139. (shv)
  140. NEW FEATURES
  141. HDFS-436. Introduce AspectJ framework for HDFS code and tests.
  142. (Konstantin Boudnik via szetszwo)
  143. HDFS-447. Add LDAP lookup to hdfsproxy. (Zhiyong Zhang via cdouglas)
  144. HDFS-459. Introduce Job History Log Analyzer. (shv)
  145. HDFS-461. Tool to analyze file size distribution in HDFS. (shv)
  146. HDFS-492. Add two JSON JSP pages to the Namenode for providing corrupt
  147. blocks/replicas information. (Bill Zeller via szetszwo)
  148. HDFS-578. Add support for new FileSystem method for clients to get server
  149. defaults. (Kan Zhang via suresh)
  150. HDFS-595. umask settings in configuration may now use octal or symbolic
  151. instead of decimal. (Jakob Homan via suresh)
  152. HADOOP-6234. Updated hadoop-core and test jars to propagate new option
  153. dfs.umaskmode in configuration. (Jakob Homan via suresh)
  154. HDFS-235. Add support for byte ranges in HftpFileSystem to serve
  155. range of bytes from a file. (Bill Zeller via suresh)
  156. HDFS-385. Add support for an experimental API that allows a module external
  157. to HDFS to specify how HDFS blocks should be placed. (dhruba)
  158. HADOOP-4952. Update hadoop-core and test jars to propagate new FileContext
  159. file system application interface. (Sanjay Radia via suresh).
  160. HDFS-567. Add block forensics contrib tool to print history of corrupt and
  161. missing blocks from the HDFS logs.
  162. (Bill Zeller, Jitendra Nath Pandey via suresh).
  163. HDFS-610. Support o.a.h.fs.FileContext. (Sanjay Radia via szetszwo)
  164. HDFS-536. Support hflush at DFSClient. (hairong)
  165. HDFS-517. Introduce BlockInfoUnderConstruction to reflect block replica
  166. states while writing. (shv)
  167. HDFS-565. Introduce block committing logic during new block allocation
  168. and file close. (shv)
  169. HDFS-537. DataNode exposes a replica's meta info to BlockReceiver for the
  170. support of dfs writes/hflush. It also updates a replica's bytes received,
  171. bytes on disk, and bytes acked after receiving a packet. (hairong)
  172. HDFS-585. Datanode should serve up to visible length of a replica for read
  173. requests. (szetszwo)
  174. HDFS-604. Block report processing for append. (shv)
  175. HDFS-619. Support replica recovery initialization in datanode for the new
  176. append design. (szetszwo)
  177. HDFS-592. Allow clients to fetch a new generation stamp from NameNode for
  178. pipeline recovery. (hairong)
  179. HDFS-624. Support a new algorithm for pipeline recovery and pipeline setup
  180. for append. (hairong)
  181. HDFS-627. Support replica update in data-node.
  182. (Tsz Wo (Nicholas), SZE and Hairong Kuang via shv)
  183. HDFS-642. Support pipeline close and close error recovery. (hairong)
  184. HDFS-631. Rename configuration keys towards API standardization and
  185. backward compatibility. (Jitendra Nath Pandey via suresh)
  186. HDFS-669. Add unit tests framework (Mockito) (cos, Eli Collins)
  187. HDFS-731. Support new Syncable interface in HDFS. (hairong)
  188. HDFS-702. Add HDFS implementation of AbstractFileSystem.
  189. (Sanjay Radio via suresh)
  190. HDFS-758. Add decommissioning status page to Namenode Web UI.
  191. (Jitendra Nath Pandey via suresh)
  192. HDFS-814. Add an api to get the visible length of a DFSDataInputStream.
  193. (szetszwo)
  194. IMPROVEMENTS
  195. HDFS-381. Remove blocks from DataNode maps when corresponding file
  196. is deleted. (Suresh Srinivas via rangadi)
  197. HDFS-377. Separate codes which implement DataTransferProtocol.
  198. (szetszwo)
  199. HDFS-396. NameNode image and edits directories are specified as URIs.
  200. (Luca Telloli via rangadi)
  201. HDFS-444. Allow to change probability levels dynamically in the fault
  202. injection framework. (Konstantin Boudnik via szetszwo)
  203. HDFS-352. Documentation for saveNamespace command. (Ravi Phulari via shv)
  204. HADOOP-6106. Updated hadoop-core and test jars from hudson trunk
  205. build #12. (Giridharan Kesavan)
  206. HDFS-204. Add a new metrics FilesInGetListingOps to the Namenode.
  207. (Jitendra Nath Pandey via szetszwo)
  208. HDFS-278. HDFS Outputstream close does not hang forever. (dhruba)
  209. HDFS-443. Add a new metrics numExpiredHeartbeats to the Namenode.
  210. (Jitendra Nath Pandey via szetszwo)
  211. HDFS-475. Add new ant targets for fault injection jars and tests.
  212. (Konstantin Boudnik via szetszwo)
  213. HDFS-458. Create a new ant target, run-commit-test. (Jakob Homan
  214. via szetszwo)
  215. HDFS-493. Change build.xml so that the fault-injected tests are executed
  216. only by the run-test-*-fault-inject targets. (Konstantin Boudnik via
  217. szetszwo)
  218. HDFS-446. Improvements to Offline Image Viewer. (Jakob Homan via shv)
  219. HADOOP-6160. Fix releaseaudit target to run on specific directories.
  220. (gkesavan)
  221. HDFS-501. Use enum to define the constants in DataTransferProtocol.
  222. (szetszwo)
  223. HDFS-508. Factor out BlockInfo from BlocksMap. (shv)
  224. HDFS-510. Rename DatanodeBlockInfo to be ReplicaInfo.
  225. (Jakob Homan & Hairong Kuang via shv)
  226. HDFS-500. Deprecate NameNode methods deprecated in NameNodeProtocol.
  227. (Jakob Homan via shv)
  228. HDFS-514. Change DFSClient.namenode from public to private. (Bill Zeller
  229. via szetszwo)
  230. HDFS-496. Use PureJavaCrc32 in HDFS. (Todd Lipcon via szetszwo)
  231. HDFS-511. Remove redundant block searches in BlockManager. (shv)
  232. HDFS-504. Update the modification time of a file when the file
  233. is closed. (Chun Zhang via dhruba)
  234. HDFS-498. Add development guide and documentation for the fault injection
  235. framework. (Konstantin Boudnik via szetszwo)
  236. HDFS-524. Further DataTransferProtocol code refactoring. (szetszwo)
  237. HDFS-529. Use BlockInfo instead of Block to avoid redundant block searches
  238. in BlockManager. (shv)
  239. HDFS-530. Refactor TestFileAppend* to remove code duplication.
  240. (Konstantin Boudnik via szetszwo)
  241. HDFS-451. Add fault injection tests for DataTransferProtocol. (szetszwo)
  242. HDFS-409. Add more access token tests. (Kan Zhang via szetszwo)
  243. HDFS-546. DatanodeDescriptor iterates blocks as BlockInfo. (shv)
  244. HDFS-457. Do not shutdown datanode if some, but not all, volumes fail.
  245. (Boris Shkolnik via szetszwo)
  246. HDFS-548. TestFsck takes nearly 10 minutes to run. (hairong)
  247. HDFS-539. Refactor fault injeciton pipeline test util for future reuse.
  248. (Konstantin Boudnik via szetszwo)
  249. HDFS-552. Change TestFiDataTransferProtocol to junit 4 and add a few new
  250. tests. (szetszwo)
  251. HDFS-563. Simplify the codes in FSNamesystem.getBlockLocations(..).
  252. (szetszwo)
  253. HDFS-581. Introduce an iterator over blocks in the block report array.(shv)
  254. HDFS-549. Add a new target, run-with-fault-inject-testcaseonly, which
  255. allows an execution of non-FI tests in FI-enable environment. (Konstantin
  256. Boudnik via szetszwo)
  257. HDFS-173. Namenode will not block until a large directory deletion
  258. completes. It allows other operations when the deletion is in progress.
  259. (suresh)
  260. HDFS-551. Create new functional test for a block report. (Konstantin
  261. Boudnik via hairong)
  262. HDFS-288. Redundant computation in hashCode() implementation.
  263. (szetszwo via tomwhite)
  264. HDFS-412. Hadoop JMX usage makes Nagios monitoring impossible.
  265. (Brian Bockelman via tomwhite)
  266. HDFS-472. Update hdfsproxy documentation. Adds a setup guide and design
  267. document. (Zhiyong Zhang via cdouglas)
  268. HDFS-617. Support non-recursive create(). (Kan Zhang via szetszwo)
  269. HDFS-618. Support non-recursive mkdir(). (Kan Zhang via szetszwo)
  270. HDFS-574. Split the documentation between the subprojects.
  271. (Corinne Chandel via omalley)
  272. HDFS-598. Eclipse launch task for HDFS. (Eli Collins via tomwhite)
  273. HDFS-641. Move all of the components that depend on map/reduce to
  274. map/reduce. (omalley)
  275. HDFS-509. Redesign DataNode volumeMap to include all types of Replicas.
  276. (hairong)
  277. HDFS-562. Add a test for NameNode.getBlockLocations(..) to check read from
  278. un-closed file. (szetszwo)
  279. HDFS-543. Break FSDatasetInterface#writToBlock() into writeToRemporary,
  280. writeToRBW, ad append. (hairong)
  281. HDFS-603. Add a new interface, Replica, which is going to replace the use
  282. of Block in datanode. (szetszwo)
  283. HDFS-589. Change block write protocol to support pipeline recovery.
  284. (hairong)
  285. HDFS-652. Replace BlockInfo.isUnderConstruction() with isComplete() (shv)
  286. HDFS-648. Change some methods in AppendTestUtil to public. (Konstantin
  287. Boudnik via szetszwo)
  288. HDFS-662. Unnecessary info message from DFSClient. (hairong)
  289. HDFS-518. Create new tests for Append's hflush. (Konstantin Boudnik
  290. via szetszwo)
  291. HDFS-688. Add configuration resources to DFSAdmin. (shv)
  292. HDFS-29. Validate the consistency of the lengths of replica and its file
  293. in replica recovery. (szetszwo)
  294. HDFS-680. Add new access method to a copy of a block's replica. (shv)
  295. HDFS-704. Unify build property names to facilitate cross-projects
  296. modifications (cos)
  297. HDFS-705. Create an adapter to access some of package-private methods of
  298. DataNode from tests (cos)
  299. HDFS-710. Add actions with constraints to the pipeline fault injection
  300. tests and change SleepAction to support uniform random sleeping over an
  301. interval. (szetszwo)
  302. HDFS-713. Need to properly check the type of the test class from an aspect
  303. (cos)
  304. HDFS-716. Define a pointcut for pipeline close and add a few fault
  305. injection tests to simulate out of memory problem. (szetszwo)
  306. HDFS-719. Add 6 fault injection tests for pipeline close to simulate slow
  307. datanodes and disk errors. (szetszwo)
  308. HDFS-616. Create functional tests for new design of the block report. (cos)
  309. HDFS-584. Fail the fault-inject build if any advices are mis-bound. (cos)
  310. HDFS-730. Add 4 fault injection tests to simulate non-responsive datanode
  311. and out-of-memory problem for pipeline close ack. (szetszwo)
  312. HDFS-728. Create a comprehensive functional test for append. (hairong)
  313. HDFS-736. commitBlockSynchronization() updates block GS and length
  314. in-place. (shv)
  315. HADOOP-5107. Use Maven ant tasks to publish the subproject jars.
  316. (Giridharan Kesavan via omalley)
  317. HDFS-521. Create new tests for pipeline (cos)
  318. HDFS-764. Places the Block Access token implementation in hdfs project.
  319. (Kan Zhang via ddas)
  320. HDFS-787. Upgrade some libraries to be consistent with common and
  321. mapreduce. (omalley)
  322. HDFS-519. Create new tests for lease recovery (cos)
  323. HDFS-804. New unit tests for concurrent lease recovery (cos)
  324. HDFS-813. Enable the append test in TestReadWhileWriting. (szetszwo)
  325. HDFS-145. Cleanup inconsistent block length handling code in
  326. FSNameSystem#addStoredBlock. (hairong)
  327. HDFS-127. Reset failure count in DFSClient for each block acquiring
  328. operation. (Igor Bolotin via szetszwo)
  329. BUG FIXES
  330. HDFS-76. Better error message to users when commands fail because of
  331. lack of quota. Allow quota to be set even if the limit is lower than
  332. current consumption. (Boris Shkolnik via rangadi)
  333. HADOOP-4687. HDFS is split from Hadoop Core. It is a subproject under
  334. Hadoop (Owen O'Malley)
  335. HADOOP-6096. Fix Eclipse project and classpath files following project
  336. split. (tomwhite)
  337. HDFS-195. Handle expired tokens when write pipeline is reestablished.
  338. (Kan Zhang via rangadi)
  339. HDFS-181. Validate src path in FSNamesystem.getFileInfo(..). (Todd
  340. Lipcon via szetszwo)
  341. HDFS-441. Remove TestFTPFileSystem. (szetszwo)
  342. HDFS-440. Fix javadoc broken links in DFSClient. (szetszwo)
  343. HDFS-480. Fix a typo in the jar name in build.xml.
  344. (Konstantin Shvachko via gkesavan)
  345. HDFS-438. Check for NULL before invoking GenericArgumentParser in
  346. DataNode. (Raghu Angadi)
  347. HDFS-415. BlockReceiver hangs in case of certain runtime exceptions.
  348. (Konstantin Boudnik via rangadi)
  349. HDFS-462. loadFSImage should close edits file. (Jakob Homan via shv)
  350. HDFS-489. Update TestHDFSCLI for the -skipTrash option in rm. (Jakob Homan
  351. via szetszwo)
  352. HDFS-445. pread() does not pick up changes to block locations.
  353. (Kan Zhang via rangadi)
  354. HDFS-463. CreateEditLog utility broken after HDFS-396 (URI for
  355. FSImage). (Suresh Srinivas via rangadi)
  356. HDFS-484. Fix bin-package and package target to package jar files.
  357. (gkesavan)
  358. HDFS-490. Eliminate the deprecated warnings introduced by H-5438.
  359. (He Yongqiang via szetszwo)
  360. HDFS-119. Fix a bug in logSync(), which causes NameNode block forever.
  361. (Suresh Srinivas via shv)
  362. HDFS-534. Include avro in ivy. (szetszwo)
  363. HDFS-532. Allow applications to know that a read request failed
  364. because block is missing. (dhruba)
  365. HDFS-561. Fix write pipeline READ_TIMEOUT in DataTransferProtocol.
  366. (Kan Zhang via szetszwo)
  367. HDFS-553. BlockSender reports wrong failed position in ChecksumException.
  368. (hairong)
  369. HDFS-568. Set mapred.job.tracker.retire.jobs to false in
  370. src/test/mapred-site.xml for mapreduce tests to run. (Amareshwari
  371. Sriramadasu via szetszwo)
  372. HDFS-15. All replicas end up on 1 rack. (Jitendra Nath Pandey via hairong)
  373. HDFS-586. TestBlocksWithNotEnoughRacks sometimes fails.
  374. (Jitendra Nath Pandey via hairong)
  375. HADOOP-6243. Fixed a NullPointerException in handling deprecated keys.
  376. (Sreekanth Ramakrishnan via yhemanth)
  377. HDFS-605. Do not run fault injection tests in the run-test-hdfs-with-mr
  378. target. (Konstantin Boudnik via szetszwo)
  379. HDFS-606. Fix ConcurrentModificationException in invalidateCorruptReplicas()
  380. (shv)
  381. HDFS-601. TestBlockReport obtains data directories directly from
  382. MiniHDFSCluster. (Konstantin Boudnik via shv)
  383. HDFS-614. TestDatanodeBlockScanner obtains data directories directly from
  384. MiniHDFSCluster. (shv)
  385. HDFS-612. Remove the use of org.mortbay.log.Log in FSDataset. (szetszwo)
  386. HDFS-622. checkMinReplication should count live nodes only. (shv)
  387. HDFS-629. Remove ReplicationTargetChooser.java along with fixing
  388. import warnings generated by Eclipse. (dhruba)
  389. HDFS-637. DataNode sends a Success ack when block write fails. (hairong)
  390. HDFS-640. Fixed TestHDFSFileContextMainOperations.java build failure. (suresh)
  391. HDFS-547. TestHDFSFileSystemContract#testOutputStreamClosedTwice
  392. sometimes fails with CloseByInterruptException. (hairong)
  393. HDFS-588. Fix TestFiDataTransferProtocol and TestAppend2 failures. (shv)
  394. HDFS-550. DataNode restarts may introduce corrupt/duplicated/lost replicas
  395. when handling detached replicas. (hairong)
  396. HDFS-659. If the the last block is not complete, update its length with
  397. one of its replica's length stored in datanode. (szetszwo)
  398. HDFS-649. Check null pointers for DataTransferTest. (Konstantin Boudnik
  399. via szetszwo)
  400. HDFS-661. DataNode upgrade fails on non-existant current directory.
  401. (hairong)
  402. HDFS-597. Mofication introduced by HDFS-537 breakes an advice binding in
  403. FSDatasetAspects. (Konstantin Boudnik via szetszwo)
  404. HDFS-665. TestFileAppend2 sometimes hangs. (hairong)
  405. HDFS-676. Fix NPE in FSDataset.updateReplicaUnderRecovery() (shv)
  406. HDFS-673. BlockReceiver#PacketResponder should not remove a packet from
  407. the ack queue before its ack is sent. (hairong)
  408. HDFS-682. Fix bugs in TestBlockUnderConstruction. (szetszwo)
  409. HDFS-668. TestFileAppend3#TC7 sometimes hangs. (hairong)
  410. HDFS-679. Appending to a partial chunk incorrectly assumes the
  411. first packet fills up the partial chunk. (hairong)
  412. HDFS-722. Fix callCreateBlockWriteStream pointcut in FSDatasetAspects.
  413. (szetszwo)
  414. HDFS-690. TestAppend2#testComplexAppend failed on "Too many open files".
  415. (hairong)
  416. HDFS-725. Support the build error fix for HADOOP-6327. (Sanjay Radia via
  417. szetszwo)
  418. HDFS-625. Fix NullPointerException thrown from ListPathServlet. (suresh)
  419. HDFS-735. TestReadWhileWriting has wrong line termination symbols (cos)
  420. HDFS-691. Fix an overflow error in DFSClient.DFSInputStream.available().
  421. (szetszwo)
  422. HDFS-733. TestBlockReport fails intermittently. (cos)
  423. HDFS-774. Intermittent race condition in TestFiPipelines (cos)
  424. HDFS-741. TestHFlush test doesn't seek() past previously written part of
  425. the file (cos, szetszwo)
  426. HDFS-706. Intermittent failures in TestFiHFlush (cos)
  427. HDFS-646. Fix test-patch failure by adding test-contrib ant target.
  428. (gkesavan)
  429. HDFS-791. Build is broken after HDFS-787 patch has been applied (cos)
  430. HDFS-792. TestHDFSCLI is failing. (Todd Lipcon via cos)
  431. HDFS-781. Namenode metrics PendingDeletionBlocks is not decremented.
  432. (Suresh)
  433. HDFS-192. Fix TestBackupNode failures. (shv)
  434. HDFS-797. TestHDFSCLI much slower after HDFS-265 merge. (Todd Lipcon via cos)
  435. HDFS-824. Stop lease checker in TestReadWhileWriting. (szetszwo)
  436. HDFS-823. CheckPointer should use addInternalServlet for image-fetching
  437. servlet (jghoman)
  438. HDFS-456. Fix URI generation for windows file paths. (shv)
  439. HDFS-812. FSNamesystem#internalReleaseLease throws NullPointerException on
  440. a single-block file's lease recovery. (cos)
  441. HDFS-724. Pipeline hangs if one of the block receiver is not responsive.
  442. (hairong)
  443. HDFS-564. Adding pipeline tests 17-35. (hairong)
  444. HDFS-849. TestFiDataTransferProtocol2#pipeline_Fi_18 sometimes fails.
  445. (hairong)
  446. HDFS-762. Balancer causes Null Pointer Exception.
  447. (Cristian Ivascu via dhruba)
  448. HDFS-868. Fix link to Hadoop Upgrade Wiki. (Chris A. Mattmann via shv)
  449. HDFS-880. TestNNLeaseRecovery fails on windows (cos, shv)
  450. HDFS-699. Primary datanode should compare replicas' on disk lengths.
  451. (hairong)
  452. HDFS-897. Fix a bug related to generation stamp comparison in
  453. ReplicasMap. (suresh)
  454. HDFS-793. Data node should receive the whole packet ack message before it
  455. constructs and sends its own ack message for the packet. (hairong)
  456. HDFS-101. DFS write pipeline: DFSClient sometimes does not detect second
  457. datanode failure. (hairong)
  458. HDFS-822. Appends to already-finalized blocks can rename across volumes.
  459. (hairong)
  460. Release 0.20.2 - Unreleased
  461. IMPROVEMENTS
  462. HDFS-737. Add full path name of the file to the block information and
  463. summary of total number of files, blocks, live and deadnodes to
  464. metasave output. (Jitendra Nath Pandey via suresh)
  465. HDFS-919. Create test to validate the BlocksVerified metric (Gary Murry
  466. via cos)
  467. HDFS-907. Add tests for getBlockLocations and totalLoad metrics.
  468. (Ravi Phulari via cos)
  469. BUG FIXES
  470. HDFS-686. NullPointerException is thrown while merging edit log and image.
  471. (hairong)
  472. HDFS-677. Rename failure when both source and destination quota exceeds
  473. results in deletion of source. (suresh)
  474. HDFS-709. Fix TestDFSShell failure due to rename bug introduced by
  475. HDFS-677. (suresh)
  476. HDFS-579. Fix DfsTask to follow the semantics of 0.19, regarding non-zero
  477. return values as failures. (Christian Kunz via cdouglas)
  478. HDFS-723. Fix deadlock in DFSClient#DFSOutputStream. (hairong)
  479. HDFS-596. Fix memory leak in hdfsFreeFileInfo() for libhdfs.
  480. (Zhang Bingjun via dhruba)
  481. HDFS-185. Disallow chown, chgrp, chmod, setQuota, and setSpaceQuota when
  482. name-node is in safemode. (Ravi Phulari via shv)
  483. HDFS-187. Initialize secondary namenode http address in TestStartup.
  484. (Todd Lipcon via szetszwo)
  485. HDFS-464. Fix memory leaks in libhdfs. (Christian Kunz via suresh)
  486. Release 0.20.1 - 2009-09-01
  487. IMPROVEMENTS
  488. HDFS-438. Improve help message for space quota command. (Raghu Angadi)
  489. BUG FIXES
  490. HDFS-167. Fix a bug in DFSClient that caused infinite retries on write.
  491. (Bill Zeller via szetszwo)
  492. HDFS-527. Remove/deprecate unnecessary DFSClient constructors. (szetszwo)
  493. HDFS-525. The SimpleDateFormat object in ListPathsServlet is not thread
  494. safe. (Suresh Srinivas and cdouglas)
  495. HDFS-761. Fix failure to process rename operation from edits log due to
  496. quota verification. (suresh)