Hadoop Common
  1. Hadoop Common
  2. HADOOP-7040

DiskChecker:mkdirsWithExistsCheck swallows FileNotFoundException.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.20.1, 0.20.2, 0.21.0
    • Fix Version/s: 0.20.203.0
    • Component/s: None
    • Labels:
      None

      Description

      As a result, DataNode.checkDir will miss the exception (it catches DiskErrorException, not FileNotFoundException), and fail instead of ignoring the non-existent directory.

      1. 4132253-3.patch
        0.6 kB
        Boris Shkolnik

        Issue Links

          Activity

          Boris Shkolnik created issue -
          Hide
          Eli Collins added a comment -

          Assume this is a bug on 20, 21 and trunk?

          Show
          Eli Collins added a comment - Assume this is a bug on 20, 21 and trunk?
          Eli Collins made changes -
          Field Original Value New Value
          Fix Version/s 0.23.0 [ 12315569 ]
          Affects Version/s 0.21.0 [ 12313563 ]
          Affects Version/s 0.20.2 [ 12314203 ]
          Affects Version/s 0.20.1 [ 12313866 ]
          Hide
          Boris Shkolnik added a comment -

          yes.

          Show
          Boris Shkolnik added a comment - yes.
          Hide
          Boris Shkolnik added a comment -

          This patch is for version .20

          Show
          Boris Shkolnik added a comment - This patch is for version .20
          Boris Shkolnik made changes -
          Attachment 4132253-3.patch [ 12469316 ]
          Hide
          Boris Shkolnik added a comment -

          the issue already fixed in the trunk,

          Show
          Boris Shkolnik added a comment - the issue already fixed in the trunk,
          Boris Shkolnik made changes -
          Fix Version/s 0.20.2 [ 12314203 ]
          Fix Version/s 0.23.0 [ 12315569 ]
          Bharath Mundlapudi made changes -
          Link This issue is related to HADOOP-7125 [ HADOOP-7125 ]
          Hide
          Eli Collins added a comment -

          This was already fixed in 0.20.203.

          Show
          Eli Collins added a comment - This was already fixed in 0.20.203.
          Eli Collins made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 0.20.203.1 [ 12316290 ]
          Fix Version/s 0.20.2 [ 12314203 ]
          Resolution Fixed [ 1 ]
          Owen O'Malley made changes -
          Fix Version/s 0.20.203.0 [ 12316064 ]
          Fix Version/s 0.20.203.1 [ 12316290 ]
          Hide
          Owen O'Malley added a comment -

          Closing for 0.20.203.0

          Show
          Owen O'Malley added a comment - Closing for 0.20.203.0
          Owen O'Malley made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          224d 8h 23m 1 Eli Collins 30/Jun/11 10:30
          Resolved Resolved Closed Closed
          56d 10h 49m 1 Owen O'Malley 25/Aug/11 21:20

            People

            • Assignee:
              Boris Shkolnik
              Reporter:
              Boris Shkolnik
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development