Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-3102

Add CLI tool to initialize the shared-edits dir

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.24.0, 2.0.0-alpha
    • Fix Version/s: 2.0.0-alpha
    • Component/s: ha, namenode
    • Labels:
      None

      Description

      Currently in order to make a non-HA NN HA, you need to initialize the shared edits dir. This can be done manually by cping directories around. It would be preferable to add a "namenode -initializeSharedEdits" command to achieve this same effect.

      1. HDFS-3102.patch
        15 kB
        Aaron T. Myers
      2. HDFS-3102.patch
        15 kB
        Aaron T. Myers
      3. HDFS-3102.patch
        15 kB
        Aaron T. Myers

        Activity

        Hide
        Eli Collins added a comment -

        Can't we re-use bootstrapStandby (HDFS-2731)?

        Show
        Eli Collins added a comment - Can't we re-use bootstrapStandby ( HDFS-2731 )?
        Hide
        Todd Lipcon added a comment -

        IMO this is a little different, especially if you consider generalizing to multiple SBNs. -bootstrapStandby initializes a given SBN assuming that another node is already active and running. But, the other node won't start up in HA mode if the shared edits dir is not initialized. So we need some way of initializing the shared edits.

        The other option would be to initialize shared edits on startup if it's empty, but it seems like that's dangerous as you might accidentally have your shared edits dir come unmounted, and then think you're running HA whereas in fact your SBN is completely disconnected from your ANN.

        Show
        Todd Lipcon added a comment - IMO this is a little different, especially if you consider generalizing to multiple SBNs. -bootstrapStandby initializes a given SBN assuming that another node is already active and running. But, the other node won't start up in HA mode if the shared edits dir is not initialized. So we need some way of initializing the shared edits. The other option would be to initialize shared edits on startup if it's empty, but it seems like that's dangerous as you might accidentally have your shared edits dir come unmounted, and then think you're running HA whereas in fact your SBN is completely disconnected from your ANN.
        Hide
        Aaron T. Myers added a comment -

        Here's a patch for trunk which addresses the issue.

        Show
        Aaron T. Myers added a comment - Here's a patch for trunk which addresses the issue.
        Hide
        Aaron T. Myers added a comment -

        I should also mention that I tested this manually by:

        1. Formatting an HA NN.
        2. Removing the shared dir.
        3. Confirming the NN wouldn't start.
        4. Running `hdfs namenode -initializeSharedEdits' on that NN.
        5. Confirming that the NN would start.
        6. Transitioning the NN to active.
        7. Running `hdfs namenode -bootstrapStandby' on the other NN.
        8. Starting the second NN.
        9. Confirming that failovers could proceed back and forth between the two NNs.
        Show
        Aaron T. Myers added a comment - I should also mention that I tested this manually by: Formatting an HA NN. Removing the shared dir. Confirming the NN wouldn't start. Running `hdfs namenode -initializeSharedEdits' on that NN. Confirming that the NN would start. Transitioning the NN to active. Running `hdfs namenode -bootstrapStandby' on the other NN. Starting the second NN. Confirming that failovers could proceed back and forth between the two NNs.
        Hide
        Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12521267/HDFS-3102.patch
        against trunk revision .

        +1 @author. The patch does not contain any @author tags.

        +1 tests included. The patch appears to include 6 new or modified tests.

        -1 patch. The patch command could not apply the patch.

        Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/2178//console

        This message is automatically generated.

        Show
        Hadoop QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12521267/HDFS-3102.patch against trunk revision . +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 6 new or modified tests. -1 patch. The patch command could not apply the patch. Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/2178//console This message is automatically generated.
        Hide
        Aaron T. Myers added a comment -

        Here's a patch rebased on trunk.

        Show
        Aaron T. Myers added a comment - Here's a patch rebased on trunk.
        Hide
        Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12521291/HDFS-3102.patch
        against trunk revision .

        +1 @author. The patch does not contain any @author tags.

        +1 tests included. The patch appears to include 6 new or modified tests.

        +1 javadoc. The javadoc tool did not generate any warning messages.

        +1 javac. The applied patch does not increase the total number of javac compiler warnings.

        +1 eclipse:eclipse. The patch built with eclipse:eclipse.

        +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.

        +1 release audit. The applied patch does not increase the total number of release audit warnings.

        -1 core tests. The patch failed these unit tests:
        org.apache.hadoop.hdfs.server.namenode.ha.TestPipelinesFailover

        +1 contrib tests. The patch passed contrib unit tests.

        Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/2181//testReport/
        Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/2181//console

        This message is automatically generated.

        Show
        Hadoop QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12521291/HDFS-3102.patch against trunk revision . +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 6 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 eclipse:eclipse. The patch built with eclipse:eclipse. +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. -1 core tests. The patch failed these unit tests: org.apache.hadoop.hdfs.server.namenode.ha.TestPipelinesFailover +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/2181//testReport/ Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/2181//console This message is automatically generated.
        Hide
        Aaron T. Myers added a comment -

        The test failure appears to be unrelated. The test passes locally for me, and failed on the Jenkins slave with a "java.io.IOException: Too many open files;" error.

        Show
        Aaron T. Myers added a comment - The test failure appears to be unrelated. The test passes locally for me, and failed on the Jenkins slave with a "java.io.IOException: Too many open files;" error.
        Hide
        Eli Collins added a comment -

        Two minor comments, otherwise looks excellent

        • Since initializeSharedEdits swallows most IOEs and returns a boolean I'd update the throws javadoc to indicate an IOE isn't throw for most error cases. Or perhaps swallow the IOE from unlockAll and return false tehre as well
        • Good to add a test that the force option works, specifically w/o specifying it we don't blow away your existing shared edits dirs. The code obviously looks correct but this would be a bad bug to introduce so worth checking
        Show
        Eli Collins added a comment - Two minor comments, otherwise looks excellent Since initializeSharedEdits swallows most IOEs and returns a boolean I'd update the throws javadoc to indicate an IOE isn't throw for most error cases. Or perhaps swallow the IOE from unlockAll and return false tehre as well Good to add a test that the force option works, specifically w/o specifying it we don't blow away your existing shared edits dirs. The code obviously looks correct but this would be a bad bug to introduce so worth checking
        Hide
        Aaron T. Myers added a comment -

        Here's an updated patch which incorporates Eli's feedback.

        Since initializeSharedEdits swallows most IOEs and returns a boolean I'd update the throws javadoc to indicate an IOE isn't throw for most error cases. Or perhaps swallow the IOE from unlockAll and return false tehre as well

        Good thinking. I made it catch/log/return in the case of an IOE from unlockAll, and removed the throws declaration.

        Good to add a test that the force option works, specifically w/o specifying it we don't blow away your existing shared edits dirs. The code obviously looks correct but this would be a bad bug to introduce so worth checking

        Note that the force option isn't actually exposed to the user - it's only used in testing.

        Regardless, you're right that it's useful to add a test that we won't overwrite directories without confirmation. I've add a little test to do so.

        Show
        Aaron T. Myers added a comment - Here's an updated patch which incorporates Eli's feedback. Since initializeSharedEdits swallows most IOEs and returns a boolean I'd update the throws javadoc to indicate an IOE isn't throw for most error cases. Or perhaps swallow the IOE from unlockAll and return false tehre as well Good thinking. I made it catch/log/return in the case of an IOE from unlockAll, and removed the throws declaration. Good to add a test that the force option works, specifically w/o specifying it we don't blow away your existing shared edits dirs. The code obviously looks correct but this would be a bad bug to introduce so worth checking Note that the force option isn't actually exposed to the user - it's only used in testing. Regardless, you're right that it's useful to add a test that we won't overwrite directories without confirmation. I've add a little test to do so.
        Hide
        Eli Collins added a comment -

        +1 looks good

        Show
        Eli Collins added a comment - +1 looks good
        Hide
        Hadoop QA added a comment -

        +1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12521349/HDFS-3102.patch
        against trunk revision .

        +1 @author. The patch does not contain any @author tags.

        +1 tests included. The patch appears to include 6 new or modified tests.

        +1 javadoc. The javadoc tool did not generate any warning messages.

        +1 javac. The applied patch does not increase the total number of javac compiler warnings.

        +1 eclipse:eclipse. The patch built with eclipse:eclipse.

        +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.

        +1 release audit. The applied patch does not increase the total number of release audit warnings.

        +1 core tests. The patch passed unit tests in .

        +1 contrib tests. The patch passed contrib unit tests.

        Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/2183//testReport/
        Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/2183//console

        This message is automatically generated.

        Show
        Hadoop QA added a comment - +1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12521349/HDFS-3102.patch against trunk revision . +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 6 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 eclipse:eclipse. The patch built with eclipse:eclipse. +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed unit tests in . +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/2183//testReport/ Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/2183//console This message is automatically generated.
        Hide
        Aaron T. Myers added a comment -

        Thanks a lot for the reviews, Eli. I've just committed this to trunk and branch-2.

        Show
        Aaron T. Myers added a comment - Thanks a lot for the reviews, Eli. I've just committed this to trunk and branch-2.
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk-Commit #2072 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2072/)
        HDFS-3102. Add CLI tool to initialize the shared-edits dir. Contributed by Aaron T. Myers. (Revision 1309580)

        Result = SUCCESS
        atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1309580
        Files :

        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/HdfsServerConstants.java
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestBootstrapStandby.java
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestInitializeSharedEdits.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #2072 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2072/ ) HDFS-3102 . Add CLI tool to initialize the shared-edits dir. Contributed by Aaron T. Myers. (Revision 1309580) Result = SUCCESS atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1309580 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/HdfsServerConstants.java /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestBootstrapStandby.java /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestInitializeSharedEdits.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-trunk-Commit #1997 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1997/)
        HDFS-3102. Add CLI tool to initialize the shared-edits dir. Contributed by Aaron T. Myers. (Revision 1309580)

        Result = SUCCESS
        atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1309580
        Files :

        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/HdfsServerConstants.java
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestBootstrapStandby.java
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestInitializeSharedEdits.java
        Show
        Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #1997 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1997/ ) HDFS-3102 . Add CLI tool to initialize the shared-edits dir. Contributed by Aaron T. Myers. (Revision 1309580) Result = SUCCESS atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1309580 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/HdfsServerConstants.java /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestBootstrapStandby.java /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestInitializeSharedEdits.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk-Commit #2009 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2009/)
        HDFS-3102. Add CLI tool to initialize the shared-edits dir. Contributed by Aaron T. Myers. (Revision 1309580)

        Result = SUCCESS
        atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1309580
        Files :

        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/HdfsServerConstants.java
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestBootstrapStandby.java
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestInitializeSharedEdits.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #2009 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2009/ ) HDFS-3102 . Add CLI tool to initialize the shared-edits dir. Contributed by Aaron T. Myers. (Revision 1309580) Result = SUCCESS atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1309580 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/HdfsServerConstants.java /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestBootstrapStandby.java /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestInitializeSharedEdits.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk #1006 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1006/)
        HDFS-3102. Add CLI tool to initialize the shared-edits dir. Contributed by Aaron T. Myers. (Revision 1309580)

        Result = FAILURE
        atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1309580
        Files :

        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/HdfsServerConstants.java
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestBootstrapStandby.java
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestInitializeSharedEdits.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #1006 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1006/ ) HDFS-3102 . Add CLI tool to initialize the shared-edits dir. Contributed by Aaron T. Myers. (Revision 1309580) Result = FAILURE atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1309580 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/HdfsServerConstants.java /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestBootstrapStandby.java /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestInitializeSharedEdits.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk #1041 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1041/)
        HDFS-3102. Add CLI tool to initialize the shared-edits dir. Contributed by Aaron T. Myers. (Revision 1309580)

        Result = SUCCESS
        atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1309580
        Files :

        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/HdfsServerConstants.java
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestBootstrapStandby.java
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestInitializeSharedEdits.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #1041 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1041/ ) HDFS-3102 . Add CLI tool to initialize the shared-edits dir. Contributed by Aaron T. Myers. (Revision 1309580) Result = SUCCESS atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1309580 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/HdfsServerConstants.java /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestBootstrapStandby.java /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestInitializeSharedEdits.java

          People

          • Assignee:
            Aaron T. Myers
            Reporter:
            Todd Lipcon
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development