Tsz-wo Sze
|
b5355e5050
|
Merge r1402274 through r1402603 from trunk.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1402605 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-26 18:17:03 +00:00 |
Tsz-wo Sze
|
0e796b61e8
|
HDFS-4112. A few improvements on INodeDirectory include adding a utility method for casting; avoiding creation of new empty lists; cleaning up some code and rewriting some javadoc.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1402599 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-26 18:08:38 +00:00 |
Tsz-wo Sze
|
719279ea8a
|
HDFS-4092. Update file deletion logic for snapshot so that the current inode is removed from the circular linked list; and if some blocks at the end of the block list no longer belong to any other inode, collect them and update the block list.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1402287 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-25 19:32:26 +00:00 |
Tsz-wo Sze
|
40d2b6f308
|
Merge r1401869 through r1402273 from trunk.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1402278 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-25 19:09:34 +00:00 |
Tsz-wo Sze
|
2d74f68054
|
HDFS-3948. Do not use hflush in TestWebHDFS.testNamenodeRestart() since the out stream returned by WebHdfsFileSystem does not support it. Contributed by Jing Zhao
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1402270 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-25 18:53:25 +00:00 |
Tsz-wo Sze
|
ba2ee1d7fb
|
HDFS-4107. Add utility methods for casting INode to INodeFile and INodeFileUnderConstruction.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1402265 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-25 18:44:46 +00:00 |
Suresh Srinivas
|
163577f905
|
HDFS-4067. TestUnderReplicatedBlocks intermittently fails due to ReplicaAlreadyExistsException. Contributed by Jing Zhao.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1402261 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-25 18:32:41 +00:00 |
Suresh Srinivas
|
611684e2e5
|
HDFS-4110. Refine a log printed in JNStorage. Contributed by Liang Xie.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1402203 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-25 16:15:59 +00:00 |
Suresh Srinivas
|
2d5334931e
|
HDFS-4097. Provide CLI support for createSnapshot. Contributed by Brandon Li.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1401971 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-25 04:08:36 +00:00 |
Tsz-wo Sze
|
14d8d0a670
|
Merge r1400738 through r1401868 from trunk.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1401869 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-24 20:42:03 +00:00 |
Tsz-wo Sze
|
b897bb8992
|
HDFS-4091. Add snapshot quota to limit the number of snapshots allowed.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1401868 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-24 20:39:26 +00:00 |
Suresh Srinivas
|
464edf2439
|
Moving HDFS-2434 from Release 2.0.3 section to trunk section.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1401446 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-23 20:27:16 +00:00 |
Suresh Srinivas
|
4fde5c0190
|
HDFS-4084. Provide CLI support to allow and disallow snapshot on a directory. Contributed by Brondon Li.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1401444 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-23 20:26:08 +00:00 |
Suresh Srinivas
|
aa42e2161d
|
HDFS-2434. TestNameNodeMetrics.testCorruptBlock fails intermittently. Contributed by Jing Zhao.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1401423 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-23 20:02:09 +00:00 |
Daryn Sharp
|
a92313f7bd
|
HDFS-4090. getFileChecksum() result incompatible when called against zero-byte files. (Kihwal Lee via daryn)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1401309 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-23 15:03:53 +00:00 |
Tsz-wo Sze
|
75cdb5bb49
|
HDFS-4099. Clean up replication code and add more javadoc.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1400986 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-22 18:30:16 +00:00 |
Tsz-wo Sze
|
9a0651b4b8
|
HDFS-4078. Handle replication in snapshots.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1400743 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-22 00:11:25 +00:00 |
Suresh Srinivas
|
f29724956a
|
Merging trunk changes
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1400740 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-21 23:10:11 +00:00 |
Tsz-wo Sze
|
820b5495ca
|
HDFS-4079. Add SnapshotManager which maintains a list for all the snapshottable directories and supports snapshot methods such as setting a directory to snapshottable and creating a snapshot.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1400728 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-21 21:35:13 +00:00 |
Suresh Srinivas
|
625d7cf20b
|
HDFS-4087. Protocol changes for listSnapshots functionality. Contributed by Brandon Li.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1400698 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-21 19:05:49 +00:00 |
Uma Maheswara Rao G
|
35ec20b7c6
|
HDFS-4022. Replication not happening for appended block. Contributed by Vinay.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1400578 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-21 06:31:31 +00:00 |
Tsz-wo Sze
|
d9a9daeb2d
|
Merge r1399946 through r1400349 from trunk.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1400351 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-20 00:33:57 +00:00 |
Suresh Srinivas
|
a2d837b0e9
|
HDFS-4077. Adding a file missed in the commit r1400318.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1400350 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-20 00:31:57 +00:00 |
Tsz-wo Sze
|
661a8d176a
|
HDFS-4088. Remove "throws QuotaExceededException" from an INodeDirectoryWithQuota constructor.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1400345 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-20 00:06:12 +00:00 |
Suresh Srinivas
|
af130d4baf
|
HDFS-4077. Add support for Snapshottable Directory. Contributed by Nicholas.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1400318 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-19 22:21:50 +00:00 |
Suresh Srinivas
|
f5c4defcb3
|
HDFS-4083. Protocol changes for snapshots. Contributed by Suresh Srinivas.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1400316 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-19 22:15:27 +00:00 |
Suresh Srinivas
|
ecffab63af
|
HDFS-4086. Add editlog opcodes to allow and disallow snapshots on a directory. Contributed by Brandon Li.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1400298 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-19 21:15:11 +00:00 |
Suresh Srinivas
|
79e7257bb1
|
Moving HDFS-2802 related changes to a separate CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1400291 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-19 21:06:08 +00:00 |
Suresh Srinivas
|
40f8b7dcfb
|
Reverting the change r1400285 since it included unrelated changes
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1400290 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-19 21:04:29 +00:00 |
Suresh Srinivas
|
4cccdc2a96
|
Moving HDFS-2802 related changes to a separate CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1400285 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-19 21:01:26 +00:00 |
Tsz-wo Sze
|
e75424544f
|
HDFS-4082. Add editlog opcodes for snapshot create and delete operations. Contributed by suresh
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1400247 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-19 19:38:48 +00:00 |
Tsz-wo Sze
|
5c1a7b9d5d
|
HDFS-4076. Support snapshot of single files. (szetszwo)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1400245 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-19 19:35:19 +00:00 |
Alejandro Abdelnur
|
a4f30ff53c
|
reverting commit 1399898 (HADOOP-8887)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1399972 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-19 05:38:26 +00:00 |
Suresh Srinivas
|
0603447f2a
|
HDFS-4072. On file deletion remove corresponding blocks pending replications. Contributed by Jing Zhao.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1399965 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-19 04:55:11 +00:00 |
Eli Collins
|
7da5d03c35
|
HDFS-4053. Increase the default block size. Contributed by Eli Collins
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1399908 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-18 22:56:30 +00:00 |
Alejandro Abdelnur
|
53c598ab11
|
HADOOP-8887. Use a Maven plugin to build the native code using CMake. (cmccabe via tucu)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1399898 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-18 22:40:41 +00:00 |
Eli Collins
|
57ee22e589
|
HADOOP-8925. Remove the packaging. Contributed by Eli Collins
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1399889 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-18 22:30:11 +00:00 |
Tsz-wo Sze
|
4af8761e4c
|
HDFS-4074. Remove the unused default constructor from INode. Contributed by Brandon Li
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1399866 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-18 21:29:12 +00:00 |
Tsz-wo Sze
|
c1bd54daa3
|
HDFS-4073. Two minor improvements to FSDirectory. Contributed by Jing Zhao
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1399861 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-18 21:18:25 +00:00 |
Eli Collins
|
4d5600f6c7
|
HDFS-4068. DatanodeID and DatanodeInfo member should be private. Contributed by Eli Collins
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1399443 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-17 21:34:48 +00:00 |
Eli Collins
|
a258263ecf
|
HDFS-4029. GenerationStamp should use an AtomicLong. Contributed by Eli Collins
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1399096 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-17 04:58:24 +00:00 |
Eli Collins
|
24015b7684
|
HDFS-4055. TestAuditLogs is flaky. Contributed by Binglin Chang
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1399093 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-17 04:39:07 +00:00 |
Aaron Myers
|
402836479f
|
HDFS-3997. OfflineImageViewer incorrectly passes value of imageVersion when visiting IS_COMPRESSED element. Contributed by Mithun Radhakrishnan.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1399062 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-17 01:10:55 +00:00 |
Eli Collins
|
e074b5816a
|
HDFS-4061. TestBalancer and TestUnderReplicatedBlocks need timeouts. Contributed by Eli Collins
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1399010 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-16 21:59:15 +00:00 |
Suresh Srinivas
|
0ef9c6f71a
|
HDFS-4059. Add number of stale DataNodes to metrics. Contributed by Jing Zhao.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1398949 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-16 19:39:50 +00:00 |
Eli Collins
|
b245adb163
|
HDFS-3985. Add timeouts to TestMulitipleNNDataBlockScanner. Contributed by Todd Lipcon
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1398874 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-16 16:29:21 +00:00 |
Suresh Srinivas
|
b7887f31fb
|
HDFS-4052. BlockManager#invalidateWork should print log outside the lock. Contributed by Jing Zhao.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1398631 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-16 03:37:49 +00:00 |
Eli Collins
|
a75673cbd8
|
HDFS-4058. DirectoryScanner may fail with IOOB if the directory scanning threads return out of volume order. Contributed by Eli Collins
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1398612 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-16 02:12:59 +00:00 |
Aaron Myers
|
557ffe2101
|
HDFS-2946. HA: Put a cap on the number of completed edits files retained by the NN. Contributed by Aaron T. Myers.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1398609 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-16 01:59:46 +00:00 |
Aaron Myers
|
f5f763eb15
|
Update CHANGES.txt to have HDFS-3678 under release 2.0.3 instead of 3.0.0.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1398603 13f79535-47bb-0310-9956-ffa450edef68
|
2012-10-16 01:31:26 +00:00 |