Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-3047

FileOutputCommitter throws wrong type of exception when calling abortTask() to handle a directory without permission

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      When FileOutputCommitter calls abortTask() to create a temp directory, if the user has no permission to access the directory, or a file with the same name has existed, of course it will fail, however the system will output the error information into the log file instead of throwing an exception.As a result, when the temp directory is needed later, since the temp directory hasn't been created yet, system will throw an exception to tell user that the temp directory doesn't exist.In my opinion, the exception is not exact and the error infomation will confuse users.

        Attachments

        1. MAPREDUCE-3047.patch
          2 kB
          JiangKai
        2. MAPREDUCE-3047-1.patch
          0.9 kB
          madhukara phatak
        3. MAPREDUCE-3047-2.patch
          0.9 kB
          madhukara phatak
        4. MAPREDUCE-3047-003.patch
          1 kB
          Brahma Reddy Battula
        5. MAPREDUCE-3047-004.patch
          1 kB
          Brahma Reddy Battula

          Activity

            People

            • Assignee:
              brahmareddy Brahma Reddy Battula
              Reporter:
              angrylonely JiangKai
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated: