Commit Graph

76 Commits

Author SHA1 Message Date
Thomas White b71b47079e HDFS-2196. Make ant build system work with hadoop-common JAR generated by Maven. Contributed by Alejandro Abdelnur
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1153207 13f79535-47bb-0310-9956-ffa450edef68
2011-08-02 17:16:59 +00:00
Tsz-wo Sze d68e38b78d HDFS-2199. Move blockTokenSecretManager from FSNamesystem to BlockManager. Contributed by Uma Maheswara Rao G
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1152776 13f79535-47bb-0310-9956-ffa450edef68
2011-08-01 13:57:00 +00:00
Tsz-wo Sze 8390152d08 HDFS-2202. Add a new DFSAdmin command to set balancer bandwidth of datanodes without restarting. Contributed by Eric Payne
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1152401 13f79535-47bb-0310-9956-ffa450edef68
2011-07-30 00:10:39 +00:00
Todd Lipcon 28e6a4e44a HDFS-1073. Redesign the NameNode's storage layout for image checkpoints and edit logs to introduce transaction IDs and be more robust. Contributed by Todd Lipcon and Ivan Kelly.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1152295 13f79535-47bb-0310-9956-ffa450edef68
2011-07-29 16:28:45 +00:00
Eli Collins 44320eed17 HDFS-2212. Refactor double-buffering code out of EditLogOutputStreams. Contributed by Todd Lipcon
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1151736 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 05:46:28 +00:00
Eli Collins ffbe9e5972 HDFS-2195. Refactor StorageDirectory to not be an non-static inner class. Contributed by Todd Lipcon
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1151707 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 03:19:31 +00:00
Konstantin Shvachko 6f1ef980de HDFS-1981. NameNode does not saveNamespace() when editsNew is empty. Contributed by Uma Maheswara Rao G.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1151666 13f79535-47bb-0310-9956-ffa450edef68
2011-07-27 23:28:16 +00:00
Eli Collins c4f7d2f015 HDFS-2210. Remove hdfsproxy. Contributed by Eli Collins
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1151592 13f79535-47bb-0310-9956-ffa450edef68
2011-07-27 19:08:52 +00:00
Suresh Srinivas b60772c47d HDFS-2198. Remove hardcoded configuration keys. Contributed by Suresh Srinivas.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1151501 13f79535-47bb-0310-9956-ffa450edef68
2011-07-27 15:29:50 +00:00
Tsz-wo Sze 0b12cc822d HDFS-2200. Change FSNamesystem.LOG to package private.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1151344 13f79535-47bb-0310-9956-ffa450edef68
2011-07-27 05:59:50 +00:00
Tsz-wo Sze 969a263188 HDFS-2191. Move datanodeMap from FSNamesystem to DatanodeManager.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1151339 13f79535-47bb-0310-9956-ffa450edef68
2011-07-27 05:46:52 +00:00
Todd Lipcon 438c32aaf9 HDFS-2149. Move EditLogOp serialization formats into FsEditLogOp implementations. Contributed by Ivan Kelly.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1151238 13f79535-47bb-0310-9956-ffa450edef68
2011-07-26 20:46:58 +00:00
Todd Lipcon 01cd616d17 HDFS-2180. Refactor NameNode HTTP server into new class. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1150960 13f79535-47bb-0310-9956-ffa450edef68
2011-07-26 00:04:30 +00:00
Aaron Myers d2b31fe25f HDFS-2144. If SNN shuts down during initialization it does not log the cause. (Ravi Prakash via atm)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1150927 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 21:44:00 +00:00
Dmytro Molkov c316d43a0a HDFS-1776 Bug in Bug in Concat code. Contributed by Bharath Mundlapudi
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1150247 13f79535-47bb-0310-9956-ffa450edef68
2011-07-24 01:43:05 +00:00
Tsz-wo Sze 598b85c9e2 HDFS-1739. Add available volume size to the error message when datanode throws DiskOutOfSpaceException. Contributed by Uma Maheswara Rao G
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1150067 13f79535-47bb-0310-9956-ffa450edef68
2011-07-23 08:45:55 +00:00
Tsz-wo Sze 89537b7710 HDFS-2112. Move ReplicationMonitor to block management. Contributed by Uma Maheswara Rao G
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1149771 13f79535-47bb-0310-9956-ffa450edef68
2011-07-23 01:01:58 +00:00
Konstantin Shvachko ad3f694261 HDFS-2116. Use Mokito in TestStreamFile and TestByteRangeInputStream. Contributed by Plamen Jeliazkov.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1149770 13f79535-47bb-0310-9956-ffa450edef68
2011-07-23 00:22:08 +00:00
Tsz-wo Sze 233a7aa34f HDFS-2167. Move dnsToSwitchMapping and hostsReader from FSNamesystem to DatanodeManager.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1149455 13f79535-47bb-0310-9956-ffa450edef68
2011-07-22 04:20:21 +00:00
Owen O'Malley c187bdc0a2 HDFS-2156. Make hdfs and mapreduce rpm only depend on the same major
version for common and hdfs. (eyang via omalley)


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1149323 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 19:16:09 +00:00
Matthew Foley 08928d067b HDFS-2114. re-commission of a decommissioned node does not delete excess replicas. Contributed by John George.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1148981 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 23:35:50 +00:00
Eli Collins cda43d71be HDFS-1774. Small optimization to FSDataset. Contributed by Uma Maheswara Rao G
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1148894 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 18:52:57 +00:00
Tsz-wo Sze 710e5a960e HDFS-2161. Move createNamenode(..), createClientDatanodeProtocolProxy(..) and Random object creation to DFSUtil; move DFSClient.stringifyToken(..) to DelegationTokenIdentifier.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1148348 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 14:23:50 +00:00
Suresh Srinivas 6c0cb4d151 HDFS-2141. Remove NameNode roles Active and Standby (they become states of the namenode). Contributed by Suresh Srinivas.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1148125 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 01:32:59 +00:00
Tsz-wo Sze c3f6575ca4 HDFS-2147. Move cluster network topology to block management and fix some javac warnings.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1148112 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 00:26:21 +00:00
Eli Collins 81001b87c1 HDFS-2157. Improve header comment in o.a.h.hdfs.server.namenode.NameNode. Contributed by Aaron T. Myers
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1147980 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 17:23:25 +00:00
Suresh Srinivas 8a77d0b289 HDFS-2143. Federation: In cluster web console, add link to namenode page that displays live and dead datanodes. Contributed by Ravi Prakash.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1147964 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 16:45:28 +00:00
Aaron Myers eaa0638c12 HDFS-2152. TestWriteConfigurationToDFS causing the random failures. (Uma Maheswara Rao G via atm)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1147762 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 07:07:58 +00:00
Tsz-wo Sze c163455df4 HDFS-2159. Deprecate DistributedFileSystem.getClient() and fixed the deprecated warnings in DFSAdmin.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1147359 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 05:12:40 +00:00
Tsz-wo Sze c093580824 HDFS-2153. Move DFSClientAdapter to test and fix some javac warnings in OfflineEditsViewerHelper.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1147340 13f79535-47bb-0310-9956-ffa450edef68
2011-07-15 22:46:43 +00:00
Tsz-wo Sze f582aa4492 HDFS-2154. In TestDFSShell, use TEST_ROOT_DIR and fix some deprecated warnings.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1147184 13f79535-47bb-0310-9956-ffa450edef68
2011-07-15 15:09:43 +00:00
Aaron Myers c54c117407 HDFS-2120. on reconnect, DN can connect to NN even with different source versions. (John George via atm)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1146516 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 23:44:42 +00:00
Tsz-wo Sze 8327e70be8 HDFS-2140. Move Host2NodesMap to the blockmanagement package.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1146514 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 23:24:36 +00:00
Tsz-wo Sze 13a26379ed HDFS-2131. Add new tests for the -overwrite/-f option in put and copyFromLocal by HADOOP-7361. Contributed by Uma Maheswara Rao G
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1145843 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 03:01:25 +00:00
Jitendra Nath Pandey 2c5dd549e3 HDFS-1977. Stop using StringUtils.stringifyException(). Contributed by Bharath Mundlapudi.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1145834 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 01:11:01 +00:00
Michael Stack 94f3b578ef HDFS-2054 BlockSender.sendChunk() prints ERROR for connection closures encountered during transferToFully() -- moved the change notice into 0.22 section (i'd originally committed it in trunk section)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1145753 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 20:28:36 +00:00
Michael Stack 714edd65ac HDFS-2054 BlockSender.sendChunk() prints ERROR for connection closures encountered during transferToFully()
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1145751 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 20:23:39 +00:00
Aaron Myers 1ba3ddbe6d HDFS-2132. Potential resource leak in EditLogFileOutputStream.close. (atm)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1145428 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 02:18:30 +00:00
Tsz-wo Sze b9189f7b15 HDFS-2134. Move DecommissionManager to the blockmanagement package.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1145393 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 23:06:36 +00:00
Tsz-wo Sze 6ec9b178c6 HDFS-2034. Length in DFSInputStream.getBlockRange(..) becomes -ve when reading only from a currently being written block. Contributed by John George
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1144480 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 20:13:26 +00:00
Todd Lipcon 209fd3f9fc HDFS-2111. Add tests for ensuring that the DN will start with a few bad data directories. Contributed by Harsh J Chouraria.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1144100 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 00:16:07 +00:00
Tsz-wo Sze 5c778cdee3 HDFS-1990. Fix resource leaks in BlockReceiver.close(). Contributed by Uma Maheswara Rao G
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1143147 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 17:19:07 +00:00
Eli Collins 1e5e03c73c HDFS-1753. Resource Leak in StreamFile. Contributed by Uma Maheswara Rao G
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1143106 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 15:31:58 +00:00
Tsz-wo Sze 09c8adfb18 HDFS-2109. Store uMask as member variable to DFSClient.Conf. Contributed by Bharath Mundlapudi
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1141767 13f79535-47bb-0310-9956-ffa450edef68
2011-07-01 00:21:51 +00:00
Matthew Foley 7bd41f031f HDFS-2011. Removal and restoration of storage directories on checkpointing failure doesn't work properly. Contributed by Ravi Prakash.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1141748 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 23:21:58 +00:00
Eli Collins 3af51887b4 HDFS-2118. Couple dfs data dir improvements. Contributed by Eli Collins
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1141713 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 20:56:37 +00:00
Matthew Foley 5147e283ad HDFS-1955. FSImage.doUpgrade() was made too fault-tolerant by HDFS-1826. Contributed by Matt Foley.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1141658 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 18:38:01 +00:00
Tsz-wo Sze 09b6f98de4 HDFS-2107. Move block management code from o.a.h.h.s.namenode to a new package o.a.h.h.s.blockmanagement.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1140939 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 01:31:15 +00:00
Tsz-wo Sze 97b6ca4dd7 Revert 1140913 and 1140909 for HDFS-2107.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1140920 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 00:26:41 +00:00
Tsz-wo Sze d58e3efe92 Fix CHANGES.txt (HDFS-2106 should be HDFS-2107) and add NumberReplicas.java.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1140913 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 23:57:02 +00:00