Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-528

Add ability for safemode to wait for a minimum number of live datanodes

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.22.0
    • Fix Version/s: 0.22.0, 1.1.1
    • Component/s: scripts
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      When starting up a fresh cluster programatically, users often want to wait until DFS is "writable" before continuing in a script. "dfsadmin -safemode wait" doesn't quite work for this on a completely fresh cluster, since when there are 0 blocks on the system, 100% of them are accounted for before any DNs have reported.

      This JIRA is to add a command which waits until a certain number of DNs have reported as alive to the NN.

      1. h528_20120731_b-1.patch
        9 kB
        Tsz Wo Nicholas Sze
      2. hdfs-528.txt
        17 kB
        Todd Lipcon
      3. hdfs-528.txt
        8 kB
        Todd Lipcon
      4. hdfs-528-v2.txt
        15 kB
        Todd Lipcon
      5. hdfs-528-v3.txt
        15 kB
        Todd Lipcon
      6. hdfs-528-v4.txt
        18 kB
        Eli Collins

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Todd Lipcon
            Reporter:
            Todd Lipcon
          • Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development