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

          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?
          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
          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,
          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.
          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

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development