Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-4826

Admin command saveNamespace.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.20.0
    • None
    • None
    • Incompatible change, Reviewed
    • Introduced new dfsadmin command saveNamespace to command the name service to do an immediate save of the file system image.

    Description

      It would be useful to have an admin command that saves current namespace.
      This command can be used before regular (planned) cluster shutdown.
      The command will save the namespace into storage directory(s) and reset the name-node journal (edits file).
      It will also reduce name-node startup time, because edits do not need to be digest.

      Attachments

        1. saveNamespace.patch
          14 kB
          Konstantin Shvachko
        2. saveNamespace.patch
          14 kB
          Konstantin Shvachko
        3. saveNamespace.patch
          15 kB
          Konstantin Shvachko

        Issue Links

          Activity

            People

              shv Konstantin Shvachko
              shv Konstantin Shvachko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: