Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-2285

BackupNode should reject requests trying to modify namespace

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.22.0, 0.23.0, 2.0.0-alpha
    • Fix Version/s: 0.23.3, 2.0.2-alpha
    • Component/s: namenode
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      I am trying to remove file from BackupNode using

      hadoop fs -fs hdfs://backup.node.com:50100 -rm /README.txt

      which is supposed to fail. But it seems to be hanging forever.
      Needs some investigation. It used to throw SafeModeException if I remember correctly.

      1. HDFS-2285.patch
        8 kB
        Uma Maheswara Rao G
      2. HDFS-2285.patch
        8 kB
        Konstantin Shvachko
      3. BNsafemode.patch
        6 kB
        Konstantin Shvachko

        Activity

        Allen Wittenauer made changes -
        Affects Version/s 2.0.0-alpha [ 12320353 ]
        Affects Version/s 0.24.0 [ 12317653 ]
        Arun C Murthy made changes -
        Fix Version/s 2.0.2-alpha [ 12322472 ]
        Fix Version/s 0.22.0 [ 12314241 ]
        Fix Version/s 0.24.0 [ 12317653 ]
        Suresh Srinivas made changes -
        Fix Version/s 0.23.3 [ 12320052 ]
        Affects Version/s 0.23.0 [ 12315571 ]
        Target Version/s 0.23.3 [ 12320052 ]
        Konstantin Shvachko made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Konstantin Shvachko made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Fix Version/s 0.24.0 [ 12317653 ]
        Resolution Fixed [ 1 ]
        Konstantin Shvachko made changes -
        Attachment HDFS-2285.patch [ 12501470 ]
        Uma Maheswara Rao G made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Affects Version/s 0.24.0 [ 12317653 ]
        Uma Maheswara Rao G made changes -
        Attachment HDFS-2285.patch [ 12501108 ]
        Konstantin Boudnik made changes -
        Assignee Konstantin Shvachko [ shv ]
        Konstantin Shvachko made changes -
        Attachment BNsafemode.patch [ 12493880 ]
        Konstantin Shvachko made changes -
        Summary BackupNode should reject requests trying to modify namepsace BackupNode should reject requests trying to modify namespace
        Konstantin Shvachko made changes -
        Summary BackupNode should reject reject requests trying to modify namepsace BackupNode should reject requests trying to modify namepsace
        Konstantin Shvachko made changes -
        Field Original Value New Value
        Description I am trying to remove file from BackupNode using
        {code}hadoop fs -fs hdfs://localhost:50100 -rm /README.txt{code}
        which is supposed to fail. But it seems to be hanging forever.
        Needs some investigation. It used to throw SafeModeException if I remember correctly.
        I am trying to remove file from BackupNode using
        {code}hadoop fs -fs hdfs://backup.node.com:50100 -rm /README.txt{code}
        which is supposed to fail. But it seems to be hanging forever.
        Needs some investigation. It used to throw SafeModeException if I remember correctly.
        Konstantin Shvachko created issue -

          People

          • Assignee:
            Konstantin Shvachko
            Reporter:
            Konstantin Shvachko
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development