Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-3522

If NN is in safemode, it should throw SafeModeException when getBlockLocations has zero locations

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 1.1.0, 2.0.2-alpha
    • namenode
    • None
    • Incompatible change, Reviewed
    • getBlockLocations(), and hence open() for read, will now throw SafeModeException if the NameNode is still in safe mode and there are no replicas reported yet for one of the blocks in the file.

    Attachments

      1. HDFS-3522.patch
        8 kB
        Brandon Li
      2. HDFS-3522.branch-1.patch
        7 kB
        Brandon Li
      3. HDFS-3522.branch-1.0.patch
        7 kB
        Brandon Li

      Issue Links

        Activity

          People

            brandonli Brandon Li
            brandonli Brandon Li
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: