CHANGES.txt 35 KB

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