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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • 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-004.patch
          1 kB
          Brahma Reddy Battula
        2. MAPREDUCE-3047-003.patch
          1 kB
          Brahma Reddy Battula
        3. MAPREDUCE-3047-2.patch
          0.9 kB
          madhukara phatak
        4. MAPREDUCE-3047-1.patch
          0.9 kB
          madhukara phatak
        5. MAPREDUCE-3047.patch
          2 kB
          JiangKai

        Activity

          People

            brahmareddy Brahma Reddy Battula
            angrylonely JiangKai
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: