Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1-win
    • Fix Version/s: 1-win
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      One step of the test is to change the edit directory permission to "000" and then do rolledit. On linux rolledit operation will fail and the edit directory will be considered as failed by NN.

      However, changing the directory permission to 000 on Windows doesn't affect some accessibility of its sub-directories and files. Therefore, the edit files in the edit directory is still accessible and thus is not considered as "failed" by NN, which eventually causes test failure.

        Issue Links

          Activity

          Brandon Li created issue -
          Brandon Li made changes -
          Field Original Value New Value
          Attachment HADOOP-62.branch-1-win.patch [ 12539116 ]
          Hide
          Brandon Li added a comment -

          Uploaded a patch for this issue. Basically, the patch provides a new method in NN. This new method is used for error injection tests only, which closes the edits stream(thus the file is released by NN) and replace it with a mocked stream. The mocked stream can inject edits log access errors.

          Show
          Brandon Li added a comment - Uploaded a patch for this issue. Basically, the patch provides a new method in NN. This new method is used for error injection tests only, which closes the edits stream(thus the file is released by NN) and replace it with a mocked stream. The mocked stream can inject edits log access errors.
          Brandon Li made changes -
          Link This issue relates to HADOOP-8645 [ HADOOP-8645 ]
          Brandon Li made changes -
          Link This issue is related to HADOOP-8645 [ HADOOP-8645 ]
          Brandon Li made changes -
          Link This issue is related to HADOOP-8645 [ HADOOP-8645 ]
          Brandon Li made changes -
          Link This issue is related to HDFS-3766 [ HDFS-3766 ]
          Bikas Saha made changes -
          Link This issue is part of HADOOP-8645 [ HADOOP-8645 ]
          Bikas Saha made changes -
          Link This issue relates to HADOOP-8645 [ HADOOP-8645 ]
          Hide
          Suresh Srinivas added a comment -

          +1 for the patch.

          Show
          Suresh Srinivas added a comment - +1 for the patch.
          Hide
          Suresh Srinivas added a comment -

          I committed the patch. Thank you Brandon.

          Show
          Suresh Srinivas added a comment - I committed the patch. Thank you Brandon.
          Suresh Srinivas made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ]
          Resolution Fixed [ 1 ]
          Suresh Srinivas made changes -
          Fix Version/s 1-win [ 12320362 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          10d 6h 14m 1 Suresh Srinivas 14/Aug/12 05:59

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development