CHANGES.txt 34 KB

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