Hadoop Common
  1. Hadoop Common
  2. HADOOP-5144

manual way of turning on restore of failed storage replicas for namenode

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      New DFSAdmin command -restoreFailedStorage true|false|check sets policy for restoring failed fsimage/editslog volumes.

      Description

      when HADOOP-4885 is implemented and committed we will automatic facility to restore failed storage replicas for namenode. Currently it is controlled by configuration file.
      But since it is quite a "sensitive" feature we might want to have a manual way of turning it on. (i.e. starting with the feature turned off, and turn it on when needed).

      we can use hadoop dfsadmin script to do this.

      1. Hadoop-5144-2.patch
        15 kB
        Boris Shkolnik
      2. Hadoop-5144-1.patch
        15 kB
        Boris Shkolnik
      3. Hadoop-5144.patch
        13 kB
        Boris Shkolnik

        Issue Links

          Activity

          Hide
          Boris Shkolnik added a comment -

          implemented suggestions from Jacob's review

          Show
          Boris Shkolnik added a comment - implemented suggestions from Jacob's review
          Hide
          Jakob Homan added a comment -

          Looks good. The forrest doc comments need to be updated for the new functionality.

          Show
          Jakob Homan added a comment - Looks good. The forrest doc comments need to be updated for the new functionality.
          Hide
          Boris Shkolnik added a comment -

          updated documentation

          Show
          Boris Shkolnik added a comment - updated documentation
          Hide
          Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12400622/Hadoop-5144-2.patch
          against trunk revision 746340.

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

          +1 tests included. The patch appears to include 3 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 findbugs. The patch does not introduce any new Findbugs warnings.

          +1 Eclipse classpath. The patch retains Eclipse classpath integrity.

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

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

          -1 contrib tests. The patch failed contrib unit tests.

          Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3896/testReport/
          Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3896/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
          Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3896/artifact/trunk/build/test/checkstyle-errors.html
          Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3896/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/12400622/Hadoop-5144-2.patch against trunk revision 746340. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 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 findbugs. The patch does not introduce any new Findbugs warnings. +1 Eclipse classpath. The patch retains Eclipse classpath integrity. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed core unit tests. -1 contrib tests. The patch failed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3896/testReport/ Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3896/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3896/artifact/trunk/build/test/checkstyle-errors.html Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3896/console This message is automatically generated.
          Hide
          Boris Shkolnik added a comment -

          The failed chukwa test is not related to this fix in any way.

          Show
          Boris Shkolnik added a comment - The failed chukwa test is not related to this fix in any way.
          Hide
          Jakob Homan added a comment -

          +1

          Show
          Jakob Homan added a comment - +1
          Hide
          Tsz Wo Nicholas Sze added a comment -

          I committed this. Thanks, Boris!

          Please add release note since this added a new DFSAdmin command.

          Show
          Tsz Wo Nicholas Sze added a comment - I committed this. Thanks, Boris! Please add release note since this added a new DFSAdmin command.
          Hide
          Hudson added a comment -
          Show
          Hudson added a comment - Integrated in Hadoop-trunk #778 (See http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/778/ )
          Hide
          Robert Chansler added a comment -

          Editorial pass over all release notes prior to publication of 0.21.

          Show
          Robert Chansler added a comment - Editorial pass over all release notes prior to publication of 0.21.
          Hide
          Hudson added a comment -

          SUCCESS: Integrated in Hadoop-trunk-Commit #4353 (See https://builds.apache.org/job/Hadoop-trunk-Commit/4353/)
          HADOOP-5144. Move change from 3.0 to 2.3.0 release section (suresh: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1518907)

          • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Show
          Hudson added a comment - SUCCESS: Integrated in Hadoop-trunk-Commit #4353 (See https://builds.apache.org/job/Hadoop-trunk-Commit/4353/ ) HADOOP-5144 . Move change from 3.0 to 2.3.0 release section (suresh: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1518907 ) /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Hide
          Hudson added a comment -

          SUCCESS: Integrated in Hadoop-Yarn-trunk #317 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/317/)
          HADOOP-5144. Move change from 3.0 to 2.3.0 release section (suresh: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1518907)

          • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Show
          Hudson added a comment - SUCCESS: Integrated in Hadoop-Yarn-trunk #317 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/317/ ) HADOOP-5144 . Move change from 3.0 to 2.3.0 release section (suresh: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1518907 ) /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Hide
          Hudson added a comment -

          FAILURE: Integrated in Hadoop-Hdfs-trunk #1507 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1507/)
          HADOOP-5144. Move change from 3.0 to 2.3.0 release section (suresh: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1518907)

          • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Show
          Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk #1507 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1507/ ) HADOOP-5144 . Move change from 3.0 to 2.3.0 release section (suresh: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1518907 ) /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Hide
          Hudson added a comment -

          FAILURE: Integrated in Hadoop-Mapreduce-trunk #1534 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1534/)
          HADOOP-5144. Move change from 3.0 to 2.3.0 release section (suresh: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1518907)

          • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Show
          Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk #1534 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1534/ ) HADOOP-5144 . Move change from 3.0 to 2.3.0 release section (suresh: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1518907 ) /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

            People

            • Assignee:
              Boris Shkolnik
              Reporter:
              Boris Shkolnik
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development