HADOOP-7106. Reorganize SVN layout to combine HDFS, Common, and MR in a single tree (project unsplit)


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-1073@1134994 13f79535-47bb-0310-9956-ffa450edef68
HDFS-2074. Determine edit log validity by truly reading and validating transactions. Contributed by Todd Lipcon.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-1073@1138085 13f79535-47bb-0310-9956-ffa450edef68
Merge trunk into HDFS-1073


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-1073@1138160 13f79535-47bb-0310-9956-ffa450edef68
HDFS-2085. Finalize in-progress edit logs at startup. Contributed by Todd Lipcon.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-1073@1138162 13f79535-47bb-0310-9956-ffa450edef68
HDFS-2026. SecondaryNameNode should properly handle the case where the NameNode is reformatted. Contributed by Todd Lipcon.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-1073@1139112 13f79535-47bb-0310-9956-ffa450edef68
HDFS-2077. Address checkpoint upload when one of the storage dirs is failed. Contributed by Todd Lipcon.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-1073@1139450 13f79535-47bb-0310-9956-ffa450edef68
HDFS-2078. NameNode should not clear directory when restoring removed storage. Contributed by Todd Lipcon.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-1073@1139453 13f79535-47bb-0310-9956-ffa450edef68
HDFS-2088. Move edits log archiving logic into FSEditLog/JournalManager. Contributed by Todd Lipcon.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-1073@1139456 13f79535-47bb-0310-9956-ffa450edef68
HDFS-2093. Handle case where an entirely empty log is left during NN crash. Contributed by Todd Lipcon.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-1073@1139463 13f79535-47bb-0310-9956-ffa450edef68
HDFS-2102. Zero-pad edits filename to make them lexically sortable. Contributed by Ivan Kelly.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-1073@1141752 13f79535-47bb-0310-9956-ffa450edef68
HDFS-2010. Fix NameNode to exit if all edit streams become inaccessible. Contributed by Aaron T. Myers.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-1073@1141753 13f79535-47bb-0310-9956-ffa450edef68
HDFS-2123. Checkpoint interval should be based on txn count, not size. Contributed by Todd Lipcon.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-1073@1142838 13f79535-47bb-0310-9956-ffa450edef68
Add another unit test for SecondaryNameNode.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-1073@1143512 13f79535-47bb-0310-9956-ffa450edef68
Merge trunk into HDFS-1073. Some tests failing due to merge -- will be addressed in followup commit.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-1073@1143523 13f79535-47bb-0310-9956-ffa450edef68
Fix one of the TestCheckpoint test cases broken by merge.

The exception message in this test case is now different since
HDFS-2011 caused the storage directory to become invalidated at
roll-time instead of at checkpoint time.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-1073@1143527 13f79535-47bb-0310-9956-ffa450edef68
Merge common from trunk into HDFS-1073


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-1073@1143559 13f79535-47bb-0310-9956-ffa450edef68
HDFS-1979. Fix backupnode for new edits/image layout. Contributed by Todd Lipcon.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-1073@1146845 13f79535-47bb-0310-9956-ffa450edef68
Amend HDFS-2011 for HDFS-1073 branch. Update test cases for new behavior of EditLogFileOutputStream. Contributed by Todd Lipcon and Eli Collins.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-1073@1146848 13f79535-47bb-0310-9956-ffa450edef68
HDFS-2101. Fix remaining unit tests for new storage filenames. Contributed by Todd Lipcon.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-1073@1146854 13f79535-47bb-0310-9956-ffa450edef68
HDFS-2133. Address remaining TODOs and pre-merge cleanup on HDFS-1073 branch. Contributed by Todd Lipcon.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-1073@1146856 13f79535-47bb-0310-9956-ffa450edef68