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

Tests for NameNode -checkpoint option with different configurations

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.20.0
    • 0.20.0
    • None
    • None
    • Reviewed

    Description

      here are the tests:

      id : secnn-4
      Desc : Start SecondaryNameNode first before starting NameNode
      Expected
      results : Secondary namenode should fail to start

      ---------------------------------
      id : secnn-6
      Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
      Use default configuration for fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to same directory.
      Start NameNode using -importCheckpoint.
      Expected
      results : Name-node should import image and edits into different directories.

      ---------------------------------
      id : secnn-7
      Desc : Start NameNode.
      Configure SecondaryNameNode with fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different directories.
      Start SecondaryNameNode.
      Expected
      results : Secondary name-node should download edits and create the image in different directories.
      ----------------------------

      id : secnn-8
      Desc : Configure NameNode with dfs.name.dir and dfs.name.edits.dir pointing to different directories. Make sure the directories are empty.
      Configure fs.checkpoint.dir and fs.checkpoint.edits.dir pointing to different (same as in secnn-7) directories.
      Start NameNode using -importCheckpoint.
      Expected
      Results : Name-node should import image and edits into different directories.

      Attachments

        1. HADOOP-4728-4.patch
          13 kB
          Boris Shkolnik
        2. HADOOP-4728-3.patch
          14 kB
          Boris Shkolnik
        3. HADOOP-4728-2.patch
          14 kB
          Boris Shkolnik
        4. HADOOP-4728-1.patch
          11 kB
          Boris Shkolnik
        5. HADOOP-4728.patch
          12 kB
          Boris Shkolnik

        Activity

          People

            boryas Boris Shkolnik
            boryas Boris Shkolnik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: