Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-3522

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 1.1.0, 2.0.2-alpha
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      Incompatible change, Reviewed
    • Release Note:
      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.
    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

          • Assignee:
            Brandon Li
            Reporter:
            Brandon Li
          • Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development